STM32CubeProgrammer – partial programming of Flash memory
dear ST and/or Users,
we’re using a STM32H743I and are planning to implement eeprom emulation as per an ST sample code.
The algorithm employed in this code uses Flash Bank 2, Sectors 6 and 7 - we would store a few calibration values in these sectors of non-volatile memory. The remainder of Flash memory is then available for our program memory.
Once the product reaches customers there is always a possibility that the program may need upgrading. How would we use the STM32CubeProgrammer to update program memory without touching the two sectors that are being used to store calibration data which must remain unchanged, please ?
Is it sufficient just to tick <Skip flash erase before programming> and NOT to tick <Full chip erase>, and then commence programming ? These two options are shown in the “Erasing & Programming” page of the STM32CubeProgrammer.
Thanking you in advance for your assistance.
