custom bootloader for STM32H7 erase FLASH less than 127Kb
hi, I am writing a custom bootloader and its only 20Kb in size, as per the STM32H7 datasheet it looks like I can't erase FLASH smaller than 128Kb, just wanted to confirm that in this case I have to waste rest of the sector data and allocate the full 128Kb for my bootloader?
Also I was planning to store data to FLASH as the STM does not have EEPROM, so does the same apply for doing this and I must use the entire 128Kb (full sector) to store 5Kb of data.
thanks for the help