MK22FX512VLH12 GDB Program received signal SIGTRAP, Trace/breakpoint trap. 0xfffffffe in ?? ()

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

MK22FX512VLH12 GDB Program received signal SIGTRAP, Trace/breakpoint trap. 0xfffffffe in ?? ()

1,993 Views
nakulyadur
Contributor III

KDS 3.2.0, P&E Multilink Universal

 

I am trying to debug a Processor expert code and below is the error message I am getting.

 

GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

monitor preserve0 0

monitor selectcore 0

continue

 

 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

 

Connection from "127.0.0.1" via 127.0.0.1

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\pegdbserver_console -device=NXP_K2x_K22FX512M12 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -configfi

 

 

CMD>RE

 

 

Initializing.

Target has been RESET and is active.

CMD>CM C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\gdi\P&E\supportFiles_ARM\NXP\K2x\freescale_k22fx512m12_pflash_dflash_eeprom.arp

 

 

Initializing.

Initialized.

 

 

;version 1.04, 06/02/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [mk22_512k_x_pflash_dflash_eeprom_m10]

 

 

;device freescale, k22fx512m12, pflash_dflash_eeprom

 

 

;begin_cs device=$00000000, length=$14004000, ram=$20000000

 

 

Loading programming algorithm ...

Done.

CMD>EM

 

 

Erasing.

Module has been erased.

Reloading programming algorithm ...

done.

CMD>PM

 

 

Programming.

Processing Object File Data ...

                               

.

Programmed.

CMD>VC

Verifying object file CRC-16 to device ranges ...

   block 00000400-0000040F ...

Ok.

 

   Checksum Verification Successful. (Cumulative CRC-16=$BD1D)

 

 

 

CMD>RE

 

 

Initializing.

Target has been RESET and is active.

 

 

WARNING - NO RESET SCRIPT FILE HAS BEEN CONFIGURED TO RUN!!!

 

TO MODIFY THE RESET SCRIPT SETTINGS, USE THE FOLLOWING MENU OPTION:

 

CONFIGURATION -> AUTOMATED SCRIPT OPTIONS

 

 

 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

Thanks in advance for the help.

 

regards,

Nakul

Labels (1)
4 Replies

1,327 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nakul,

This message about RESET SCRIPT is not intentional and has no impact, it does not affect operation.

About the detail you can refer to this thread :

How to resolve "NO RESET SCRIPT FILE HAS BEEN CONFIGURED"?

Hope it hleps!


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,327 Views
nakulyadur
Contributor III

Hi Alice,

Thanks for the quick reply.

My question is not regarding RESET SCRIPT, I am able to build and run the program. But when I debug, the program is receiving SIGTRAP and I am not able to debug the program. For your reference I am attaching the screenshot.

pastedImage_1.png

How can I get it to debug the program? Thanks.

regards,

Nakul

1,327 Views
evgenyerlihman
Contributor IV

Hey Nakul Yadur,

Have you had any progress with this? I am having a very similiar problem...

Thanks,

Evgeny

0 Kudos

1,327 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nakul,

Please test on simple project , check whether it can work well .

BR

Alice

0 Kudos