Debugging more than one board
Hi,
Are you using Ubuntu or Mac?
Warning : The fllowing tip is not functional on Ubuntu. It could be fixed in the next version of SW4STM32.
For all the boards and Debug Configurations :
1 - Find the ST-LINK SN : Launch from a terminal window :
cd C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility
ST-LINK_CLI.exe -c SWD
For example, the result is : ST-LINK SN : 0674FF485452785087212707
Then in all Debug Configurations, in the Debugger tab, update the OpenOCD Options field with :
“-c hla_serial 0674FF485452785087212707”
For only one Board/Debug Configuration :
2 - Change the port number in only one Debug configuration, for example Port Number = 3334 (instead of 3333)