reserving a section of internal flash for FatFs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-25 6:37 AM - edited ‎2025-04-25 6:50 AM
Hi, I wanted to know if it is possible and how to approach reserving/allocating a section of internal flash (The Resource section) for a FatFs file?
Solved! Go to Solution.
- Labels:
-
FatFS
-
Flash
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-02 9:32 AM
TBH it's woefully ill suited to FatFs..
You can hide areas from the LINKER via the LINKER SCRIPT (.ld) or the SCATTER FILE (.sct) depending on your tools. The Linker can only use space you tell it about, so you can shrink sizes and make holes, which it will then NOT USE.
FatFs works a lot better with the QSPI NOR FLASH 4KB sectors (very slow to write), or with eMMC / MicroSD cards
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-02 8:55 AM
Hello @Priyank
Did you try to check the example provided in the X-CUBE-EEPROM package.
Saket_Om
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-02 9:32 AM
TBH it's woefully ill suited to FatFs..
You can hide areas from the LINKER via the LINKER SCRIPT (.ld) or the SCATTER FILE (.sct) depending on your tools. The Linker can only use space you tell it about, so you can shrink sizes and make holes, which it will then NOT USE.
FatFs works a lot better with the QSPI NOR FLASH 4KB sectors (very slow to write), or with eMMC / MicroSD cards
Up vote any posts that you find helpful, it shows what's working..
