Skip to main content
JJRR
Associate III
Sep 4, 2022 1:45 PM UTC
Solved

STM32_Programmer_CLI on Ubuntu

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.

This topic has been closed for replies.
raptorhal2
raptorhal2Best answer
Lead
Sep 4, 2022 2:23 PM UTC

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

1 reply

raptorhal2
raptorhal2Best answer
Lead
Sep 4, 2022 2:23 PM UTC

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