User Activity

Hi STM Community, I want to ask if I have to Erase Flash memory sector  (HAL_FLASHEx_Erase) before I write into flash memory (HAL_FLASH_Program)?I tried it and nothing happend. I want to be sure, that is not an accident.
I am using STM32H723VG and I want to implement bootloader for firmware update. I want to enter STM32 bootloader to flash data through USB DFU inside firmware:   #define BOOTLOADER_ADDRESS_START 0x1FF09800 void Bootloader_JumpToBootloader() { __d...