Debugging M0 via openocd/gdb?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Debugging M0 via openocd/gdb?

556 次查看
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?
标签 (1)
0 项奖励
回复
0 回复数