Code: Select all
I (428) exterl_flash: Initializing external SPI Flash
I (438) exterl_flash: Pin assignments:
I (438) exterl_flash: MOSI: 13 MISO: 12 SCLK: 14 CS: 15
I (448) spi_flash: detected chip: generic
I (448) spi_flash: flash io: dio
I (458) exterl_flash: test size = 2 KB
I (458) exterl_flash: Initialized external Flash, size=0 KB, ID=0xef4021
I (468) exterl_flash: Adding external Flash as a partition, label="storage", size=0 KB
I (478) exterl_flash: Listing data partitions:
I (478) exterl_flash: - partition 'nvs', subtype 2, offset 0x9000, size 24 kB
I (488) exterl_flash: - partition 'phy_init', subtype 1, offset 0xf000, size 4 kB
I (498) exterl_flash: - partition 'storage', subtype 129, offset 0x0, size 0 kB
I (508) exterl_flash: Mounting FAT filesystem
E (508) wl_flash: config(108): result = 0x00000102
E (518) wear_levelling: wl_mount: config instance=0x00000000, result=0x102
E (528) vfs_fat_spiflash: failed to mount wear levelling layer. result = 258
E (528) exterl_flash: Failed to mount FATFS (ESP_ERR_INVALID_ARG)
My question is: How do I work with W25Q01JV and what is the max size of external flash esp32 can support?
Thank you