} known_chips[] = {
{{0xEF, 0x40, 0x15}, 24, 256, 4096, 2097152, 3000, 400000}, // Winbond W25Q16JV*IQ/W25Q16FV
{{0xEF, 0x40, 0x16}, 24, 256, 4096, 4194304, 3000, 400000}, // Winbond W25Q32JV*IQ/W25Q32FV
{{0xEF, 0x40, 0x17}, 24, 256, 4096, 8388608, 3000, 400000}, // Winbond W25Q64JV*IQ/W25Q64FV
{{0xEF, 0x40, 0x18}, 24, 256, 4096, 16777216, 3000, 400000}, // Winbond W25Q128JV*IQ/W25Q128FV
{{0xEF, 0x40, 0x19}, 32, 256, 4096, 33554432, 3000, 400000}, // Winbond W25Q256JV*IQ
{{0xEF, 0x40, 0x20}, 32, 256, 4096, 67108864, 3500, 400000}, // Winbond W25Q512JV*IQ
{{0xEF, 0x70, 0x17}, 24, 256, 4096, 8388608, 3000, 400000}, // Winbond W25Q64JV*IM (DTR)
{{0xEF, 0x70, 0x18}, 24, 256, 4096, 16777216, 3000, 400000}, // Winbond W25Q128JV*IM (DTR)
{{0xEF, 0x70, 0x19}, 32, 256, 4096, 33554432, 3000, 400000}, // Winbond W25Q256JV*IM (DTR)
{{0xEF, 0x70, 0x20}, 32, 256, 4096, 67108864, 3500, 400000}, // Winbond W25Q512JV*IM (DTR)
{{0x1F, 0x84, 0x01}, 24, 256, 4096, 524288, 2500, 300000}, // Adesto/Atmel AT25SF041
{{0x01, 0x40, 0x14}, 24, 256, 4096, 1048576, 5000, 300000}, // Spansion S25FL208K
Thank you for your fast reply. It helps me a lot.
I ordered Winbond W25Q512JVEIM, before it come, I'll try to understant how to initialize flash memory and use LittleFS, teensy41_extram, and SPIFFS_t4 librarys.
I'll come to you again if I encounter difficulties.
Thanks again.
static const uint32_t flashBaseAddr[3] = { 0x800000u, 0x800000u};
static const uint32_t eramBaseAddr = 0x07000000u;
static char flashID[8];
static const void* extBase = (void*)0x70000000u;
static uint32_t flashCapacity[3] = {16u * 1024u * 1024u, 8u * 1024u * 1024u};
Thanks guys.
...
I've got one follow-on question.... In LittleFS is there a way to control the clock speed? In other words, is there a way to increase the write speed? I am shifting some code from SD over to the flash and it looks like the write performance is about the same.
thanks, Mike
Hello! Thanks I lot !
As I see it work!
I bought five of it in one lot https://www.aliexpress.com/item/4000982286896.html
and four of PSRAM (two lot) aliexpress.com/item/4001256372448.htm
It is my first SMD soldering !!! I last soldering before 20 years (I am 58 now).
I bought https://www.ebay.com/itm/223402330119
and I must replace broken heater with
https://www.aliexpress.com/item/32961357282.html
I do that with new iron which i must order https://www.ebay.com/itm/164828888824
And I use repaired iron with
the thinnest tip https://www.ebay.com/itm/402232786613 to
soldering psram and flash chip at 450oC with Sn60Pb40 1mm wire
I am so excited and proud.
Thanks I lot!!!
Zlatko Horvat
LittleFS has some inconclusive warnings when checked with
cppcheck --enable=all --inconclusive