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

Implementing buttonless_dfu to hrs_freertos

Hi,

I am developing the 'buttonless dfu' to the 'hrs freertos' using the SDK v15.3.0.

However, after I compiled the modified code and loaded to the target broad, I got the below error.

    <info> app: nrf_sdh_ble_enable() err:0 ram_start:0x20002258
    <error> app: Fatal error

Is there any example for this application?

Thanks

Parents
  • Hi Terry, 

    Try to add "DEBUG" to your preprocessor definitions, and see what the log says then. 

    1. Let me know if you are not sure how to define DEBUG in your preprocessor definitions. If you use the segger, you can compile with Debug mode. 

    2. The log will probably point to somewhere in your code where it says APP_ERROR_CHECK(err_code); What function call returned that err_code? 

    3. Your next mission is to find out why it returned that err_code. 

    -Amanda H.

Reply
  • Hi Terry, 

    Try to add "DEBUG" to your preprocessor definitions, and see what the log says then. 

    1. Let me know if you are not sure how to define DEBUG in your preprocessor definitions. If you use the segger, you can compile with Debug mode. 

    2. The log will probably point to somewhere in your code where it says APP_ERROR_CHECK(err_code); What function call returned that err_code? 

    3. Your next mission is to find out why it returned that err_code. 

    -Amanda H.

Children
No Data
Related