My RedLink scripts to program my LPC546xx devices are failing after switching to MCUXpresso 11.7.0 and updating my MCU-Link firmware to 3.108
My system is Windows 10 running MSYS2.
with MCU-Link 2.263 I successfully run this command:
"${NXPREDLINK}" --debug 4 -pGeneric-M4 --CoreIndex=0 --flash-load "${OUT_MCU_FLASH_BIN_FILE}" -g --region-clear --region INTERNAL:0x0,0x80000,LPC5460x_512K.cfx --load-base 0x0 || { echo "ERROR: PROGRAMMING TARGET MCU FLASH"; exit -1; }
But it fails with MCU-Link 3.108 Firmware like this:
Ns: MCUXpresso IDE RedlinkMulti Driver v11.7 (Jan 12 2023 18:05:45 - crt_emu_cm_redlink.exe build 1)
Pc: ( 0) Reading remote configuration
Wc(03). No cache support.
Nc: Found part description in XML file CM4.xml
Pc: ( 5) Remote configuration complete
Nc: Restarted LinkServer process (PID 11696).
Ns: redlink server client - failed to receive response (to op 26) from server after 2000ms - timed out (rc 138)
Ns: redlink server client - warning - 28 bytes of unexpected data from the server
Nc: Probe Firmware: MCU-LINK (r0FF) CMSIS-DAP V3.108 (NXP Semiconductors)
Nc: Serial Number: CEHK2DDVACTLC
Nc: VID:PID: 1FC9:0143
Nc: USB Path: 0001:001a:00
Nc: probe 1 TAP 0 failed to read TAP ID - Ee(AE). Redlink interface error 174.
Nc: connection failed - Ee(AE). Redlink interface error 174... Retrying
Nc: probe 1 TAP 0 failed to read TAP ID - Ee(AE). Redlink interface error 174.
Ed:02: Failed on connect: Ee(AE). Redlink interface error 174.
Et: Probe(0): Connected&Reset. Was: NotConnected. DpID: 00000000. CpuID: 00000000. Info: <None>
Nc: Last stub error 0: OK
Nc: Last sticky error: 0x0 AIndex: 0
Nc: No debug bus (MemAp) selected
Nc: DAP Speed test unexecuted or failed
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Pc: (100) Target Connection Failed
Any ideas ?