cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_Programmer_CLI on Ubuntu

JJRR
Senior

Hi,

I use STM32_Programmer_CLI.exe on windows. I can use it from python like that:

process = subprocess.Popen(
                ["STM32_Programmer_CLI.exe","-l"],
                text = True,shell=True, cwd=self.cubeProgPath,stdout=subprocess.PIPE)

How can I use it on Ubuntu?

On Ubuntu in installation folder of CubeProgrammer I found "STM32_Programmer_CLI (size 2.6 MB) is that what I am looking for? How can I run it from terminal? When I open terminal in that destinantion and write and write "STM32_Programmer_CLI" it returns command not found

Thank you for any help.

1 ACCEPTED SOLUTION

Accepted Solutions
raptorhal2
Lead

The Programmer Users Manual Section 1.2.1 describes how to install on linux. If there is a Debian version, use that. If only one linux version, use that.

Cheers, Hal

View solution in original post

1 REPLY 1
raptorhal2
Lead

The Programmer Users Manual Section 1.2.1 describes how to install on linux. If there is a Debian version, use that. If only one linux version, use that.

Cheers, Hal