Flash handler for M25P* chips with no Device ID.
Fork of flash25spi by
Revision 7:fae78b14f38f, committed 2014-04-28
- Comitter:
- Tomo2k
- Date:
- Mon Apr 28 10:39:17 2014 +0000
- Parent:
- 6:94558d4243f8
- Child:
- 8:7b09546cb412
- Commit message:
- Added support for M25P20 chips
Changed in this revision
flash25spi.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/flash25spi.cpp Sat Apr 26 11:52:28 2014 +0000 +++ b/flash25spi.cpp Mon Apr 28 10:39:17 2014 +0000 @@ -46,6 +46,7 @@ const struct dataBase devices[] = { //signature, memsize, sectorsize, pagesize { 0x10, 0x20000, 0x8000, 0x100 }, // M25P10-A Numonyx/ST + { 0x11, 0x40000, 0x10000, 0x100 }, // M25P20 Numonyx/ST/Micron { 0x12, 0x80000, 0x10000, 0x100 }, // M25P40 Numonyx/ST { 0x00, 0x00, 0x00, 0x00}, // end of table };