MCUXpresso terminates the debug session after a period of time (1 to maybe 20 minutes)

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

MCUXpresso terminates the debug session after a period of time (1 to maybe 20 minutes)

1,568 Views
GregT
Contributor III

Until the termination all seems to be working. I can pause and run and also read memory. After the terminate I can Relaunch and continue debugging. Not sure how to debug this issue. Any ideas? Is there a log for the USB device that would give some clues?

FYI, the Debug window has this.
<terminated>New_configuration [GDB PEMicro Interface Debugging]
<terminated, exit value: 0>pegdbserver_console
<terminated, exit value: 0>arm-none-eabi-gdb
<terminated, exit value: 0>Semihosting Console 

The file window has this.
Break at address "0x7f92" with no debug information available, or outside of program code.

More info from the Debugger Console window.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007f92 in ?? ()
Remote connection closed
Exception ignored in: <gdb._GdbOutputFile object at 0x7f8d50102880>
Traceback (most recent call last):
File "/usr/local/mcuxpressoide-11.8.1_1197/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.8.1.202308071233/tools/share/gdb/python/gdb/__init__.py", line 47, in flush
def flush(self):
KeyboardInterrupt:

0 Kudos
Reply
3 Replies

1,536 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @GregT 

To resolve your issue, please let us know

- your chip part number

- To identify if the problem is caused by specific project, can you please test if you can reproduce your issue with NXP SDK demo code?

Thanks,

Jun Zhang

 

0 Kudos
Reply

1,530 Views
GregT
Contributor III
Chip used is LPC18S37.
Where can I get NXP SDK demo code for that chip?

Thank you,
Greg
0 Kudos
Reply

1,498 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @GregT 

For LPC18s37, there is demo under LPCopen, download from:

https://www.nxp.com/design/software/software-library/lpcopen-software-development-platform-lpc18xx:L...   

 

BR

Alice

 

0 Kudos
Reply