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

nRF5340 network cpu debugging

Dear service team,

 I'm running into issues trying to debug the nRF5340 network core:

Software

nRF Connect SDK v2.0.0, freshly installed
Visual Studio Code 1.67.2
nRF-Command-Line-Tools-10.15.4-x64.exe 

No changes to the installation or code after installation.

 

 Hardware

nRF5340-DK, 2.0.0, 2021.42

 

 It is possible to:

  • Build and flash everything as desired
  • Debug code on the application core, e.g. blinky

 

It is not possible to:

  • Debug code, e.g. blinky on the network core.

    The application core is before loaded separately with 'empty' built for the application core.
     
    The blinky build for the network core will work nicely when flashed, but debugging instantly ends up in Disassembly 0x01004614, which corresponds to 'fault.c' lines 756 and following.
    'Enable Debug Options' is enabled.

    When trying other samples for the network core, like PRX, disassembly will also pop up, yet for different files.

 

As I need to develop a custom protocol, getting PRX up and going with debugging would be very helpful.

 

Trying the SES before, debugging would also work for the network core, but loading the firmware was not working except after a full recovery. I'd love to have a solution for Visual Studio.

 

Thank you!

Uli

Parents Reply Children
Related