2022-10-13 06:39 AM
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
2022-10-13 07:49 AM
CLI version yes
2022-10-13 08:21 AM
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
2022-10-13 08:29 AM
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
2022-10-13 09:05 AM
>>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?
2022-10-13 09:53 AM
Many thanks for your reply, Tesla DeLorean.
2022-11-04 01:03 AM
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"
@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
2022-11-04 01:13 AM
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