Skip to content

Arduino library for read/write access to SPI flash memory chips

Notifications You must be signed in to change notification settings

einsiedlerkrebs/SPIFlash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPIFlash

Arduino/Moteino library for read/write access to SPI flash memory chips. This works with 256byte/page SPI flash memory such as the 4MBIT W25X40CLSNIG used on (Moteinos)[www.moteino.com] for data storage and wireless programming.
For instance a 4MBit (512Kbyte) flash chip will have 2048 pages: 256*2048 = 524288 bytes (512Kbytes).
Minimal modifications should allow chips that have different page size to work.
DEPENDS ON: Arduino SPI library.
This library was primarily developed to enable safe wireless programming on Moteino nodes and Moteino based applications such as the SwitchMote. This has been documented at lowpowerlab. Dualoptiboot (all Moteinos come with it) and WirelessProgramming library are required to be able to wirelessly re-flash a remote Moteino.

This fork is for Spansion 32Mbit S25FL032P support.

###Installation Copy the content of this library in the "Arduino/libraries/SPIFlash" folder.
To find your Arduino folder go to File>Preferences in the Arduino IDE.
See this tutorial on Arduino libraries.

###License Copyright (c) 2013 by Felix Rusu [email protected]
This library is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License version 2 or the GNU Lesser General Public License version 2.1, both as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

About

Arduino library for read/write access to SPI flash memory chips

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%