AnsweredAssumed Answered

How to unprotect the FRDM-KW41Z to flash the program?

Question asked by Bhavya Mathukiya on May 31, 2018
Latest reply on Jun 5, 2018 by Mario Ignacio Castaneda Lopez

Hi There,

 

I am using FRDM-KW41Z in one of my projects. I was able to reprogram it many times during the development but all of a sudden I am not able to reprogram it. I am using "OpenSDA-Jlink" bootloader on FRMD-KW41Z. I was able to use J-link Commander to flash binary on FRDM board. But now whenever I am trying to program it using J-Link Commander I am getting the error mentioned below. Is there any way I can fix this or need to change the MCU on the board?

 

J-Link Commander Error:

InitTarget()
Readout protection is set and mass erase is disabled. J-Link cannot unprotect the device.
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]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
AP[1]: Skipped. Not an AHB-AP
Cannot connect to target.

Any help is highly appreciated as I am stuck here.

 

Thanks,

Bhavya

Outcomes