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 : FFFFE000, CID: B105900D, PID: 001BB932 MTB-M0+ ROMTbl 0 : FFFFF000, CID: B105900D, PID: 0008E000 MTBDWT ROMTbl 0 : F00FD000, CID: B105100D, PID: 000BB4C0 ROM Table ROMTbl 1 @ E00FF000 ROMTbl 1 : FFF0F000, CID: B105E00D, PID: 000BB008 SCS ROMTbl 1 : FFF02000, CID: B105E00D, PID: 000BB00A DWT ROMTbl 1 : 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).