Skip to content

Arduino Library to use the FM24W256 or EEPROM device in your Arduino Project

Notifications You must be signed in to change notification settings

SnifMyBack/FM24W256

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FM24W256 Arduino Library

License: MIT Static Badge

A heavily modified fork of the original FM24W256 library by Tjaart van Aswegen. This version is optimized for backing up, flashing, and testing FM24W256 FRAM ICs.

Caution

Use at your own risk. This library is a work in progress. Incorrect use may result in data corruption or hardware damage. I am not responsible for any damage this library may incur.

πŸš€ Status: Beta

Currently, only the following functions are verified and working:

  • StreamWrite(): Efficiently write sequential data blocks.
  • StreamRead(): Efficiently read sequential data blocks.

Note: Other functions in the library are unverified and may cause unexpected behavior or corrupt your IC.

πŸ›  Features

  • Compatibility: Tested on Arduino Uno R3; compatible with most Arduino-framework boards.
  • Hardware Support: Specifically for FM24W256 (256Kbit I2C F-RAM). Likely works with other I2C memories (e.g., MB85RC series).
  • Fast Operations: Designed specifically for bulk backup and flashing tasks.

πŸ”Œ Pinout & Wiring

Connect the FM24W256 to your Arduino using the standard I2C pins (SDA/SCL).

  • Voltage: Ensure your MCU and FRAM are voltage compatible (the FM24W256 typically supports 2.7V to 5.5V).
  • Address Pins: Ensure A0, A1, and A2 are tied to GND or VCC to set the I2C address (default for this library is usually 0x50).
  • WP (Write Protect): Must be tied to GND to allow writing.

πŸ“¦ Installation

Because this is an incomplete library, I suggest not installing it to your global Arduino libraries folder. Instead:

  1. Download the source files.
  2. Place them directly into your project folder.
  3. Include them using #include "FM24W256.h" (using quotes instead of angle brackets).

πŸ“– Usage

Please refer to the provided .ino project included in this repository for a practical implementation of the streaming functions.

About

Arduino Library to use the FM24W256 or EEPROM device in your Arduino Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 60.4%
  • Python 39.6%