Hi,
When I connect mk60n512 target board via JLinkGDBServer, the log says:
------------------
......
02-00-00015893-0037: JLINK_GoIntDis() (0002ms, 0192ms total)
02-00-00015897-0045: JLINK_IsHalted() returns TRUE (0004ms, 0194ms total)
02-00-00015897-004D: JLINK_ReadReg(R15) returns 0x1FFFC000 (0000ms, 0198ms total)
02-00-00015897-004C: JLINK_ReadReg(R0) returns 0xFFFFFFFE (0000ms, 0198ms total)
02-00-00015897-000E:
02-00-00015904-009B: ***** Error: Failed to erase sectors 0 @ address 0x00000000 (Algo135: Flash protection violation. Flash is write-protected.) -- End of flash programming
02-00-00015904-004A: JLINK_GetDeviceFamily() returns 14 (0000ms, 0198ms total)
03-00-00015904-0076: ERROR: Failed to erase sectors 0 @ address 0x00000000 (Algo135: Flash protection violation. Flash is write-protected.)
03-00-00015999-001F: Connection to debugger closed !
------------------
I am not sure how to fix this issue, so could anybody help me?
Thanks very much.
When I connect mk60n512 target board via JLinkGDBServer, the log says:
------------------
......
02-00-00015893-0037: JLINK_GoIntDis() (0002ms, 0192ms total)
02-00-00015897-0045: JLINK_IsHalted() returns TRUE (0004ms, 0194ms total)
02-00-00015897-004D: JLINK_ReadReg(R15) returns 0x1FFFC000 (0000ms, 0198ms total)
02-00-00015897-004C: JLINK_ReadReg(R0) returns 0xFFFFFFFE (0000ms, 0198ms total)
02-00-00015897-000E:
02-00-00015904-009B: ***** Error: Failed to erase sectors 0 @ address 0x00000000 (Algo135: Flash protection violation. Flash is write-protected.) -- End of flash programming
02-00-00015904-004A: JLINK_GetDeviceFamily() returns 14 (0000ms, 0198ms total)
03-00-00015904-0076: ERROR: Failed to erase sectors 0 @ address 0x00000000 (Algo135: Flash protection violation. Flash is write-protected.)
03-00-00015999-001F: Connection to debugger closed !
------------------
I am not sure how to fix this issue, so could anybody help me?
Thanks very much.