AnsweredAssumed Answered

TWR-K60F120 - GDB PEMicro program receives SIGTRAP, 0xfffffffe ?

Question asked by Robert Nguyen on Dec 7, 2015
Latest reply on Sep 27, 2016 by Evgeny Erlihman

KDS 3.0, MQX 4.2, GDB PE Micro Interface Debugging

 

Could not run gdb, does kds 3.0 support K60? Below are the error messages:

 

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

Warning: the current language does not match this frame.

continue

Continuing.

Note: automatically using hardware breakpoints for read-only addresses.

 

 

Program received signal SIGTRAP, Trace/breakpoint trap.

0xfffffffe in ?? ()

 

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

 

Connection from "127.0.0.1" via 127.0.0.1

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.2.5.201511061812\win32\pegdbserver_console -device=Freescale_K6x_K60FN1M0M12 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 

 

CMD>RE

 

Initializing.

Target has been RESET and is active.

CMD>CM C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.2.5.201511061812\win32\gdi\P&E\supportFiles_ARM\Freescale\K6x\freescale_k60fn1m0m12_1x32x256k_pflash.arp

 

Initializing.

Initialized.

 

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

 

;device freescale, k60fn1m0m12, 1x32x256k, desc=pflash

 

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

 

Loading programming algorithm ...

Done.

CMD>EM

 

Erasing.

Module has been erased.

 

Initializing.

Initialized.

 

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

 

;device freescale, k60fn1m0m12, 1x32x256k, desc=pflash

 

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

 

Loading 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.

 

   block 00000420-00002117 ...

Ok.

 

 

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

 

CMD>RE

 

Initializing.

Target has been RESET and is active.

Outcomes