Problem with erasing and overwriting FLASH data
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-06-15 3:58 AM
Posted on June 15, 2013 at 12:58
Hi,
After writing in FLASH using FLASH_ProgramWord(uint32_t Address,Data). I can't overwrite that address data completely using FLASH_ProgramWord(Address,0xFFFFFFFF) or FLASH_ProgramWord(Address,Newdata);.In case of erasing it with FFFFFFFF, data on that address does not change.In case of overwrite with other data, it only replace it with some wrong data.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-06-15 4:34 AM
Posted on June 15, 2013 at 13:34
Cross Posted
I can't erase that Address data by using FLASH_ProgarmWord(uint32_t Address,0xFFFFFFFF).
Because it doesn't work that way, you have to erase a whole SECTOR (16,64 or 128KB depending on the address range).
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
