- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I started some month ago a design with a S25FL1-K flash memory, because I thought it was possible to interface it to a Linux embedded system using the driver available here: http://elixir.free-electrons.com/linux/latest/source/drivers/mtd/spi-nor/spi-nor.c
my questions are:
is S25FL064L compatible with this driver?
if not, is there any linux driver availabel for S25FL064L flash memory?
thanks
Flavio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Flavio,
The basic functionality of FL-L(S25FL064L belongs to FL-L family of devices) is supported by the Linux SPI driver you pointed. You might need to add the corresponding device ID entries to the code. Here is the list:
{ "s25fl064l", INFO(0x016017, 0, 64 * 1024, 128, SECT_4K) },
{ "s25fl128l", INFO(0x016018, 0, 64 * 1024, 256, SECT_4K) },
{ "s25fl256l", INFO(0x016019, 0, 64 * 1024, 512, SECT_4K) },
The SECT_4K flag can be omitted, if you want to use small 4k sectors or not. For a file system it is better to use larger sectors.
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Flavio,
I will cross check internally and will update you.
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Flavio,
The basic functionality of FL-L(S25FL064L belongs to FL-L family of devices) is supported by the Linux SPI driver you pointed. You might need to add the corresponding device ID entries to the code. Here is the list:
{ "s25fl064l", INFO(0x016017, 0, 64 * 1024, 128, SECT_4K) },
{ "s25fl128l", INFO(0x016018, 0, 64 * 1024, 256, SECT_4K) },
{ "s25fl256l", INFO(0x016019, 0, 64 * 1024, 512, SECT_4K) },
The SECT_4K flag can be omitted, if you want to use small 4k sectors or not. For a file system it is better to use larger sectors.
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank.you