Loading...
 

System Workbench for STM32


You are viewing a reply to Debug 2 devices on the same PC  

Debug 2 devices on the same PC

Hi Riccardo,

You can debug several boards in parallel with the same SW4STM32 and so the same workspace.

To do that:
- two projects, one for each custom board (on the same workspace)
- two debug configuration (one for each project)

Now you need to precise for each debug configuration, what is the board concerned.
Two possibilities in the debugger tab:
- using the STLink Server if the tool is installed on your machine OR
- using the openocd option : “-c hla_serial XXXXXXX” (where XXXXX is the ST-Link SN number that you can get through ST-Link Utility or STM CubeProgrammer)

Furthermore, if you debug the two projects in parallel, you must to define a different port number in the debug configuration (debugger tab).
Example 3333 for one and 3334 for the other.

BR,
Elliot

Hello,
thank you so much. I follow your instructions and able to debug without problem.

Thanks
Riccardo


 

Newest Forum Posts

  1. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  2. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  3. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  4. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  5. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  6. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  7. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21
  8. How to debug STM32f103c8t6 with stm link utility by jcliff, 2019-03-20 15:36
  9. PWM signal Output Malfunctionment by Michael zeinoun, 2019-03-19 11:20
  10. What different WINDOWS MAC OS by actionprog, 2019-03-19 06:08

Last-Modified Blogs