I have this issue where I can't debug or program any code in a FRDM-MCXN947, many troubles I've seen but this one is the latest
MCUXpresso IDE RedlinkMulti Driver v11.10 (Jul 2 2024 19:33:51 - crt_emu_cm_redlink build 741)
Found chip XML file in C:/Users/RMA2GA/Documents/MCUXpressoIDE_11.10.0_3148/workspace/led_assembly_v2/Debug\LPC1343.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Probe Firmware: MCU-LINK FRDM-MCXN947 (r0E7) CMSIS-DAP V3.148 (NXP Semiconductors)
Serial Number: 0Z3QFQAMVXDWP
VID:PID: 1FC9:0143
USB Path: 0001:0008:00
connection failed - Em(01). Cannot find MEM-AP selected by core index (check target power).. Retrying
Failed on connect: Em(01). Cannot find MEM-AP selected by core index (check target power)
Connected&Reset. Was: NotConnected. DpID: 6BA02477. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
No debug bus (MemAp) selected
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Hello, my name is Pavel, and I will be supporting your case, I recommend do a mass erase, or in other way maybe could change the firmware of the debugger.
LinkServer for Microcontrollers | NXP Semiconductors
Best regards,
Pavel
Can you give me the steps to perform a mass erase?
Hello, I recommend use the SPDK and on the environment use the BLHOST to do a mas erase.
Installation Guide — SPSDK documentation
On the link above BLHOST could use the command get property 1 to confirm the board has communication (on ISP mode) with the Host, then use flash-erase-all.
Best regards,
Pavel