Skip to main content
mkim.2
Associate II
April 13, 2023
Solved

STM32_Programmer_CLI license issue

  • April 13, 2023
  • 3 replies
  • 2386 views

We want to allow customers to download firmware directly.

Are you trying to pass the STM32CubeProgrammer\bin file, no licensing issues?

I'm trying to make a batch file so that I can download it right away.

I've tested it. If you pass only this file and the database file together, there seems to be no problem with downloading.

We ask if there will be any licensing issues if we pass this file on.

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

Hello @mkim.2​ ,

Thanks for your feedback,

Yes, STM32CubeProgrammer can be redistributed and the license which must be used in this case is SLA0048.

I hope this helps,

Sara.

3 replies

ST Employee
April 26, 2023

Hello @mkim.2​ ,

Thanks for your feedback,

Yes, STM32CubeProgrammer can be redistributed and the license which must be used in this case is SLA0048.

I hope this helps,

Sara.

mkim.2
mkim.2Author
Associate II
May 2, 2023

thank you

Helped me a lot.

justin11
Senior
May 1, 2023

Hi,

We're also looking to do the same are. would you mind sharing how you plan to do this? are you jsut placing the cli.exe and licence and hex file in a folder to issue ?

mkim.2
mkim.2Author
Associate II
May 2, 2023

STM32_CLI

->Data_Base

->STM32_Programmer_CLI

  -> libgcc_s_seh-1.dll

  -> libstdc++-6.dll

  -> libwinpthread-1.dll

  -> Qt5Core.dll

  -> Qt5Script.dll

  -> Qt5SerialPort.dll

  -> Qt5Xml.dll

  -> STM32_Programmer_CLI.exe

justin11
Senior
May 2, 2023

Fantastic, thanks for this

mkim.2
mkim.2Author
Associate II
May 2, 2023

We created a batch file and proceeded.

The CLI file worked well only when the above files were present.

"(CLI.exe Program Location)\STM32_Programmer_CLI.exe" -c port=COM5 br=115200 P=EVEN db=8 sb=1 -w "(hex file location).hex" 

justin11
Senior
May 2, 2023

Thanks, what would be great, is if ST released the cubeprogrammer as uncompiled visual studio files so we could simply build our own GUI loaders

cheers