AnsweredAssumed Answered

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

Question asked by Nakul Yadur on Apr 18, 2016
Latest reply on Sep 27, 2016 by Evgeny Erlihman

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

Outcomes