Frank
c90ca7beb0
add Adesto AT25SF128A
4 years ago
PaulStoffregen
754e1d025c
begin() returns false when chip not detected, fixes #53
6 years ago
Martino Facchin
ea513149de
Dynamically switch SPI port in use
This allows "derived" libraries (like the one in Arduino101 core) to use both the onboard or an external flash, while avoiding forks
Still not sure about SPIClass, is it universal? I coundn't find a core declaring it differently but I'm quite sure it exists. "typeof" SPI would be better.
8 years ago
PaulStoffregen
b6dd04096e
Use SPI1 on Arduino 101
8 years ago
Frank
83c613204c
Return 0-size for wrong id
it checks for all bytes=0 or 0xff (the pin might be hold low or high by other connections)
8 years ago
Frank
870ecc17c5
Fix read-after-write
Fixes this problem:
https://forum.pjrc.com/threads/33594-SerialFlash-filesystem-question?p=101511&viewfull=1#post101511
(inportant, i think...)
8 years ago
Frank
c839c58799
Update SerialFlashChip.cpp
8 years ago
PaulStoffregen
c9c66e24b9
Add overly cautious delay in write (optimize later...)
https://forum.pjrc.com/threads/33328-Prop-Shield-Beta-Test?p=98553&viewfull=1#post98553
8 years ago
Helen Fornazier
f481f1faec
Bugfix blockSize (Spansion chip, model with 256K sector size)
The Spansion cards can have 64Kb or 256Kb depending on the model's
number. The device id[4] must be checked to determine the sector
architecture.
8 years ago
PaulStoffregen
040c741ab7
Add control of chip select pin
9 years ago
PaulStoffregen
1ce2f5d753
Add sleep & wakeup (thanks rocketscream)
9 years ago
PaulStoffregen
680f5b9f8d
Import direct pin I/O from OneWire
9 years ago
PaulStoffregen
8d237c1411
Fix unaligned writes
9 years ago
PaulStoffregen
b2cbd9da94
Fix program/erase suspend on Spansion chips
9 years ago
PaulStoffregen
30659694ce
Fix program/erase suspend on Micron chips
9 years ago
PaulStoffregen
ce3ba93780
Improve compatibility with large Micron chips
9 years ago
FrankBoesing
3eddc112d8
Bugfix Capacity (important)
Shift was wrong direction
9 years ago
PaulStoffregen
db7e1870c5
AVR compatibility
9 years ago
PaulStoffregen
360c8c02ba
Improve capacity detection and add block & file erase
9 years ago
PaulStoffregen
94534be5d4
Add MIT license
9 years ago
PaulStoffregen
2956c3ab59
Initial commit
9 years ago