Home > other >  Help: excuse me, I want to use stm32f407 2 k of flash data reading and writing can be achieved?
Help: excuse me, I want to use stm32f407 2 k of flash data reading and writing can be achieved?

Time:11-28

Manual stm32f4 smallest single erase space for 16 k, I want to write 2 k a brush 2 k, can you change the underlying program

CodePudding user response:

Not, generally need to operate according to the available RAM size, 16 k first data into RAM, if enough RAM, then wipe, then the modified data is written to, if not enough RAM, or 16 k do not use full, or use a multiple sectors for caching, of course the latter will affect the life

CodePudding user response:

Only by the page size to erase, write several times can

CodePudding user response:

After a brush is 16 k brush to write, wants to keep the original array will have a large enough data, read after the deposit, the new data assembly into the array, then write, if have how many bytes can be erased every time want to write

CodePudding user response:

After a brush is 16 k brush to write, wants to keep the original array will have a large enough data, read after the deposit, the new data assembly into the array, then write, if have how many bytes can be erased every time want to write,
  • Related