Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LowPowerLab/SPIFlash
Arduino library for read/write access to SPI flash memory chips
https://github.com/LowPowerLab/SPIFlash
Last synced: 3 months ago
JSON representation
Arduino library for read/write access to SPI flash memory chips
- Host: GitHub
- URL: https://github.com/LowPowerLab/SPIFlash
- Owner: LowPowerLab
- License: gpl-3.0
- Created: 2013-04-04T22:03:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T16:55:04.000Z (about 3 years ago)
- Last Synced: 2024-06-28T04:33:48.478Z (4 months ago)
- Language: C++
- Size: 84 KB
- Stars: 171
- Watchers: 35
- Forks: 89
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
- Awesome-arduino - SPIFlash - Arduino library for read/write access to SPI flash memory chips (Libraries)
- awesome-arduino - SPIFlash - Arduino library for read/write access to SPI flash memory chips (Libraries)
README
SPIFlash
========
[![Build Status](https://app.travis-ci.com/LowPowerLab/SPIFlash.svg?branch=master)](https://app.travis-ci.com/LowPowerLab/SPIFlash)
[![GitHub release](https://img.shields.io/github/release/LowPowerLab/SPIFlash.svg)](https://github.com/LowPowerLab/SPIFlash)
[![GitHub issues](https://img.shields.io/github/issues/LowPowerLab/SPIFlash.svg)](https://github.com/LowPowerLab/SPIFlash/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/LowPowerLab/SPIFlash.svg)](https://github.com/LowPowerLab/SPIFlash/pulls)
[![license](https://img.shields.io/github/license/LowPowerLab/SPIFlash.svg)](https://github.com/LowPowerLab/SPIFlash/blob/master/LICENSE.txt)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](https://lowpowerlab.com/shop/product/72) used on [Moteino](https://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 native *SPI library*.
This library was primarily developed to enable **safe** wireless programming on Moteino nodes and Moteino based applications such as the [SwitchMote](https://lowpowerlab.com/guide/switchmote/). This has been documented at [lowpowerlab](https://lowpowerlab.com/guide/moteino/wireless-programming/). [Dualoptiboot](https://github.com/LowPowerLab/DualOptiboot) (all AVR based Moteinos come with it) and [RFM69_OTA WirelessProgramming library](https://github.com/LowPowerLab/RFM69) are required to be able to wirelessly re-flash a remote Moteino.
### 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](https://www.arduino.cc/en/Guide/Libraries) on installing Arduino libraries.### License
Copyright (c) 2013-2018 by Felix Rusu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see .