AnsweredAssumed Answered

STM32 F7 HAL_FLASH_Program() on sector 0

Question asked by Buchholz.Alexander on Aug 24, 2016
Latest reply on Sep 6, 2016 by Buchholz.Alexander
hi,
ive problems to write some flash areas.
using HAL_FLASH_Program() at higher sectors is working correctly. but if i want to
write  at the end of flash sector 0 it doesnt work. the value value is still 0xFFFF FFFF after writing. the program code is only using about the first 50% of sector 0.
i checked the  FLASH_OPTCR register  nWRP[7:0] bits - all value 1

HAL_FLASH_Unlock(); is also done before writing to flash.


thanks for help

Outcomes