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

during debug ble_app_template_pca10056_s140 project, program jump into app_error_weak.c

Dear Nordic,

I debug the SDK15 example project ble_app_template_pac10056_s140 project, nothing change, but it will jump into app_error_weak.c as below picture, please help otherwise I cannot jump to next.

Thanks & kind regards

kwan

Parents
  • I tested debugging the same project and the exact same happened to me. When tracing the error I found that fds_init() inside peer_data_storage.c caused it, it failed and produced the error NRF_EROR_STORAGE_FULL.

    Thus, I think the error is that it is not enough memory available in flash. Simply erasing the whole chip followed by downloading the project again solved the problem for me, and debugging was possible.

    Another solution is to take care of this in software, and can be acquired by running garbage collection, which is illustrated here.

    Cheers, Simon

Reply
  • I tested debugging the same project and the exact same happened to me. When tracing the error I found that fds_init() inside peer_data_storage.c caused it, it failed and produced the error NRF_EROR_STORAGE_FULL.

    Thus, I think the error is that it is not enough memory available in flash. Simply erasing the whole chip followed by downloading the project again solved the problem for me, and debugging was possible.

    Another solution is to take care of this in software, and can be acquired by running garbage collection, which is illustrated here.

    Cheers, Simon

Children
No Data
Related