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

what does error code 0x20 means

each time I start my program (nrf51 device) I get an error code I save in flash to check it at next restart. I can read error code 0x20 is this a correct error code and what it means?

  • What function gives you that error?

  • void app_error_handler(uint32_t error_code, uint32_t line_num, const uint8_t * p_file_name) the error I save in flash for next reset is error_code called from APP_ERROR_CHECK(err_code);

  • We need to know which function returns the error code. Please save the variables "line_num" and "p_file_name" as well.

  • you're right, after sending the line code I got the fucntion generating the error m_evt_schedule_func and error code is 04

  • 04 is typically NRF_ERROR_NO_MEM , but we cannot say what does it mean as we don't know what function is pointed by m_evt_schedule_func (which is a pointer to func, not a defined function itself) in your implementation.