Skip to main content

I am enable to update my board using ST-Link

Symptom(s)โ€‹

When you try to update a card using ST-Link, an error message may appear on platform.io. This error is not expected if platform.io has been successfully installed, but in some specific configurations it may happen.

Possible explanationโ€‹

Your ST-Link driver is not installed.

Resolutionโ€‹

You may need to download and install the ST-Link driver for your OS (ST website might ask you to login or register):

Windowsโ€‹

You need to download and install the dedicated driver from the ST microelectronics website:

luos_img

Linux & MacOSโ€‹

You need to download and install the dedicated driver from the ST microelectronics website:

luos_img

Installation completedโ€‹

Once the installation is completed successfully, you should see the following message:

luos_img

Relaunch the Upload process in PlatformIOโ€‹

Now if you relaunch the upload after the driver installation, you should see the following message in platformIO:

luos_img