Hi John,
I assume you are using the FRDM-K64F board with the P&E OpenSDA firmware loaded, correct?
are you saying you get that sometimes (or often), but not always? I have not seen something like this. Below is what I get as reference.
Now here is what you might check:
I had once a problem that the gdb server somehow was a zombie (not terminated correctly).
To make sure that there is no zombie process hanging around, go to the task manager and check in the task manager for the two following processes:
- arm-none-eabi-gdb.exe
- pegdbserver_console.exe
Both are running if you are debugging. But they shall not be present if you termiated a debugging session (or if you are not debugging).
Can you check this?
Thanks,
Erich
P&E GDB Server, Version 5.07.00.00
Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved
Loading library C:\Freescale\KDS_1.1.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.0.9.201407221237\win32\gdi\unit_ngs_arm_internal.dll ... Done.
Command line arguments: -device=K64FN1M0M12 -startserver -serverport=7224 -interface=OPENSDA -port=USB1 -speed=5000 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MASS_ERASE=0
Device selected is k64fn1m0m12
User Specified Hardware Selection : Interface=OPENSDA and Port=USB1
Connecting to target.
OpenSDA detected - Flash Version 1.08
Device is K64FN1M0M12.
Mode is In-Circuit Debug.
'Kinetis' is a registered trademark of Freescale.
(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
API version is 101
Server running on 127.0.0.1:7224
Connection from "127.0.0.1" via 127.0.0.1
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\Freescale\KDS_1.1.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.0.9.201407221237\win32\pegdbserver_console -device=K64FN1M0M12 -startserver -serverport=7224 -interface=OPENSDA -port=USB1 -speed=5000 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MA
CMD>RE
Initializing.
Target has been RESET and is active.
CMD>CM C:\Freescale\KDS_1.1.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.0.9.201407221237\win32\gdi\P&E\k64fn1m0m12_pflash_pipeline.arp
Initializing.
Initialized.
;version 1.01, 11/11/2013, Copyright P&E Microcomputer Systems, www.pemicro.com [mk64_1024k_n_pflash0_pflash1_pipeline]
;device freescale, k64fn1m0m12, 1x32x256k, desc=pflash_pipeline
;begin_cs device=$00000000, length=$00100000, ram=$20000000
Loading programming algorithm ...
Done.
CMD>EM
Erasing.
Module has been erased.
Initializing.
Initialized.
;version 1.01, 11/11/2013, Copyright P&E Microcomputer Systems, www.pemicro.com [mk64_1024k_n_pflash0_pflash1_pipeline]
;device freescale, k64fn1m0m12, 1x32x256k, desc=pflash_pipeline
;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 00000000-00000197 ...
Ok.
block 00000410-00001A6F ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$35E2)
CMD>RE
Initializing.
Target has been RESET and is active.
Preset breakpoint encountered.