Should the input of function "GetSectorSize" not be the sector number and not the address as in the flash example in the ST32F4?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-24 11:58 PM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-25 1:41 AM
Couldn't you just test the thing using printf?
Size by address would be generally more helpful.​
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..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-25 1:53 AM
Have a look at the examples and you'll see. I changed the function and added ADDR_ to FLASH_SECTOR_xx to keep the input. Doesn't work otherwise.
Maybe change in next release.
