How to use STlink-V3 in mass storage mode to program bootloader and main program? How to continuously influence the address from which STlink-V3 programs the FLASH memory?
Hello, We are switching to STlink-V3 as our main debugging and programming tool. For programming, we use the mass-storage interface for simplicity. It works perfectly.
The problem is that the mass-storage interface programs the FLASH memory from address 0x08000000. It is not possible to simply change it.
At address 0x08000000 we have the bootloader.
At address 0x08010000 the main program starts.
For regular development and production programming, it is useful to be able to program both things with the simplest possible configuration.
By default, our original tool programmed from address 0x08010000 (main program). However, if the text file BOOTLOADER.txt was uploaded to the massstorage interface before the bin file, the programming was from address 0x08000000 (bootloader). Simple and elegant solution to program bootloader and main firmware. Simple for both programmers and scripts that control programming.
How can this be done on STlink-V3?
