​Dear Anon,​

​To expand on Ludwig's reply:​

Does the eeprom support overwriting single bytes or
​ ​
does it require an erase command
​ ​
before memory can be overwritten?

If you can freely access random bytes and overwrite random bytes then NVRAM
is the correct interface.

If you need erase I suggest you implement it against the MTD interface
currently under review in
​ ​
https://github.com/RIOT-OS/RIOT/pull/5624

The current proposal is aimed at NOR and NAND flash memories, but it would
be great if we can make whatever adaptations needed for it to fit EEPROM as
well!

Best regards,
Joakim

Den 21 juli 2016 4:33 PM skrev "Anon Anonymous" <anon1644...@gmail.com>:

> Hello everyone,
>
> I have a task to read/write the internal EEPROM block on the STM32L151 MCU
> and as I can see there's no driver or interface implemeted yet for this
> kind of task.
>
> My question is how can I add the EEPROM features support into the RIOT OS?
>
> Should I use NVRAM interface? Could I use the ST's SPL code at the RIOT
> driver level?
>
> Best regards.
>
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to