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

nrf52833dk Unable to use debug function in SES

Hi All,
I have an nrf52833DK and now I want to debug the program.
I am using NCS V1.4.99 and using SES for development. I created a 52833 project, but I used the nrf program and zephyr program respectively, neither of them can start the debug function  properly. Meanwhile the program jumped out as soon as it started, and can't access the breakpoint, as shown in the screenshot.
However,  if I use the nRF5_SDK and select the branch project of pca10100, it is possible to enter debug mode debugging normally.
I have try this debug method on nrf52840dk, which running with SES NCSV1.4.99 compiled code, everything is normal. Now replaced with nrf52833 will not work.
So how should I get the nrf52833 program to enter the debug normally by SES?

Thanks in advance.

Best,

tao

  • I'll try to get ahold of an nrf52833 soon and test this myself

    Let's try to narrow down the problem

    • Does the issue still happen if you set CONFIG_DEBUG_OPTIMIZATIONS=y 
    • Does the issue still happen if you use NCS v1.4.0?
    • Does the issue still happen if you use another sample? E.g. the blinky sample? Check out 3.2 Debugging

    In the meanwhile, you could use Ozone, check out the Segger Ozone Guide in the NCS documentation. Add the file ncs\modules\hal\nordic\nrfx\mdk\nrf52833.svd to Ozone to get access to the peripherals registers.

    Best regards,

    Simon

Related