pyspiflash
pyspiflash copied to clipboard
added support for Spansion S25FL1-K 64Mb
We do not have a S25FL1-K 64Mb available, but I found a 16Mb version to perform some tests.
Unfortunately, it is a SL25FL016K, which does not seem compliant with S25FL1-K. Spansion SPI data flash series are notoriously ugly as they may identify with same IDs but expose incompatible instruction set, not mentioning their non-linear erase page size...
Beware that the proposed patch is invalid: 0x40<<20
means 64MB.
64Mb = 8MB, 128Mb = 16MB; I'm not sure what you meant here.
You are right, it should be 0x40<<17 - for 64Mb (8MB)