Hi, please where can I find any example how to open/write/read a file in the flash for the stm32l4?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-30 8:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-30 8:49 AM
What FLASH?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-30 8:58 AM
A "file" is quite a complex concept. What kind of file do you mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-30 9:08 AM
STM32Cube_FW_L4_V1.16.0\Projects\32L4R9IDISCOVERY\Applications\FatFs\FatFs_uSD_Standalone ??
STM32Cube_FW_L4_V1.16.0\Projects\32L496GDISCOVERY\Examples\FLASH\FLASH_EraseProgram
STM32Cube_FW_L4_V1.16.0\Projects\32L496GDISCOVERY\Examples\FLASH\FLASH_FastProgram
Internal Flash, probably no, its not how people generally approach the problem.
You can create resource trees, or file system type structures, and put them in memory permanently, perhaps wrapping them with file system type access functions to make porting easier.
Perhaps look at MKFSDATA type tools used by LWIP, or similar tools, to create a faux web server
If needing an actual file system, perhap FATFS onto MicroSD cards, or eMMC chips.
Can be done with QSPI NOR Flash, or NAND/NOR Flash generally, but you get to own a lot more of the fine details.
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
‎2021-06-30 9:11 AM
txt file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-30 9:56 AM
Just one, of manageable size, perhaps carve some space in the upper reach of the internal flash sectors, store the data, provide means to erase/write new content.
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
‎2021-07-05 5:29 AM
Yes a want a small txt file in the internal flash, thanks.
Where can I find any examples? please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 5:30 AM
I am using the B-L4s5I-IOT01A board
