Other Parts Discussed in Thread: SYSCONFIG, AM2634
Tool/software:
Team,
My customer tried to program Winbond W25Q64JV which is listed as compatible flash memory but is facing write failure.
Customer referred this document and confirmed W25Q64JV is SFDP compatible by perming QSPI flash diag and getting the following log.
[Cortex_R5_0] [QSPI Flash Diagnostic Test] Starting ... [QSPI Flash Diagnostic Test] Flash Manufacturer ID : 0xEF [QSPI Flash Diagnostic Test] Flash Device ID : 0x7017 [QSPI Flash Diagnostic Test] Executing Flash Erase on first block... [QSPI Flash Diagnostic Test] Done !!! [QSPI Flash Diagnostic Test] Performing Write-Read Test... [QSPI Flash Diagnostic Test] Write-Read Test Passed! [QSPI Flash Diagnostic Test] SFDP Information : ================================================ SFDP ================================================ SFDP Major Revision : 0x1 SFDP Minor Revision : 0x5 Number of Parameter Headers in this Table : 1 Types of Additional Parameter Tables in this flash --------------------------------------------------- { "flashSize": "8388608", "flashPageSize": "256", "flashManfId": "0xEF", "flashDeviceId": "0x7017", "flashBlockSize": "65536", "flashSectorSize": "4096", "cmdBlockErase3B": "0xD8", "cmdBlockErase4B": "0xD8", "cmdSectorErase3B": "0x20", "cmdSectorErase4B": "0x20", "protos": { "p111": { "isDtr": false, "cmdRd": "0x03", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 0, "enableType": "0", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null, }, "p112": { "isDtr": false, "cmdRd": "0x3B", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 8, "enableType": "0", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null, }, "p114": { "isDtr": false, "cmdRd": "0x6B", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 8, "enableType": "4", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null, }, "p118": null, "p444s": null, "p444d": null, "p888s": null, "p888d": null, "pCustom": null }, "addrByteSupport": "0", "fourByteAddrEnSeq": "0x80", "resetType": "0x30", "cmdWren": "0x06", "cmdRdsr": "0x05", "srWip": 0, "srWel": 1, "cmdChipErase": "0xC7", "flashDeviceBusyTimeout": 20000000, "flashPageProgTimeout": 704 } All tests have passed!!
Then customer saved JSON part in this file and tried to load it but it doesn't work. The parameters are not updated and error is happening at saving SYSCONFIG.
Looking at the SDK document, there is only Infineon's flash memory. Is the Winbond's W25Q on AM2634?
Regards,
Nobuhiko Wasa