I can no longer start linkserver. It shows shows "ERRMSG: ConnectionResetError: [WinError 64] The specified network name is no longer available".
The error message is not very helpful. What could be the problem?
C:\nxp\LinkServer_1.4.85> linkserver -l 5 gdbserver MIMXRT1042xxxxB:MIMXRT1040-EVK
[87]DEBUG:asyncio: Using proactor: IocpProactor
[325]INFO:launcher.cli.utils.funcs: Exact match for MIMXRT1042xxxxB:MIMXRT1040-EVK found
[326]INFO:launcher.cli.utils.click: Selected device MIMXRT1042xxxxB:MIMXRT1040-EVK
[328]DEBUG:launcher.core.redlinkserv: Starting redlinkserv: C:\nxp\LinkServer_1.4.85\binaries\redlinkserv.exe ['--port', '11111', '--telnetport', '12222', '--no-telnet-defaults']
[330]DEBUG:launcher.core.probeboot: Listing usb devices
[330]DEBUG:launcher.core.utils: Subprocess exec: cscript ['/nologo', 'C:\\nxp\\LinkServer_1.4.85\\binaries\\Scripts\\listusb.vbs']
[333]DEBUG:launcher.core.redlinkserv: Connecting to redlinkserv (localhost:12222)
[1632]DEBUG:launcher.core.probeboot: Found 19 USB devices
[2372]DEBUG:launcher.core.redlinkserv: Connected to redlinkserv
[2373]DEBUG:launcher.core.redlinkserv: [read]
[2375]INFO:launcher.cli.utils.click: Getting available probes
[2376]DEBUG:launcher.core.redlinkserv: [write] probelist
[2782]DEBUG:launcher.core.redlinkserv: [write] exit
[2782]DEBUG:launcher.core.utils: Terminating async process with PID 31492
[2787]CRITICAL:__main__: Critical error
Traceback (most recent call last):
File "asyncio\windows_events.py", line 489, in finish_recv
OSError: [WinError 64] The specified network name is no longer available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "launcher\__main__.py", line 39, in <module>
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 137, in wrapper
File "asyncio\runners.py", line 190, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 653, in run_until_complete
File "launcher\cli\cmd\gdbserver.py", line 50, in cmd_gdbserver
File "contextlib.py", line 204, in __aenter__
File "contextlib.py", line 222, in __aexit__
File "launcher\cli\utils\funcs.py", line 184, in redlink_and_probeboot
File "launcher\core\redlinkserv.py", line 152, in close
File "contextlib.py", line 672, in aclose
File "contextlib.py", line 730, in __aexit__
File "launcher\core\utils.py", line 211, in __conn_cleanup
File "asyncio\streams.py", line 350, in wait_closed
File "asyncio\proactor_events.py", line 286, in _loop_reading
File "asyncio\windows_events.py", line 841, in _poll
File "asyncio\windows_events.py", line 493, in finish_recv
ConnectionResetError: [WinError 64] The specified network name is no longer available