2020-08-18 03:45 PM
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
Solved! Go to Solution.
2020-08-28 06:28 AM
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.
2020-08-28 06:28 AM
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.
2020-09-05 01:10 PM
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