AnsweredAssumed Answered

writing constants to flash

Question asked by Makhrov.Dmitri on Feb 22, 2013
Latest reply on Feb 25, 2013 by Makhrov.Dmitri
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.