This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Fatal error on sleep 0x4001

I am running the SDK12.2.0 ble_app_template peripheral example with RTT Logging enabled. The example seems to be running OK, but it logs: APP_ERROR:ERROR:Fatal with the ID of 0x4001 whenever advertising times out and the sleep_mode_enter() function is called. What's going on here?

Parents
  • I tried your suggestion, there is no change, still throwing the fatal error. I looked at the answer link you gave and I have the same question as the person who asked the linked question. How do I tell if I am in Debug mode? There is no DEBUG defined in the project and I am not running under the debugger! Also, I didn't answer your initial question. The application is running prefectly until sv_system_power_off(). It's the template application, and all I did was compile and load it into the PCA10040 board with no mods. I turned off UART logging and turned on RTT logging.

Reply
  • I tried your suggestion, there is no change, still throwing the fatal error. I looked at the answer link you gave and I have the same question as the person who asked the linked question. How do I tell if I am in Debug mode? There is no DEBUG defined in the project and I am not running under the debugger! Also, I didn't answer your initial question. The application is running prefectly until sv_system_power_off(). It's the template application, and all I did was compile and load it into the PCA10040 board with no mods. I turned off UART logging and turned on RTT logging.

Children
No Data
Related