Hello,
in my naive brain state i executed a "erase" on an Kinetis MK20 Chip (MK20DN512XXX10), i have learned now that i write and read protected it apperantly.
Now J-Link Commander tries to unprotect it everytime i connect and fails, is there a way to reset it?
Display All
in my naive brain state i executed a "erase" on an Kinetis MK20 Chip (MK20DN512XXX10), i have learned now that i write and read protected it apperantly.
Now J-Link Commander tries to unprotect it everytime i connect and fails, is there a way to reset it?
Source Code
- J-Link>connect
- Device "MK20DN512XXX10" selected.
- Connecting to target via SWD
- InitTarget()
- Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
- For debugger connection the device needs to be unsecured.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Device will be unsecured now.
- Timeout while halting CPU.
- Found SW-DP with ID 0x2BA01477
- AP map detection skipped. User manually configured AP map.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
- InitTarget()
- Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
- For debugger connection the device needs to be unsecured.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Device will be unsecured now.
- Timeout while halting CPU.
- Found SW-DP with ID 0x2BA01477
- AP map detection skipped. User manually configured AP map.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
- ****** Error: Could not find core in Coresight setup
- InitTarget()
- Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
- For debugger connection the device needs to be unsecured.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Device will be unsecured now.
- Timeout while halting CPU.
- Found SW-DP with ID 0x2BA01477
- AP map detection skipped. User manually configured AP map.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
- InitTarget()
- Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
- For debugger connection the device needs to be unsecured.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Device will be unsecured now.
- Timeout while halting CPU.
- Found SW-DP with ID 0x2BA01477
- AP map detection skipped. User manually configured AP map.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
- Cannot connect to target.