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

nrf5340 debug network core?

Hello,

I am working on a little app running on nrf5340 app core. Now I want also to program the network core, to be able to exchange data via shared memory as little demo.

How can I attach the debugger to the network core?

To attach to the app core, I use OpenOCD 0.10.0 , join debugger of course and slighly modified nrf9160.cfg config file.

About this network core, the ID is still 0x6ba02477 ?

My first attempt was to do multi-core debugging but for the moment I only connect to the app core even with multi session ( I can see that because I compare the $PC and for the network core it should be on the 0x01000000 range and it is not...)

nrfjprog tool si able to connect to the network core via --coprocessor parameter but it is too limited for proper debugging session.

hope you can help me

Cheers

sk

Parents Reply
  • Hi sk,

     

    We use segger jlink debuggers (in combination with Segger embedded studio nordic edition, Segger Ozone, or gdb directly). I had a chat with R&D, and it should be possible to debug both at the same time (I'm unfortunately not able to test this right now, as my nRF5340 kit is not within reach).

    To debug both cores at the same time, you should be able to do so by opening two debug sessions (one for each core).

     

    Kind regards,

    Håkon

Children
No Data
Related