NXP flash is write-protected

cancel
Showing results for 
Search instead for 
Did you mean: 

NXP flash is write-protected

114 Views
Contributor I

微信截图_20200323183746.png

Device "MKW41Z512XXX4" selected.


Found SWD-DP with ID 0x0BC11477
Found SWD-DP with ID 0x0BC11477
AP-IDR: 0x04770031, Type: AHB-AP
AHB-AP ROM: 0xF0002000 (Base addr. of first ROM table)
Found Cortex-M0 r0p1, Little endian.
FPUnit: 2 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl 0 @ F0002000
ROMTbl 0 [0]: FFFFE000, CID: B105900D, PID: 001BB932 MTB-M0+
ROMTbl 0 [1]: FFFFF000, CID: B105900D, PID: 0008E000 MTBDWT
ROMTbl 0 [2]: F00FD000, CID: B105100D, PID: 000BB4C0 ROM Table
ROMTbl 1 @ E00FF000
ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB

****** Error: Kinetis (connect): Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set and mass erase is disabled. J-Link cannot unprotect the device.
Cortex-M0 identified.

Above is a screenshot and log of the problem I encountered.

In addition, I found relevant blog on the official website of NXP, but it seems to be of no use, it still shows flash write protection (1. I used unlock kinetis in jlink commander, 2. I also used mass erase, but I didn't find it in j-flash, only a erase chips was found).

0 Kudos
1 Reply

18 Views
NXP TechSupport
NXP TechSupport

Hello shuai bai

 

Unfortunately, there is no way to recover the mcu. If you are using a board you can replace the damaged mcu for a new one.

 

I apologize for the inconvenience this may cause you.

Best regards,

Omar

0 Kudos