After connecting (and it seems like flashing the MCU does work) but afterwards I get:
Failed to launch GDB: Protocol error with Rcmd (from interpreter-exec console "monitor reset halt")
I've tried launching ST-LINK_gdbserver.exe in two ways:
C:\\ST\\STM32CubeIDE_1.10.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.0.300.202203231527\\tools\\bin\\ST-LINK_gdbserver.exe -p 50000 -cp C:\\ST\\STM32CubeIDE_1.10.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.300.202205161323\\tools\\bin --swd --halt
and
C:\\ST\\STM32CubeIDE_1.10.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.0.300.202203231527\\tools\\bin\\ST-LINK_gdbserver.exe -p 50000 -l 1 -d -s -e -cp C:\ST\STM32CubeIDE_1.10.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.300.202205161323\tools\bin -m 0 -k
The first entry is the way that cortex-debug launches ST-LINk server, the second one is something random I found by googling.
I can see that cortex-debug connects to the server, it flashes the device, and then it gives the failed to launch error.
After connecting (and it seems like flashing the MCU does work) but afterwards I get:
I've tried launching
ST-LINK_gdbserver.exein two ways:and
The first entry is the way that cortex-debug launches ST-LINk server, the second one is something random I found by googling.
I can see that cortex-debug connects to the server, it flashes the device, and then it gives the failed to launch error.