Skip to main content
eGDY2CVw4jwV
Associate II
March 9, 2020
Question

STM32Cube Programmer CLI: What files are really needed?

  • March 9, 2020
  • 2 replies
  • 936 views

Hi,

I'd like to integrate the STM32CubeProgrammer CLI into my own windows tool.

Currently I'm investigating on the following questions:

  • What files from installation directory are necessary to use the CLI tool for UART DFU?
  • Can I safely remove some of the dlls, external flashloader files, GUI tools to reduce the size of the tool? (Almost 80 Mb!)
  • Will there be seperate releases of the CLI tool in the future , which do not contain all the GUI tools and libs, or at least a list of neccessary files, updated for each release?

Thank you and best regards!

This topic has been closed for replies.

2 replies

Houda GHABRI
ST Employee
March 18, 2020

Hello @eGDY2CVw4jwV,

- For DFU usage only, you can remove the flash loader and external flashloader directories which are used only for JTAG connection

-You can also delete Cubeprogrammer_API.dll and STM32CubeProgrammer.exe which are used for GUI

-For the last point it is under study but I can’t confirm now if it will be done in short term.

Regards,

Houda

eGDY2CVw4jwV
Associate II
March 18, 2020

Hi @Houda GHABRI​ ,

thank's for your answer!

 I'll evaluate your answer in the next days and see how far it's working!

Best regards