Loading...
 

System Workbench for STM32


fail to start debug after update eclipse CDT to 9.4.2, error message "ST-Link server not installed"

Works fine previously.
encounter the problem after update eclipse CDT.

runs on Ubuntu 16.04 64bit.
eclipse platform 4.7.2
eclipse CDT 9.4.0
after update to CDT 9.4.2, all debug session failed to start.
Using STM32F0Discovery , F3Discovery, F4Discovery board.

From “Debug Configuration” , “Debugger” , “ST-Link Client Setup”,
see the read line of “ST-Link Server not installed on this machine”


Please help.
Andy Blue

more update information.
tried to uninstall SystemWorkbentch from eclipse, and re-install as plugin from “Help”->”Install New Software”. Doesn’t help.

From “Help” -> “About Eclipse” :: “Installation Details” .
find fr.ac6.feature.mcu.externaltools.stlinkserver
installed as Version: 1.0.2.201801120948
under .p2/pool/features/fr.ac6.feature.mcu.externaltools.stlinkserver_1.0.2.201801120948/

But still, from “Debug Configuration” , “Debugger” , “ST-Link Client Setup”,
see the read line of “ST-Link Server not installed on this machine”

Anyone can help?


Hi,

For the session that fails to start, it is because of CDT 9.4.0.
A workaround is to untick the first 2 options in debug configuration (startup tab) about the reset and halt.

For stlinkserver, i don’t know.

Rgds,
Laurent

It is fine when I’m using System Workbench for STM32 on top of CDT 9.4.0.
I don’t remember if I have to tweak some debug options to make it work.
Upgrade CDT to 9.4.2 causing the problem of fail to start debugging, and I can’t find a way to roll back.
Sad.


I think it is since CDT 9.4.2 the issue :
Workaround is to untick the first 2 options in debug configuration (startup tab) about the reset and halt.

Rgds,
Laurent

I had managed to roll back.
Hack configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
to remove the new updated components.

By doing so the eclipse use CDT 9.4.0 indeed.
Now the system workbench for STM32 works fine to build/debugging.
An interested thing is that I still see the red notes of “ST-Link Server not installed on this machine” from “Debug Configuration” , “Debugger” , “ST-Link Client Setup”, but debugging session started all fine.

Hi Andy Blue,

The STLink Server is an external tool which came with the SystemWorkbentch installer or directly through the st website. It is an application to share the debug interface of a single ST-LINK board among several host applications.

In the case of SytemWorkbench, it also helps you to manage several boards connected to the machine in the debugger tab. It is not an error if you see the red note. It is just an information that you can not use the STLink Server because it is not installed.

BR,
Elliot

Hi Robot,
Thanks for your information.

There is a thing still be little confused. I install the “System Workbench for STM32” from eclipse as an add-on, I did select all components including “ST-Link server”. After installation, while check “Help” -> “About Eclipse”
“Installation details”
“Installed Software”, I can see

STLinkServer 1.0.2.201801120948 fr.ac6.feature.mcu.externaltools.stlinkserver.feature.group STMicroelectronics

But I still see the red notes of “ST-Link server not installed”.
What’s wrong? Do I need separately install ST-Link server from ST?

Reg,
Andy

I would add to the Kevin’s answer that this external tool can be also installed through the System Workbench installer.

Regards,
Elliot

Now understood.

Thanks to all.
Regards,
Andy