Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W25Q32JV测试sfdp成功 #84

Open
wwng2333 opened this issue Oct 28, 2023 · 0 comments
Open

W25Q32JV测试sfdp成功 #84

wwng2333 opened this issue Oct 28, 2023 · 0 comments

Comments

@wwng2333
Copy link

[7.137 637] [SFUD](../../middlewares/sfud/src/sfud.c:117) Start (SFUD) V1.1.0.
[SFUD](../../middlewares/sfud/src/sfud.c:872) The flash device manufacturer ID is 0xEF, memory type ID is 0x40, capacity
             ID is 0x16.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:132) Check SFDP header is OK. The reversion is V1.5, NPN is 0.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:175) Check JEDEC basic flash parameter header is OK. The table id is 0, re
            version is V1.5, length is 16, parameter table pointer is 0x000080.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:203) JEDEC basic flash parameter table info:
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:204) MSB-LSB  3    2    1    0
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0001] 0xFF 0xF9 0x20 0xE5
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0002] 0x01 0xFF 0xFF 0xFF
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0003] 0x6B 0x08 0xEB 0x44
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0004] 0xBB 0x42 0x3B 0x08
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0005] 0xFF 0xFF 0xFF 0xFE
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0006] 0x00 0x00 0xFF 0xFF
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0007] 0xEB 0x40 0xFF 0xFF
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0008] 0x52 0x0F 0x20 0x0C
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:207) [0009] 0x00 0x00 0xD8 0x10
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:215) 4 KB Erase is supported throughout the device. Command is 0x20.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:234) Write granularity is 64 bytes or larger.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:245) Target flash status register is non-volatile.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:271) 3-Byte only addressing.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:305) Capacity is 4194304 Bytes.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:312) Flash device supports 4KB block erase. Command is 0x20.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:312) Flash device supports 32KB block erase. Command is 0x52.
[SFUD](../../middlewares/sfud/src/sfud_sfdp.c:312) Flash device supports 64KB block erase. Command is 0xD8.
[SFUD]Found a Winbond flash chip. Size is 4194304 bytes.
[SFUD](../../middlewares/sfud/src/sfud.c:850) Flash device reset success.
[SFUD]W25Q32JVSIQ flash device initialized successfully.

QSPI未测试,直接使用W25Q32BV的参数初始化也可以用。

#define SFUD_FLASH_DEVICE_TABLE                                                     \
    {                                                                               \
        [SFUD_W25Q32BV_DEVICE_INDEX] = {.name = "W25Q32JVSIQ", .spi.name = "SPI2", .chip = {"W25Q32BV", SFUD_MF_ID_WINBOND, 0x40, 0x16, 4L*1024L*1024L, SFUD_WM_PAGE_256B, 4096, 0x20}}, \
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant