This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to debug with NRF52832

Module NRF52832

Sdk: 15.2

I am trying to debug the module on a custom board, debugging worked fine until something weird happened on the specific board...

After the programming is done, the sp and the pc look wrong.

I have tried to use the command to recover, but it does not work:

./nrfjprog.exe --recover
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.

When I tried to debug the same code with another device, the debug session works as expected:

I think the device with the issue is in a state where I don't understand.

How can I recover the device?

What are the steps that I can perform to get more information out of the device with issue?

Many thanks,

Edward

  • Hello,

    Please verify that the Softdevice is present by reading the memory at address 0x0. It should normally be programmed along with the application FW when you start a debug session in Segger Embedded Studio if you are working with our SDK BLE examples, but maybe your project is not set up to do that?

    Memory at 0x0 when the Softdevice has been programmed:

    And when it's not:

    Configuration to make the Segger project load the Softdevice automatically:

    Best regards,

    Vidar

Related