2022-01-16 03:35 PM
I'm working on a project to connect multiple stm32-boards using the CAN-bus.
So I opened two instances of the ide and connected 2 boards with 2 st-links.
When I tried to setup the 2nd st-link for debug, I received an unknown error from the GDB-server.
Please help, as I don't want to use multiple computers for that project.
Regards
Andreas
2022-01-17 02:30 AM
Hello there!
You only need to run one instance of STM32CubeiDE regardless of the number of boards you debug in parallel.
You will need to specify the serial number of the ST-Link in your debug configuration (debugger tab) and might need to change port numbers so they don't collide with each other.
You can find more information about how to set it up in the STM32CubeIDE User Manual chapter 3.6.3.
2022-05-18 01:59 PM
Thanks for the answer. I run in to the same error. From the form layout I assumed the port is relevant only for remote server selection, but it is it applies to local host too and changing it solved the conflict. In GUI It would would be more intuitive to put host name where port number label is now and port number move away from radio button line. (Version: 1.9.0)