Code: Select all
I (334) example: Pin assignments:
I (334) example: MOSI: 23 MISO: 19 SCLK: 18 CS: 5
I (344) spi_flash: detected chip: winbond
I (344) spi_flash: flash io: dio
I (344) example: Initialized external Flash, size=16384 KB, ID=0xef4018
I (354) example: Adding external Flash as a partition, label="storage", size=16384 KB
I (364) example: Listing data partitions:
I (364) example: - partition 'nvs', subtype 2, offset 0x9000, size 24 kB
I (374) example: - partition 'phy_init', subtype 1, offset 0xf000, size 4 kB
I (384) example: - partition 'storage', subtype 129, offset 0x0, size 16384 kB
I (394) example: Mounting FAT filesystem
I (404) example: FAT FS: 16212 kB total, 16208 kB free
I (404) example: Opening file
I (584) example: File written
I (584) example: Reading file
I (584) example: Read from file: 'Written using ESP-IDF v4.3-dev-1901-g178b122c1-dirty'
1. How do i flash this external flash similar like internal flash using the mkspiffs and esptool?
2. Since its is fatfs, is there way to preload the flash content using other tools?
3. i have 'storage', spiffs at 0x180000 offset for internal storage. example: - partition 'storage', subtype 129, offset 0x0, size 16384 kB, what does this mean? is it overrides the internal storage?
Thank you in advance.