Skip to main content
DTovey
Associate II
August 18, 2020
Solved

STM32CubeProgrammer "Unable to list supported devices"

  • August 18, 2020
  • 2 replies
  • 3034 views

I'm trying to use STM32CubeProgrammer on a Ubuntu system to read and eventually write the flash on my STM32F030 device via an ST-Link. However when I click the 'Read' button, after connecting to the ST-Link I get two errors:

Error: Unable to list supported devices

Error: Cannot identify the device

Do I need to point it at a database of devices somewhere?

/dwight

This topic has been closed for replies.
Best answer by Amr Abdelghafar

For some reasons on ubuntu you need to run the STM32CubeProgrammer from the bin folder it self , for example if you insalled the programmer in

/home/amr/STMicroelectronics/STM32Cube/STM32CubeProgrammer

you need to go to /home/amr/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin

then run ./STM32CubeProgrammer

it wiil work ;)

I feel like it is issue needs a solution form ST.

2 replies

Amr Abdelghafar
Amr AbdelghafarBest answer
Associate
August 28, 2020

For some reasons on ubuntu you need to run the STM32CubeProgrammer from the bin folder it self , for example if you insalled the programmer in

/home/amr/STMicroelectronics/STM32Cube/STM32CubeProgrammer

you need to go to /home/amr/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin

then run ./STM32CubeProgrammer

it wiil work ;)

I feel like it is issue needs a solution form ST.

DTovey
DToveyAuthor
Associate II
September 5, 2020

Thank you! That seems to have been the problem. I agree with you - it should be a simple thing for ST to fix, but in the mean time I just created a simple shell script that will cd to the install directory and launch the app from there. I then created a launcher that references that script and everything is good.

Thanks again.

/dwight