SPIFlash | Arduino library for read/write access
kandi X-RAY | SPIFlash Summary
kandi X-RAY | SPIFlash Summary
[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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SPIFlash
SPIFlash Key Features
SPIFlash Examples and Code Snippets
Community Discussions
Trending Discussions on SPIFlash
QUESTION
ANSWER
Answered 2020-Dec-17 at 06:16Some ESP32's have integrated flash memory. Some use an external flash chip. This flash holds the application firmware, may have a filesystem on it (usually SPIFFS) and may have a key value store (NVS). This flash is the primary, and usually only, flash memory on an ESP32.
The library you're trying to use cannot work properly with the primary flash memory I described above. The library you're trying to use would require a secondary flash chip to be connected to the ESP32. If it did use the primary flash memory it would take control of it and interfere with the ESP32's ability to run its firmware. Only use this library if you're connected secondary flash to the ESP32.
To use the flash storage that comes with the ESP32, either use SPIFFS for a filesystem or use Preferences (NVS) for a key value store. Both are part of the Arduino Core for the ESP32, are easy to use and don't require a second SPI flash chip.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SPIFlash
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page