2025-01-21 06:59 AM - last edited on 2025-01-22 01:29 AM by Andrew Neil
I wanted to update from STM32_Programmer_CLI.exe V2.10.0 to version V2.18.0, but the new version no longer works with path names that contain a space.
-c port=swd sn=49FF6F064877885229171667 --skipErase -w C:\Daten\C-Sharp\Testsystem\005933.XX TestFramework\Tests\Test51 007424 nSensHT\_TEST\Flash\007444.00 uC Software Bootloader D-nSens-HT2 V1.00.bin 0x08000000 -v --quietMode --verbosity 1 -------------------------------------------------------------------
STM32CubeProgrammer v2.18.0
-------------------------------------------------------------------
ST-LINK SN : 49FF6F064877885229171667
ST-LINK FW : V2J45S7
Board : --
Voltage : 1.76V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x467
Revision ID : Rev A
Device name : STM32G0B0xx/B1xx/C1xx
Flash size : 256 KBytes
Device type : MCU
Device CPU : Cortex-M0+
BL Version : 0x92
Warning: Wrong file path to be downloaded: "c:\daten\c-sharp\testsystem\005933.xx"
Error: The download command you trying to perform (-w "c:\daten\c-sharp\testsystem\005933.xx" "testframework\tests\test51 007424 nsensht\_test\flash\007444.00" "uc software bootloader d-nsens-ht2 V1.00.bin" 0x08000000) is missing the filePath to be loaded or it has a wrong extension, please note that the supported extension are .bin, .hex, .srec, .s19 .elf, .stm32, .ext2, .ext3, .ext4, .vfat, .ubi, .jffs2, .img and .tsv files.
-c port=swd sn=49FF6F064877885229171667 --skipErase -w C:\Daten\C-Sharp\Testsystem\005933.XX TestFramework\Tests\Test51 007424 nSensHT\_TEST\Flash\007444.00 uC Software Bootloader D-nSens-HT2 V1.00.bin 0x08000000 -v --quietMode --verbosity 1
-------------------------------------------------------------------
STM32CubeProgrammer v2.10.0
-------------------------------------------------------------------
ST-LINK SN : 49FF6F064877885229171667
ST-LINK FW : V2J45S7
Board : --
Voltage : 1.76V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x467
Revision ID : Rev A
Device name : STM32G0B1xx/C1xx
Flash size : 256 KBytes
Device type : MCU
Device CPU : Cortex-M0+
BL Version : --
Memory Programming ...
Opening and parsing file: 007444.00 uc software bootloader d-nsens-ht2 v1.00.bin
File : 007444.00 uc software bootloader d-nsens-ht2 v1.00.bin
Size : 19.33 KB
Address : 0x08000000
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.357
Verifying ...
Download verified successfully