Unable to load to Nucleo board
Scenario:
Windows 11 connected to Nucleo-L476RG.
Fresh install of STMCubeIDE
Version: 1.14.0
Build: 19471_20231121_1200 (UTC)
OS: Windows 11, v.10.0, x86_64 / win32
Ran STLinkUpgrade 3.13.4
Result: Update to Firmware: V2J43M28 STM Debug+Mass storage+VCP Upgrade successful.
File > New STM Project
Selected board L476RG
Project name testtest
Initialised all peripherals with default.
Configurator opened main.c
Project > Build Project
11:30:19 Build Finished. 0 errors, 0 warnings. (took 3s.143ms)
Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (0) Unknown. Please check power and cabling to target.
Failed to bind to port 61235, error code -1: No error
Failure starting SWV server on TCP port: 61235
Failed to bind to port 61234, error code -1: No error
Failure starting GDB server: TCP port 61234 not available.
Shutting down...
Exit.
My question:
The cable is a known good one, and the STLink upgrade was successful, so it seems to me that there is nothing wrong with
