Loading...
 
Skip to main content

System Workbench for STM32


ST-Link/V2 not recognized by eclipse oxygen 3 CDT9.4 Ubuntu 16.04 VMWare guest in Win7 host

Hi,

I am trying to use the ST-Link/V2 debugger within a Ubuntu 16.04 LTS VM Ware guest on a Windows 7 host.
It was working some time ago.

I am using eclipse oygen.3 CDT9.4 and the SystemWorkBench installed by using the "Install New Software" feature.

Everything is working fine on the host system (but I don't want to work there due to other restrictions).

The problem is:

I can attach the ST-Link/V2 to the Linux guest machine and
it is listed on "lsusb" but eclipse seems not be able to
find it.
Is there an easy way to check for the ST-Link/V2 config?
wether it is correctly installed or so?

BR

Hi downunderthunder,

I suspect that you didn't installed the udev rules.
Usually it comes with installer but since you have installed SW4STM32 using the update-site this step must be performed manually.

From the doc:

On Linux:
The ST-Link/V2-1 is supported by libusb but the device has to be named with a udev rule.

Download the following tarball which contains 49-stlinkv2.rules
stlink_udev_rule.tar.bz2
Extract the tarball into /etc/udev/rules.d under root permission
sudo tar -xf stlink_udev_rule.tar.bz2 -C /etc/udev/rules.d


Hope this helps.