I am new to ARM microcontrollers and I am working with the Freescale Kinetis K60 development board: TWR-K60N512-KIT
I accidentally loaded the wrong file into flash using the jlink command line utility. It appears that the chip continuously resets and I can no longer connect to the chip to erase/reload it. Is there any way to recover from this? It's likely the reset address in flash is invalid (basically has garbage in the flash), so the very first instruction executed likely causes a trap/reset.
I also cannot seem to connect using J-Flash either (I could previously, and read the chip).
Error messages:
SEGGER J-Link Commander V4.23b ('?' for help)
Compiled Jan 26 2011 11:09:23
DLL version V4.23b, compiled Jan 26 2011 11:09:05
Firmware: J-Link ARM V8 compiled Jan 24 2011 15:46:15
Hardware: V8.00
Feature(s): FlashBP, GDB
J-Link>power off
J-Link>power on
J-Link>exec device = MK60N512VMD100
J-Link>r
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
****** Error: No APB-AP found.
Reset delay: 0 ms
Reset type NORMAL: Toggle reset pin and halt CPU core.
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
J-Link>
I accidentally loaded the wrong file into flash using the jlink command line utility. It appears that the chip continuously resets and I can no longer connect to the chip to erase/reload it. Is there any way to recover from this? It's likely the reset address in flash is invalid (basically has garbage in the flash), so the very first instruction executed likely causes a trap/reset.
I also cannot seem to connect using J-Flash either (I could previously, and read the chip).
Error messages:
SEGGER J-Link Commander V4.23b ('?' for help)
Compiled Jan 26 2011 11:09:23
DLL version V4.23b, compiled Jan 26 2011 11:09:05
Firmware: J-Link ARM V8 compiled Jan 24 2011 15:46:15
Hardware: V8.00
Feature(s): FlashBP, GDB
J-Link>power off
J-Link>power on
J-Link>exec device = MK60N512VMD100
J-Link>r
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
****** Error: No APB-AP found.
Reset delay: 0 ms
Reset type NORMAL: Toggle reset pin and halt CPU core.
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: Identified core does not match configuration. (Found: None, Configured: Cortex-M4)
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
J-Link>