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:
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: Stopped AP scan as end of AP map has been reached
AP: AHB-AP (IDR: 0x04770031)
AP: JTAG-AP (IDR: 0x001C0020)
Iterating through AP map to find AHB-AP to use
AP: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
AP: Skipped. Not an AHB-AP
Cannot connect to target.
Any help is highly appreciated as I am stuck here.