2366506_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2366506_en-US

2366506_en-US

FRDM-MCXN947: Ee(42) Could not connect to core after flashing tflm_modelrunner

After flashing the tflm_modelrunner SDK example (FreeRTOS + lwIP, USE_RTOS defined), my FRDM-MCXN947 no longer responds to SWD. LinkServer v25.6 with MCU-Link V3.128 reports Ee(42). Could not connect to core on all operations including mass erase. The MCU-Link probe is detected correctly in Device Manager. When pressing SW3+RESET, Windows detects a USB enumeration but no driver installs and blhost reports no device found.

How can I recover the board?

Update: I was able to download the led_blinky example on Linux, but the problem persists on Windows 10.

Also, on both operating systems, I usually receive the following warning:

"Project is configured for device MCXN947 but the selected probe reports being connected to device MCXN947VDFT. Are you sure you want to continue?"

When trying to download a program for the first time (I don't know if this is related).

Re: FRDM-MCXN947: Ee(42) Could not connect to core after flashing tflm_modelrunner

Update - RESOLVED:

The issue was resolved by uninstalling the MCU-Link device entries from Windows Device Manager and allowing Windows to re-enumerate them on reconnection.

Specifically, two entries were removed: "MCU-LINK FRDM-MCXN947 CMSIS-DAP" under Universal Serial Bus devices, and the corresponding MCU-Link VCom Port under Ports (COM & LPT). After reconnecting the USB cable, Windows reinstalled both drivers automatically and LinkServer was able to open the probe correctly.

Root cause appears to be a corrupted USB device state in Windows, likely triggered during a previous session with the tflm_modelrunner firmware (FreeRTOS + lwIP). The probe was visible to the system and correctly enumerated, but its handle could not be opened by redlinkserv.exe — causing Ee(42) on all operations including mass erase, flash, and gdbserver. Reinstalling the IDE, replacing redlinkserv.exe, and clearing USB registry entries did not resolve it. Only re-enumerating the device from Device Manager fixed the issue.

Tags (1)
No ratings
Version history
Last update:
2 weeks ago
Updated by: