lpcware

LPC-Link GDB command for Reset?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by bbolo1 on Tue Apr 02 00:16:48 MST 2013
I am trying to debug some firmware that was made for LPC1114.
The LPC1114 is part of a bigger system in a power supply. On a particular board I have some issues and I need to capture the moment when some voltages are over a predefined threshold.

I am using LPC-Link to debug this board however I am facing now a silly situation.
What GDB command do I have to issue to reset the LPC1114?
I have seen mentions on the web about "mon reset 8 -1 -1" but the GDB server ("crt_emu_lpc11_13_nxp.exe") seems not to support this command at all. :(
In contrast, whenever I am updating the firmware image, after the flashing process, the LPC1114 is reset.
The simple solution is to re-flash the firmware image all the time, but this doesn't seem like a nice solution.

So, the question is:
Can anyone tell how to reset the MCU (issuing a GDB command) without having to re-flash?

Thanks
Mark

Outcomes