FlashStorage_RTL8720 Library

FlashStorage_RTL8720 libraryGitHub release
arduino-library-badge

Why do we need this FlashStorage_RTL8720 library

Features

The FlashStorage_RTL8720 library, inspired by Cristian Maglie's FlashStorage, provides a convenient way to store and retrieve user's data using FlashStorage, from the non-volatile flash memory of Realtek RTL8720DN, RTL8722DM, RTM8722CSM, etc. boards.

The flash memory, generally used to store the firmware code, can also be used to store / retrieve more user's data and faster than from EEPROM. Thanks to the buffered data writing and reading, the flash access time is greatly reduced to increase the life of the flash.


Currently supported Boards

  1. Realtek RTL8720DN, RTL8722DM, RTM8722CSM, etc. boards


Changelog

Releases v1.0.0

  1. Initial release to support Realtek RTL8720DN, RTL8722DM, RTM8722CSM, etc. boards

Examples

  1. FlashStorage_Clear
  2. FlashStorage_CRC
  3. FlashStorage_get
  4. FlashStorage_iteration
  5. FlashStorage_put
  6. FlashStorage_read
  7. FlashStorage_update
  8. FlashStorage_write
  9. FlashStoreAndRetrieve
  10. StoreNameAndSurname

Example StoreNameAndSurname on Rtlduino RTL8720DN

1.1 First Start

Start StoreNameAndSurname on Rtlduino RTL8720DN
FlashStorage_RTL8720 v1.0.0
FlashStorage length: 4096
EEPROM is empty, writing WRITTEN_SIGNATURE and some example data:
Insert your name : First_Name
Insert your surname : Last_Name

<< Your name: First_Name. Your surname: Last_Name >> have been saved. Thank you!

1.2 After Restart

Start StoreNameAndSurname on Rtlduino RTL8720DN
FlashStorage_RTL8720 v1.0.0
FlashStorage length: 4096
Hi First_Name Last_Name, nice to see you again :-)
Clearing WRITTEN_SIGNATURE for next try
Done clearing signature in FlashStorage. You can reset now

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.