AnsweredAssumed Answered

MCUXpresso debugger fails to start

Question asked by Matt Young on May 9, 2018
Latest reply on May 11, 2018 by Matt Young

Hello,

I am having problems getting the MCUXpresso debugger successfully connected to my microcontroller design and am hoping someone can help. I have been using the demo board OM13094 which has worked, but now when we received our prototype circuit boards of our own design, the debugger locks up before the program starts and I am in a time crunch to get something working.

 

I start debugging using MCUXpresso. It appears to load the program to the micro successfully, as the launching progress increases to 99% as normal. However at this point I expect the program to be stopped at the first line in main() with the green resume icon now available to be pressed to start program execution. However, instead I get the following: The resume icon is grayed out and the pause/suspend and Terminate icons are available to hit, just as if the program started on its own and was running normally. However, the program does not appear to be running. Pressing the suspend icon will not do anything, and hitting suspend brings up an error message saying “Failed to execute MI command …… The program is not being run”. At this point the only way I can get back is by using task manager to force an end to the “pegdbserver_console.exe *32” process. When I repeat the debugging attempt, I debugger will not connect at all until I power cycle my board. After that I am able to load the program to my micro again but again that is as far as I can get.

 

The problem appears to be in my hardware somehow, but I’m looking for some help in direction in where to look. I attached the metadata log file in case that is relevant. It appears to report the error as follows:

!ENTRY org.eclipse.cdt.dsf 4 10005 2018-05-09 09:17:38.717

!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.concurrent.RequestMonitor@ce702): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Interrupt failed. null' resulted in an error.

!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2018-05-09 09:17:38.717

!MESSAGE Interrupt failed.

 

For connections to the debugger, our board uses the recommended connections shown in the LPC546xx data sheet, section 13.3 [Connecting power, clocks, and debug functions].

 

Demo board (which works):

MCUXpresso IDE v10.1.1 [Build 606] [2018-01-02]
SDK_2.x_LPCXpresso54618, SDK Version 2.3.0, Manifest Version 3.2.0
Board: OM13094 CAN-FD kit, lpcxpresso 54618, silkscreen on board is: LPCXpresso546xx Rev C
Micro: LPC54618J512ET180

My current board (with the problem) uses the same as above except the micro is: LPC54606J256ET180.

I updated the MCU settings to make sure the Flash and RAM are within the limits of this micro (256K flash, 160K RAM).

 

Thank you for any help.

Attachments

Outcomes