Debugging M0 via openocd/gdb?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging M0 via openocd/gdb?

225 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by omegahacker on Sun Jun 15 18:17:30 MST 2014
I'm getting closer and closer to having FreeRTOS running properly on the M0, but I keep finding that it's going to be a lot faster if I can actually single-step what's going on.

I have openocd 0.6.0 going with it's stock config files (include <adapter>, include <lpc4350>) and that works fine for the M4, but I have no idea how to actually attach GDB to the M0 without halting the M4 or anything else.  It'd be ideal if I could connect to it after my loader has set up the codebase, then reset the M0 via RGU registers and catch it during "boot".

Any hints?
Labels (1)
0 Kudos
0 Replies