Closed nopnop2002 closed 3 years ago
I have same issue with w25q128. ID0-15 of w25q128 is 0x7018 in datasheet. so I changed code like:
case 0x4018: // w25q128 --> case 0x7018: // w25q128
And it works properly.
Hello. thank you for mention it. I edited files.
@nimaltd
W25 has several variations.
w25q128jv is 0x7018
https://datasheet.lcsc.com/szlcsc/Winbond-Elec-W25Q128JVFIQ_C111478.pdf
w25q128fv is 0x4018
Hello.
W25qxx_ReadID() issues a 0x9f command to read the JEDEC ID.
The judgment of w25q512 is based on JEDEC ID.
There is W25Q512JV datasheet. https://www.winbond.com/resource-files/W25Q512JV%20SPI%20RevB%2006252019%20KMS.pdf
In page24, JEDEC ID of W25Q512JV is 4020h.
Is this a datasheet mistake?
Is it not necessary to issue B7H (Enter 4-byte address mode) for W25Q256 and W25Q512?
W25Q512 datasheet description: