cancel
Showing results for 
Search instead for 
Did you mean: 

Is the STM32 Cube Programmer a suitable tool for production programming?

RHeme.1
Associate II

Hi,

I'm wanting to know if the STM32 Cube Programmer is considered a production tool suitable for programming at the point of manufacture/assembly during production, please?

Regards,

Rab

7 REPLIES 7
MM..1
Chief II

CLI version yes

Thank you, MM..1 for the speedy reply!

May I ask if you know of any STM documentation that states as much, please?

Regards,

Rab

open command prompt and run it...

c:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.10.0
      -------------------------------------------------------------------
 
 
Usage :
STM32_Programmer_CLI.exe [command_1] [Arguments_1][[command_2] [Arguments_2]...]
 
Generic commands:
 
 -?, -h, --help         : Show this help

>>May I ask if you know of any STM documentation that states as much, please?

I'm not sure they do that.

You, or the engineer responsible, need to determine the ultimate suitability or usability in any given role.

The GUI tools doesn't strike me as something line operators can use safely/effectively.

The CLI can likely get wrapped, and there's perhaps DLL level interfaces.

Connecting via what?

USB, UART, ST-LINK?

For commercial grade tools perhaps a vendor like Segger would be more suitable?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Many thanks for your reply, Tesla DeLorean.

EXUE.2
ST Employee

yes, we used STM32 Cube Programmer as a production tool in our develop board production in factory. but not use it's GUI format, we build some .bat script to implement the programming or erase operation.

one programming .bat example like below "_3_STM32H7R3L8_NUCLEO_TEST_PROG.bat"

0693W00000VOtEFQA1.png@echo *** MB1737 test programming ***       

STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe -c port=SWD freq=8000 -d firmware\STM32H7R3L8-NUCLEO_tst_V1.0.2.hex -v

goto start

Javier1
Principal

I use OpenOCD here (linux).

It works like a charm, i have a small raspi zero attached with a battery and a stlink (wifi connected to githb repos containing the binaries).

Thats my portable programming gun. pew pew

we dont need to firmware by ourselves, lets talk