2020-07-05 11:40 PM
There are two STM32MCU in my application board, I need debug two MCU at the same time, my tool is TrueStudio. Is it possible to debug two MCU in one PC?
2020-07-06 01:11 AM
Most debuggers know an option to specify ther debugger serial number to talk to a specific debugger.
2020-07-06 02:17 AM
I go to "Debug Configuration" ==>"Debugger", choose "SWD" and tick "Use specific ST-Link S/N".
When I debug one MCU, it works.
But when I debug two MCU, the second MCU will come this error message
"Failed to bind to port 61234, error code -1: Result too large
Failure starting GDB server: TCP port 61234 not available."
Any good suggestion?
2020-07-06 02:42 AM
2020-07-06 02:49 AM
You need to specify another gdb port for the second gdb.