L053 SHIPEI
Fork of SerialFlash by
Diff: SerialFlash.cpp
- Revision:
- 1:81f6fcd72e89
- Parent:
- 0:e5c9fd5789d7
--- a/SerialFlash.cpp Thu Apr 14 12:05:15 2016 +0000 +++ b/SerialFlash.cpp Tue Jul 12 01:34:07 2016 +0000 @@ -27,8 +27,8 @@ #include "mbed.h" #include "SerialFlash.h" -static SPI spi(D11,D12,D13); // mosi, miso, sclk - DigitalOut cspin(D6); +static SPI spi(PB_15,PB_14,PB_13); // mosi, miso, sclk + DigitalOut cspin(PB_12); #define CSASSERT() cspin = 0 #define CSRELEASE() cspin = 1 @@ -471,7 +471,7 @@ // size sector busy pgm/erase chip // Part Mbyte kbyte ID bytes cmd suspend erase // ---- ---- ----- -------- --- ------- ----- -// Winbond W25Q64CV 8 64 EF 40 17 +// Winbond W25Q64CV 8 64 EF 40 17 // Winbond W25Q128FV 16 64 EF 40 18 05 single 60 & C7 // Winbond W25Q256FV 32 64 EF 40 19 // Spansion S25FL064A 8 ? 01 02 16