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

SES debugger crashes without reason

Hi, 

I have an app that uses freeRTOS

My app runs OK , however when I am debugging it in segger studio with my SWD connector, it crashes with no reason

If I check the dissassembly window, the line in which it crashes is 

4B01        ldr r3, [pc, #4]

Could you help me troubleshoot this?

Regards,

Parents
  • I have a similar issue, related code as follow:
    The scan had been stopped, but if I call ble_scan_stop() again after some while, it crashes atfer printing "Scan stop!" with no reason, and the call stack window show nothing, the dissassembly window show it crashed at :
    4B01 ldr r3, [pc, #4]

    source code:

    void ble_scan_stop(void)
    {
        nrf_ble_scan_stop();
        event_send(CENTRAL_SCAN_STOP, NULL);
        
        NRF_LOG_INFO("Scan stop!");
    }

Reply
  • I have a similar issue, related code as follow:
    The scan had been stopped, but if I call ble_scan_stop() again after some while, it crashes atfer printing "Scan stop!" with no reason, and the call stack window show nothing, the dissassembly window show it crashed at :
    4B01 ldr r3, [pc, #4]

    source code:

    void ble_scan_stop(void)
    {
        nrf_ble_scan_stop();
        event_send(CENTRAL_SCAN_STOP, NULL);
        
        NRF_LOG_INFO("Scan stop!");
    }

Children
Related