ST-LINK_CLI.exe - Skip Flash Erase
Hi,
I want to use the ST-Link Utility command-line tool for production:
- flash a BootLoader and the current application
- do production tests
- if all is OK - flash the production data (serial-number, timestamp, etc., ~50 bytes)
Due to flash size-limitations, production data is located in a specific location, after the BootLoader vector-table (address 0x08000100). BootLoader can grow larger, if needed to upgrade.
I want to flash a production-data file via ST-LINK_CLI.exe:
ST-LINK_CLI.exe -c SWD -P ProductionData.bin 0x08000100 -V
but without erasing the BootLoader.
The ST-Link Utility GUI has a check-box: Skip Flash Erase.
How can I do this via command-line?
#st-link_cli #st-link-utility