Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Non Volatile RAM (F-RAM & NVSRAM) Forum Discussions

heen_4645816
Level 1
Level 1
First question asked Welcome!

Cypress team,

I am looking for linux driver for this device.  Is there any driver compatible for this?

I have kernel 4.15.0 and ARM platform.

Thanks.

Henry

0 Likes
1 Solution
ritwicksharma
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 100 replies posted

Hi @heen_4645816,

 

Currently, we do not have an explicit nvSRAM driver for Linux However, we recommend using either the
Linux SPI EEPROM driver under drivers\misc\eeprom\at25.c
or the
Linux SPI Flash drivers under drivers\mtd\spi-nor\spi-nor.c + drivers\mtd\devices\m25p80.c
Both drivers are using device ID-based probing that needs to be disabled and hard wired to the appropriate device entry (density, capabilities, …). Basic READ and WRITE functionality should work in this case with the above drivers but note that there is no support for special NV instructions such as STORE or RECALL.


Thanks,
Ritwick

View solution in original post

0 Likes
1 Reply
ritwicksharma
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 100 replies posted

Hi @heen_4645816,

 

Currently, we do not have an explicit nvSRAM driver for Linux However, we recommend using either the
Linux SPI EEPROM driver under drivers\misc\eeprom\at25.c
or the
Linux SPI Flash drivers under drivers\mtd\spi-nor\spi-nor.c + drivers\mtd\devices\m25p80.c
Both drivers are using device ID-based probing that needs to be disabled and hard wired to the appropriate device entry (density, capabilities, …). Basic READ and WRITE functionality should work in this case with the above drivers but note that there is no support for special NV instructions such as STORE or RECALL.


Thanks,
Ritwick

0 Likes