You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geoff Gustafson edited this page Oct 6, 2016
·
4 revisions
ZJS Troubleshooting
As we start to get some content here, we can break subsections out into their own pages and have a table of contents here, but for the moment, this will suffice.
Scary Messages on the Serial Console
CPU exceptions
CPU exception 6
Problem
Here's a message I encountered while trying to run the AIO.js sample:
***** CPU exception 6
Current thread ID = 0xa800ea60
Faulting segment:address = 0x00000008:0x40055e65
eax: 0xa4010156, ebx: 0xa800f2fd, ecx: 0x000000c1, edx: 0x0005a103
esi: 0xa800f134, edi: 0x00000000, ebp: 000000000, esp: 0xa800f0c8
eflags: 0x00010206
Fatal task error! Aborting task.
Solution
The problem turned out to be that I was using a new Arduino 101, where I had never flashed code onto the ARC partition. So I was able to resolve it with:
$ make arc dfu-arc
Note: when you use this command, you need to be ready to press the Arduino 101's Master Reset button at about this point in the output:
LD src/built-in.o
AR libzephyr.a
LINK zephyr.lnk
SIDT staticIdt.o
LINK zephyr.elf
BIN zephyr.bin
Otherwise, you will have to try make dfu-arc again just after you have reset the device.