• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 11 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

SPIFlash

Build Status GitHub release GitHub issues GitHub pull requests license

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 Moteino 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. This has been documented at lowpowerlab. Dualoptiboot (all AVR based Moteinos come with it) and RFM69_OTA WirelessProgramming library 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 on installing Arduino libraries.

License

Copyright (c) 2013-2018 by Felix Rusu [email protected]

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 http://www.gnu.org/licenses/.

More Repositories

1

RFM69

RFM69 library for RFM69W, RFM69HW, RFM69CW, RFM69HCW (semtech SX1231, SX1231H)
C++
778
star
2

RFM12B

RFM12B library
C++
134
star
3

Moteino

Moteino Eagle project and library
131
star
4

RaspberryPi-Gateway

RaspberryPi socket webserver for home automation
JavaScript
124
star
5

CurrentRanger

Precision auto-ranging current meter (ammeter)
C++
94
star
6

DualOptiboot

Custom Optiboot to add wireless programming capability to Moteino
C
71
star
7

SI7021

Si7021 temperature & humidity sensor arduino library
C++
44
star
8

ATX-Raspi

ATXRaspi is a smart power controller for RaspberryPi that allows you to have an external ATX style shutdown button
Shell
43
star
9

WirelessProgramming

Wireless programming library and example code for Moteino
Python
38
star
10

MailboxNotifier

Moteino based mailbox event notifier
C++
28
star
11

SwitchMote

Arduino
25
star
12

SFE_BMP180

BMP180 Bosch sensor library
C++
23
star
13

SumpPumpAlert

Source code for making a sump pump SMS alert system using a Moteino and HC-SR04 ultrasonic sensor, and RaspberryPi
Python
12
star
14

WaterMote

Code used in WattMote, a low cost wireless pulse counter reader (eg. water meter)
C++
8
star
15

Microscope-Light

Simple wireless LED ring light design for a B&L stereo microscope
6
star
16

WattMote

Source files for WattMote - a wireless KillAWatt mod similar to the TweetAWatt
Python
6
star
17

GarageMote

Moteino garage controller shield
4
star
18

FTDIAdapter

Eagle files for FTDIAdapter
3
star
19

WeatherShield

Moteino WeatherShield
Arduino
2
star
20

Cut-Strip-Feeder

Design files for a lasercut acrylic strip feeder
2
star
21

PowerShield

Power Shield source files
1
star
22

LowPowerLab.github.io

1
star