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.
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.
- 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.
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.
Because this is an incomplete library, I suggest not installing it to your global Arduino libraries folder. Instead:
- Download the source files.
- Place them directly into your project folder.
- Include them using
#include "FM24W256.h"(using quotes instead of angle brackets).
Please refer to the provided .ino project included in this repository for a practical implementation of the streaming functions.