AnsweredAssumed Answered

Handling flash double word 64-bit programming

Question asked by e d on Jun 26, 2017
Latest reply on Jun 28, 2017 by Misagh92

Hi all,

I am working with the STM32L486 series and having a flash question. I need to save some NVM parameters to a 2K page in flash but the flash utils can only write double word at a time (64 bits). My NVM structure size will ebb and flow and would probably not align to a 64-bit boundary. How do I handle saving the structure gracefully in the code? I am thinking of padding some dummy bytes to meet the 64-bit boundary but it is a bit cumbersome. I used to do this feature in bytes easily when working with other processors capable of byte write, but this is a bit different. Any ideas?

Thanks,

ED

Outcomes