Question
writing constants to flash
Posted on February 22, 2013 at 11:48
Hi everybody, hi clive1!
in an older PIC design, I use to store calibration data in flash. Then, an update can be done with values received via serial. With PIC, the pages to work with are smaller. With STM32F4xx (as far as I understand), the entire sector of 16 kB must be erased first. Anyway, how can I make sure that my data in flash occupies this sector only starting at the beginning of the sector, no program code is there, so I can erase it and rewrite with fresh values? Actually, the same old question about mapping data to predefined addresses in flash. Thanks Dima