AnsweredAssumed Answered

can't erase MKE06 with j-link

Question asked by Gavin Liu on Oct 21, 2018
Latest reply on Oct 21, 2018 by Gavin Liu

Executing flash operation 'Erase' (Erase flash) - Mon Oct 22 10:08:45 CST 2018
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V6.35g (Compiled Oct 19 2018 17:35:25)
DLL version V6.35g, compiled Oct 19 2018 17:34:51
J-Link Command File read successfully.
Processing script file...
J-Link Commander will now exit on Error
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Jun 2 2222 22:22:22
Hardware version: V9.40
S/N: 59401308
License(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
VTref=4.534V
Target connection not established yet but required for command.
Device "MKE06Z128XXX4" selected.
Connecting to target via SWD
InitTarget()
Disable watchdog()
_TargetHalt: CPU did not halt.
Disable watchdog(): Watchdog enabled --> Disable it
Found SW-DP with ID 0x0BC11477
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x04770031)
AP[1]: JTAG-AP (IDR: 0x001C0020)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xF0002000
CPUID register: 0x410CC600. Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p0, Little endian.
FPUnit: 2 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ F0002000
ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB4C0 ROM Table
ROMTbl[1] @ E00FF000
ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
Executing SetupTarget()
Cortex-M0 identified.
Erasing device...
****** Error: Could not detect CPU clock speed. Download of test code into RAM failed.
****** Error: Failed to measure CPU clock frequency
ERROR: Erase returned with error code -1.
Script processing completed.
Unable to perform operation!
Command failed with exit code 1

 

 

 

 

ALSO can't program the mke06 with J-LINK.

Executing flash operation 'Erase' (Erase flash) - Mon Oct 22 10:31:47 CST 2018
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V6.35g (Compiled Oct 19 2018 17:35:25)
DLL version V6.35g, compiled Oct 19 2018 17:34:51
J-Link Command File read successfully.
Processing script file...
J-Link Commander will now exit on Error
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Jun  2 2222 22:22:22
Hardware version: V9.40
S/N: 59401308
License(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
VTref=4.556V
Target connection not established yet but required for command.
Device "MKE06Z128XXX4" selected.
Connecting to target via SWD
InitTarget()
Disable watchdog()
Disable watchdog(): Watchdog enabled --> Disable it
Found SW-DP with ID 0x0BC11477
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x04770031)
AP[1]: JTAG-AP (IDR: 0x001C0020)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xF0002000
CPUID register: 0x410CC600. Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p0, Little endian.
FPUnit: 2 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ F0002000
ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB4C0 ROM Table
ROMTbl[1] @ E00FF000
ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
Executing SetupTarget()
Cortex-M0 identified.
Erasing device...
****** Error: Could not detect CPU clock speed. Download of test code into RAM failed.
****** Error: Failed to measure CPU clock frequency
ERROR: Erase returned with error code -1.
Script processing completed.
Unable to perform operation!
Command failed with exit code 1

 

Outcomes