- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have FRAM FM25L16B linux driver?
if no, can I use the suggestion at here: F-RAM Support under Linux – KBA223028 ?
How can I use it? it seems that it's different: there is no device ID in FM25L16B.
any more suggestions?
Thanks
----
I use FRAM FM25L16B in raspberry pi 3.
I want to know where I can get the driver and
Do I need modify (or add) the device tree ?
Thank you very much for your reply
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The nor flash driver discussed in KBA223028 supports only 4B/3B addressing, so it wont be compatible with FM25L16B device. I would suggest using the EEPROM driver instead which is available at the following link.
linux/at25.c at master · torvalds/linux · GitHub https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at25.c
You need to change the address length at line 55 to "2".
#define EE_MAXADDRLEN 2
I hope this helps.
Regards,
Shivendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The nor flash driver discussed in KBA223028 supports only 4B/3B addressing, so it wont be compatible with FM25L16B device. I would suggest using the EEPROM driver instead which is available at the following link.
linux/at25.c at master · torvalds/linux · GitHub https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at25.c
You need to change the address length at line 55 to "2".
#define EE_MAXADDRLEN 2
I hope this helps.
Regards,
Shivendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got it.
Thank you very much.