Hello,
I am starting to develop with the FRDM-MCXW72-LOC boards and I can import, compile examples successfully, when I try to debug linkserver quits with the following in the terminal window:
Waiting for GDB server to start...
[2026-06-06T13:59:32.968Z] SERVER CONSOLE DEBUG: GDB server connection established. Switch to "DEBUG CONSOLE" to see GDB traces.
"C:\\NXP\\LinkServer_25.12.83\\LinkServer.exe" -l5 gdbserver "MCXW727CxxxA:MCXW72-LOC" --probe LYHBJEE1C30QX --gdb-port 2336 --no-boot --core cm33_core0 --redlink-port 2440
[474]DEBUG:asyncio: Using proactor: IocpProactor
[478]DEBUG:launcher.core.device: Reading devices from JSON files
[743]DEBUG:launcher.core.device: Finished reading device JSON files
[747]CRITICAL:__main__: Critical error
Traceback (most recent call last):
File "__main__.py", line 44, in
File "click\core.py", line 1130, in __call__
File "click\core.py", line 1055, in main
File "click\core.py", line 1657, in invoke
File "click\core.py", line 1404, in invoke
File "click\core.py", line 760, in invoke
File "launcher\cli\utils\funcs.py", line 152, in wrapper
File "asyncio\runners.py", line 195, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 719, in run_until_complete
File "launcher\cli\cmd\gdbserver.py", line 59, in cmd_gdbserver
File "contextlib.py", line 214, in __aenter__
File "launcher\cli\utils\click.py", line 313, in connect
File "launcher\cli\utils\funcs.py", line 257, in select_device
File "launcher\cli\utils\funcs.py", line 140, in assert_one_device
File "launcher\cli\utils\funcs.py", line 129, in die
Exception: No matching devices
[2026-06-06T13:59:34.210Z] SERVER CONSOLE DEBUG: GDB server connection closed.
GDB server connection closed. Terminal will be reused, waiting for next session to start...
I can connect with the linkserver flash app connect to the MCU and flash code. Any ideas why it is not working within MCUXpresso for VSCode environment?
Thank you,
Brian
Linkserver has a JSON for MCX-W72-LOC which does not match with the name of the board which is MCXW72-LOC when picking as the board to import examples for. I am attempting copying the original and fixing the naming...Tried and that didn't work, I suppose that there is an issue with linkserver and the MCXW72-LOC board?
Erich,
Thanks for that, I am using import from repository and you only get boards to select. Which json does linkserver pull that from? I am supposing I can keep the board and modify the launch config? Otherwise, picking the frdm-MCXW72 as the board does not show the examples that I am trying to import and run.
Brian
I see there is this error message:
Exception: No matching devices
You have the following device specified:
"MCXW727CxxxA:MCXW72-LOC"
which does not exist at least in my latest version of LinkServer:
C:\NXP\LinkServer_26.5.59>.\LinkServer.exe devices --filter MCXW727CxxxA
INFO: Exact match for MCXW727CxxxA found
Family Device Board Cores
-------- -------- ------- ------------------------
MCXW7XX MCXW727C cm33_core0, [cm33_core1]
I suggest you remove the :MCXW72-LOC for the device selection.
I hope this helps,
Erich