cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer "Unable to list supported devices"

DTovey
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Amr Abdelghafar
Associate II

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.

View solution in original post

2 REPLIES 2
Amr Abdelghafar
Associate II

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
Associate II

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