Debugging not working with two ST-Link in parallel

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

vinethak
Posts: 2
Joined: Wed Feb 20, 2019 3:11 pm

Debugging not working with two ST-Link in parallel

Postby vinethak » Wed Feb 20, 2019 3:30 pm

Hello,

I am using Atollic TrueSTUDIO® for STM32 Version: 9.2.0 Build id: 20181203-0921

I want to debug 2 different projects created in Atollic studio in parallel.
My target platform is NUCLEO-F070RB evaluation board.

I have created two different workspaces, so that I can run two instances of the Atollic IDE, so that I can debug two applications in parallel.
The debugging of each of these two applications works fine independently. However whenever I try to start debugging in parallel, I get following error-

'Launching Application Debug' encountered a problem.

Error in initializing ST-Link device.
Reason: (-1) Unknown. Please check power and cabling to target.

I first start debugging on one project on one evaluation board and then try the second project. For the first project the debugging works but for the second one I get the above error.
In the Debug Configuration for the project, following configuration is selected-
-Debug Probe- ST-Link
-Auto Local GDB server is selected with 'localhost' as host name
-In Interface settings- SWD is selected, Use specific ST-Link S/N is selected and both configuration have their own S/Ns.

Any help to solve this problem is appreciated. Thanks in advance.

vinethak
Posts: 2
Joined: Wed Feb 20, 2019 3:11 pm

Re: Debugging not working with two ST-Link in parallel

Postby vinethak » Thu Feb 21, 2019 11:33 am

The topic is resolved for me. The solution was to give different 'Port Number' in Debug configuration for two debugging sessions. I used 61234 (which is default) for first and for second 61235.

Thanks.


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 2 guests