now i want to explain a possible bug with WROVER board ( version 16MB flash)
i am trying to use a simple SPIFFS / LittleFS application, here is the sketch
- void app_main()
- {
- esp_vfs_spiffs_conf_t conf1;
- conf1.base_path = "/w";
- conf1.partition_label = "wifi2";
- conf1.format_if_mount_failed = true;
- conf1.max_files = 10;
- esp_err_t ret;
- ret = esp_vfs_spiffs_register(&conf1);
- if (ret != ESP_OK)
- {
- ESP_LOGE("TAG", "Failed to mount SPIFFS (%s)", esp_err_to_name(ret));
- }
- else
- {
- size_t total;
- size_t used;
- ret = esp_spiffs_info(conf1.partition_label, &total, &used);
- if (ret != ESP_OK)
- {
- ESP_LOGE("TAG", "Failed to get SPIFFS partition information (%s)", esp_err_to_name(ret));
- }
- ESP_LOGI("TAG", "Partition size: total: %.1f KB, used: %.1f KB , free: %.1f KB", ((double)total / 1024), ((double)used / 1024), (((double)total - (double)used) / 1024));
- ESP_LOGI("TAG", "Active partition is set to :(%s)", conf1.partition_label);
- ESP_LOGI("TAG", "Mount OK");
- }
- vTaskDelay(pdMS_TO_TICKS(1500));
- FILE *wifiFile = fopen("/w/config1.txt", "r");
- if (wifiFile == NULL) // no saved file // create new one
- {
- ///////CREATE
- ESP_LOGE("TAG", "No file found..");
- ESP_LOGW("TAG", "Creating new file w/config1.txt .. ");
- wifiFile = fopen("/w/config1.txt", "w+b");
- if (wifiFile == NULL)
- {
- ESP_LOGE("TAG", "File creation failed ... exiting");
- }
- else
- {
- fprintf(wifiFile, " THIS IS A TEST FILE CREATE\n");
- fclose(wifiFile);
- ESP_LOGI("TAG", "file created succefully ...");
- }
- }
- else
- {
- ///////////READ
- char *buffer = (char *)malloc(250);
- while (fgets(buffer, 1024, wifiFile))
- {
- ESP_LOGI("TAG", "Read %s", buffer);
- }
- fclose(wifiFile);
- free(buffer);
- }
- vTaskDelay(pdMS_TO_TICKS(1900));
- /////////////WRITE
- wifiFile = fopen("/w/config1.txt", "a");
- if (wifiFile == NULL)
- {
- ESP_LOGE("TAG", "File open failed ... exiting");
- }
- else
- {
- fprintf(wifiFile, " THIS IS A TEST APPEND FILE\n\r");
- fclose(wifiFile);
- }
- vTaskDelay(pdMS_TO_TICKS(1900));
- /////////////////////READ
- wifiFile = fopen("/w/config1.txt", "r");
- if (wifiFile == NULL)
- {
- ESP_LOGE("TAG", "File open failed ... exiting");
- }
- else
- {
- char *buffer = (char *)malloc(250);
- while (fgets(buffer, 1024, wifiFile))
- {
- ESP_LOGI("TAG", "Read %s", buffer);
- }
- fclose(wifiFile);
- }
- }
Code: Select all
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000 , 0x1000,
factory, app, factory, , 1M,
ota_0, app, ota_0, , 1M,
ota_1, app, ota_1, , 1M,
wifi2, data ,spiffs , , 512k
the problem can be again reproduced by flashing the sketch again or modifying it.
the problem can be produced also by doing a full flash erase and flashing the firmware again.
- i tried exactly the same thing in the same order with the Wroom board with 4MB flash, i couldn't at all reproduce this bug at anytime, neither with SPIFFS nor LittleFS (https://github.com/lorol/LITTLEFS )
- i tried this on two different WROVER-B 16MB board, same result.
-it cant even format
here is the logs
WROOM Borad :
Code: Select all
> Executing task in folder spiffstest: C:\Users\Rami_Domalys\.platformio\penv\Scripts\platformio.exe device monitor <
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on COM3 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ts Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7192
load:0x40078000,len:13072
ho 0 tail 12 room 4
load:0x40080400,len:3896
entry 0x40080688
␛[0;32mI (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader␛[0m
␛[0;32mI (31) boot: compile time 14:18:26␛[0m
␛[0;32mI (31) boot: chip revision: 0␛[0m
␛[0;32mI (35) boot.esp32: SPI Speed : 40MHz␛[0m
␛[0;32mI (39) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (44) boot.esp32: SPI Flash Size : 4MB␛[0m
␛[0;32mI (48) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (54) boot: Partition Table:␛[0m
␛[0;32mI (57) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (65) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (72) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (80) boot: 2 factory factory app 00 00 00010000 00100000␛[0m
␛[0;32mI (87) boot: 3 ota_0 OTA app 00 10 00110000 00100000␛[0m
␛[0;32mI (94) boot: 4 ota_1 OTA app 00 11 00210000 00100000␛[0m
␛[0;32mI (102) boot: 5 wifi2 Unknown data 01 82 00310000 00080000␛[0m
␛[0;32mI (110) boot: End of partition table␛[0m
␛[0;32mI (114) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0646c ( 25708) map␛[0m
␛[0;32mI (133) esp_image: segment 1: paddr=0x00016494 vaddr=0x3ffb0000 size=0x02270 ( 8816) load␛[0m
␛[0;32mI (137) esp_image: segment 2: paddr=0x0001870c vaddr=0x40080000 size=0x00404 ( 1028) load␛[0m
␛[0;32mI (141) esp_image: segment 3: paddr=0x00018b18 vaddr=0x40080404 size=0x07500 ( 29952) load␛[0m
␛[0;32mI (163) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x18534 ( 99636) map␛[0m
␛[0;32mI (201) esp_image: segment 5: paddr=0x0003855c vaddr=0x40087904 size=0x027f4 ( 10228) load␛[0m
␛[0;32mI (211) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (211) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (212) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (216) cpu_start: Application information:␛[0m
␛[0;32mI (221) cpu_start: Project name: spiffstest␛[0m
␛[0;32mI (226) cpu_start: App version: 1␛[0m
␛[0;32mI (231) cpu_start: Compile time: Sep 23 2020 14:17:41␛[0m
␛[0;32mI (237) cpu_start: ELF file SHA256: 89237bb25aa6b195...␛[0m
␛[0;32mI (243) cpu_start: ESP-IDF: 3.40100.200827␛[0m
␛[0;32mI (248) cpu_start: Starting app cpu, entry point is 0x40081054␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
V (258) memory_layout: reserved range is 0x3f406464 - 0x3f40648c␛[0m
D (264) memory_layout: Checking 7 reserved memory ranges:␛[0m
␛[0;32mI (961) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
D (968) heap_init: New heap initialised at 0x3ffae6e0␛[0m
␛[0;32mI (974) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m
D (980) heap_init: New heap initialised at 0x3ffb2a70␛[0m
␛[0;32mI (985) heap_init: At 3FFB2A70 len 0002D590 (181 KiB): DRAM␛[0m
␛[0;32mI (991) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (997) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
D (1004) heap_init: New heap initialised at 0x4008a0f8␛[0m
␛[0;32mI (1009) heap_init: At 4008A0F8 len 00015F08 (87 KiB): IRAM␛[0m
␛[0;32mI (1015) cpu_start: Pro cpu start user code␛[0m
D (1027) clk: RTC_SLOW_CLK calibration value: 3399731␛[0m
V (1037) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1037) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1042) intr_alloc: Connected src 46 to int 2 (cpu 0)␛[0m
V (1048) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1054) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E␛[0m
D (1062) intr_alloc: Connected src 57 to int 3 (cpu 0)␛[0m
V (1068) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1073) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E␛[0m
D (1082) intr_alloc: Connected src 24 to int 9 (cpu 0)␛[0m
D (1087) FLASH_HAL: extra_dummy: 1␛[0m
V (1090) memspi: raw_chip_id: 1640C8
␛[0m
V (1094) memspi: chip_id: C84016
␛[0m
V (1098) memspi: raw_chip_id: 1640C8
␛[0m
V (1101) memspi: chip_id: C84016
␛[0m
D (1105) spi_flash: trying chip: issi␛[0m
D (1109) spi_flash: trying chip: gd␛[0m
␛[0;32mI (1112) spi_flash: detected chip: gd␛[0m
␛[0;32mI (1117) spi_flash: flash io: dio␛[0m
D (1121) chip_generic: set_io_mode: status before 0x0␛[0m
V (1126) chip_generic: set_io_mode: status update 0x0␛[0m
␛[0;32mI (1131) cpu_start: Starting scheduler on PRO CPU.␛[0m
V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args␛[0m
V (5) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E␛[0m
D (14) intr_alloc: Connected src 25 to int 2 (cpu 1)␛[0m
␛[0;32mI (18) cpu_start: Starting scheduler on APP CPU.␛[0m
D (1185) heap_init: New heap initialised at 0x3ffe0440␛[0m
D (1190) heap_init: New heap initialised at 0x3ffe4350␛[0m
V (1195) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1195) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1195) intr_alloc: Connected src 16 to int 12 (cpu 0)␛[0m
D (1215) partition: Loading the partition table␛[0m
␛[0;33mW (1245) SPIFFS: mount failed, -10025. formatting...␛[0m
␛[0;32mI (7133) TAG: Partition size: total: 463.5 KB, used: 0.0 KB , free: 463.5 KB␛[0m
␛[0;32mI (7134) TAG: Active partition is set to :(wifi2)␛[0m
␛[0;32mI (7135) TAG: Mount OK␛[0m
␛[0;31mE (8161) TAG: No file found..␛[0m
␛[0;33mW (8162) TAG: Creating new file w/config1.txt .. ␛[0m
␛[0;32mI (8219) TAG: file created succefully ...␛[0m
␛[0;32mI (10230) TAG: Read THIS IS A TEST FILE CREATE
␛[0m
␛[0;32mI (10230) TAG: Read THIS IS A TEST APPEND FILE␛[0m
---------------
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7192
load:0x40078000,len:13072
ho 0 tail 12 room 4
load:0x40080400,len:3896
entry 0x40080688
␛[0;32mI (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader␛[0m
␛[0;32mI (31) boot: compile time 14:18:26␛[0m
␛[0;32mI (31) boot: chip revision: 0␛[0m
␛[0;32mI (35) boot.esp32: SPI Speed : 40MHz␛[0m
␛[0;32mI (39) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (44) boot.esp32: SPI Flash Size : 4MB␛[0m
␛[0;32mI (48) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (54) boot: Partition Table:␛[0m
␛[0;32mI (57) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (65) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (72) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (80) boot: 2 factory factory app 00 00 00010000 00100000␛[0m
␛[0;32mI (87) boot: 3 ota_0 OTA app 00 10 00110000 00100000␛[0m
␛[0;32mI (94) boot: 4 ota_1 OTA app 00 11 00210000 00100000␛[0m
␛[0;32mI (102) boot: 5 wifi2 Unknown data 01 82 00310000 00080000␛[0m
␛[0;32mI (110) boot: End of partition table␛[0m
␛[0;32mI (114) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0646c ( 25708) map␛[0m
␛[0;32mI (133) esp_image: segment 1: paddr=0x00016494 vaddr=0x3ffb0000 size=0x02270 ( 8816) load␛[0m
␛[0;32mI (137) esp_image: segment 2: paddr=0x0001870c vaddr=0x40080000 size=0x00404 ( 1028) load␛[0m
␛[0;32mI (141) esp_image: segment 3: paddr=0x00018b18 vaddr=0x40080404 size=0x07500 ( 29952) load␛[0m
␛[0;32mI (163) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x18534 ( 99636) map␛[0m
␛[0;32mI (201) esp_image: segment 5: paddr=0x0003855c vaddr=0x40087904 size=0x027f4 ( 10228) load␛[0m
␛[0;32mI (211) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (211) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (212) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (216) cpu_start: Application information:␛[0m
␛[0;32mI (221) cpu_start: Project name: spiffstest␛[0m
␛[0;32mI (226) cpu_start: App version: 1␛[0m
␛[0;32mI (231) cpu_start: Compile time: Sep 23 2020 14:17:41␛[0m
␛[0;32mI (237) cpu_start: ELF file SHA256: 89237bb25aa6b195...␛[0m
␛[0;32mI (243) cpu_start: ESP-IDF: 3.40100.200827␛[0m
␛[0;32mI (248) cpu_start: Starting app cpu, entry point is 0x40081054␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
V (258) memory_layout: reserved range is 0x3f406464 - 0x3f40648c␛[0m
D (264) memory_layout: Checking 7 reserved memory ranges:␛[0m
␛[0;32mI (961) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
D (968) heap_init: New heap initialised at 0x3ffae6e0␛[0m
␛[0;32mI (973) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m
D (980) heap_init: New heap initialised at 0x3ffb2a70␛[0m
␛[0;32mI (985) heap_init: At 3FFB2A70 len 0002D590 (181 KiB): DRAM␛[0m
␛[0;32mI (991) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (997) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
D (1004) heap_init: New heap initialised at 0x4008a0f8␛[0m
␛[0;32mI (1009) heap_init: At 4008A0F8 len 00015F08 (87 KiB): IRAM␛[0m
␛[0;32mI (1015) cpu_start: Pro cpu start user code␛[0m
D (1027) clk: RTC_SLOW_CLK calibration value: 3399040␛[0m
V (1037) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1037) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1042) intr_alloc: Connected src 46 to int 2 (cpu 0)␛[0m
V (1047) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1054) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E␛[0m
D (1062) intr_alloc: Connected src 57 to int 3 (cpu 0)␛[0m
V (1068) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1073) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E␛[0m
D (1082) intr_alloc: Connected src 24 to int 9 (cpu 0)␛[0m
D (1087) FLASH_HAL: extra_dummy: 1␛[0m
V (1090) memspi: raw_chip_id: 1640C8
␛[0m
V (1094) memspi: chip_id: C84016
␛[0m
V (1098) memspi: raw_chip_id: 1640C8
␛[0m
V (1101) memspi: chip_id: C84016
␛[0m
D (1105) spi_flash: trying chip: issi␛[0m
D (1109) spi_flash: trying chip: gd␛[0m
␛[0;32mI (1112) spi_flash: detected chip: gd␛[0m
␛[0;32mI (1117) spi_flash: flash io: dio␛[0m
D (1121) chip_generic: set_io_mode: status before 0x0␛[0m
V (1126) chip_generic: set_io_mode: status update 0x0␛[0m
␛[0;32mI (1131) cpu_start: Starting scheduler on PRO CPU.␛[0m
V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args␛[0m
V (5) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E␛[0m
D (14) intr_alloc: Connected src 25 to int 2 (cpu 1)␛[0m
␛[0;32mI (18) cpu_start: Starting scheduler on APP CPU.␛[0m
D (1185) heap_init: New heap initialised at 0x3ffe0440␛[0m
D (1190) heap_init: New heap initialised at 0x3ffe4350␛[0m
V (1195) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1195) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1195) intr_alloc: Connected src 16 to int 12 (cpu 0)␛[0m
D (1215) partition: Loading the partition table␛[0m
␛[0;32mI (1274) TAG: Partition size: total: 463.5 KB, used: 0.5 KB , free: 463.0 KB␛[0m
␛[0;32mI (1276) TAG: Active partition is set to :(wifi2)␛[0m
␛[0;32mI (1278) TAG: Mount OK␛[0m
␛[0;32mI (2282) TAG: Read THIS IS A TEST FILE CREATE
␛[0m
␛[0;32mI (2282) TAG: Read THIS IS A TEST APPEND FILE␛[0m
␛[0;32mI (4294) TAG: Read THIS IS A TEST FILE CREATE
␛[0m
␛[0;32mI (4294) TAG: Read THIS IS A TEST APPEND FILE THIS IS A TEST APPEND FILE␛[0m
WROOM board now after flashing partition image
Code: Select all
D (1215) partition: Loading the partition table␛[0m
␛[0;32mI (1275) TAG: Partition size: total: 463.5 KB, used: 2.5 KB , free: 461.1 KB␛[0m
␛[0;32mI (1276) TAG: Active partition is set to :(wifi2)␛[0m
␛[0;32mI (1278) TAG: Mount OK␛[0m
␛[0;32mI (2282) TAG: Read {"ssid":"DOMACERTIF","password":"DOMACERTIF","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (2284) TAG: Read {"ssid":"DOMACERTIF1","password":"DOMACERTIF1","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (2297) TAG: Read {"ssid":"DOMACERTIF2","password":"DOMACERTIF2","permanent":1,"priority":250,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (2310) TAG: Read {"ssid":"DOMACERTIF","password":"DOMACERTIF","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (2323) TAG: Read {"ssid":"DOMACERTIF1","password":"DOMACERTIF1","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}␛[0m
␛[0;32mI (6147) TAG: Read {"ssid":"DOMACERTIF","password":"DOMACERTIF","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (6149) TAG: Read {"ssid":"DOMACERTIF1","password":"DOMACERTIF1","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (6162) TAG: Read {"ssid":"DOMACERTIF2","password":"DOMACERTIF2","permanent":1,"priority":250,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (6175) TAG: Read {"ssid":"DOMACERTIF","password":"DOMACERTIF","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0}
␛[0m
␛[0;32mI (6188) TAG: Read {"ssid":"DOMACERTIF1","password":"DOMACERTIF1","permanent":1,"priority":50,"lastConnectionStatus":0,"failCount":0} THIS IS A TEST APPEND FILE
␛[0m
␛[0m32mI (6203) TAG: Read
------ here is the WROVER LOG
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7192
load:0x40078000,len:13072
ho 0 tail 12 room 4
load:0x40080400,len:3896
entry 0x40080688
␛[0;32mI (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader␛[0m
␛[0;32mI (31) boot: compile time 14:18:26␛[0m
␛[0;32mI (31) boot: chip revision: 3␛[0m
␛[0;32mI (35) boot_comm: chip revision: 3, min. bootloader chip revision: 0␛[0m
␛[0;32mI (42) boot.esp32: SPI Speed : 40MHz␛[0m
␛[0;32mI (46) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (51) boot.esp32: SPI Flash Size : 16MB␛[0m
␛[0;32mI (55) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (61) boot: Partition Table:␛[0m
␛[0;32mI (64) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (72) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (79) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (87) boot: 2 factory factory app 00 00 00010000 00100000␛[0m
␛[0;32mI (94) boot: 3 ota_0 OTA app 00 10 00110000 00100000␛[0m
␛[0;32mI (102) boot: 4 ota_1 OTA app 00 11 00210000 00100000␛[0m
␛[0;32mI (109) boot: 5 wifi2 Unknown data 01 82 00310000 00080000␛[0m
␛[0;32mI (117) boot: End of partition table␛[0m
␛[0;32mI (121) boot_comm: chip revision: 3, min. application chip revision: 0␛[0m
␛[0;32mI (128) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0646c ( 25708) map␛[0m
␛[0;32mI (147) esp_image: segment 1: paddr=0x00016494 vaddr=0x3ffb0000 size=0x02270 ( 8816) load␛[0m
␛[0;32mI (151) esp_image: segment 2: paddr=0x0001870c vaddr=0x40080000 size=0x00404 ( 1028) load␛[0m
␛[0;32mI (155) esp_image: segment 3: paddr=0x00018b18 vaddr=0x40080404 size=0x07500 ( 29952) load␛[0m
␛[0;32mI (177) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x18538 ( 99640) map␛[0m
␛[0;32mI (215) esp_image: segment 5: paddr=0x00038560 vaddr=0x40087904 size=0x027f4 ( 10228) load␛[0m
␛[0;32mI (226) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (226) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (227) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (230) cpu_start: Application information:␛[0m
␛[0;32mI (235) cpu_start: Project name: spiffstest␛[0m
␛[0;32mI (241) cpu_start: App version: 1␛[0m
␛[0;32mI (245) cpu_start: Compile time: Sep 23 2020 14:17:41␛[0m
␛[0;32mI (251) cpu_start: ELF file SHA256: 8cb86d5e77b11102...␛[0m
␛[0;32mI (257) cpu_start: ESP-IDF: 3.40100.200827␛[0m
␛[0;32mI (263) cpu_start: Starting app cpu, entry point is 0x40081054␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
D (983) heap_init: New heap initialised at 0x3ffae6e0␛[0m
␛[0;32mI (988) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m
D (994) heap_init: New heap initialised at 0x3ffb2a70␛[0m
␛[0;32mI (999) heap_init: At 3FFB2A70 len 0002D590 (181 KiB): DRAM␛[0m
␛[0;32mI (1005) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (1012) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
D (1018) heap_init: New heap initialised at 0x4008a0f8␛[0m
␛[0;32mI (1024) heap_init: At 4008A0F8 len 00015F08 (87 KiB): IRAM␛[0m
␛[0;32mI (1030) cpu_start: Pro cpu start user code␛[0m
D (1042) clk: RTC_SLOW_CLK calibration value: 3251482␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1057) intr_alloc: Connected src 46 to int 2 (cpu 0)␛[0m
V (1062) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1068) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E␛[0m
D (1076) intr_alloc: Connected src 57 to int 3 (cpu 0)␛[0m
V (1082) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1088) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E␛[0m
D (1096) intr_alloc: Connected src 24 to int 9 (cpu 0)␛[0m
D (1102) FLASH_HAL: extra_dummy: 1␛[0m
V (1105) memspi: raw_chip_id: 1840C8
␛[0m
V (1109) memspi: chip_id: C84018
␛[0m
V (1112) memspi: raw_chip_id: 1840C8
␛[0m
V (1116) memspi: chip_id: C84018
␛[0m
D (1120) spi_flash: trying chip: issi␛[0m
D (1123) spi_flash: trying chip: gd␛[0m
␛[0;32mI (1127) spi_flash: detected chip: gd␛[0m
␛[0;32mI (1131) spi_flash: flash io: dio␛[0m
D (1135) chip_generic: set_io_mode: status before 0x0␛[0m
V (1140) chip_generic: set_io_mode: status update 0x0␛[0m
␛[0;32mI (1145) cpu_start: Starting scheduler on PRO CPU.␛[0m
V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args␛[0m
V (5) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E␛[0m
D (14) intr_alloc: Connected src 25 to int 2 (cpu 1)␛[0m
␛[0;32mI (18) cpu_start: Starting scheduler on APP CPU.␛[0m
D (1199) heap_init: New heap initialised at 0x3ffe0440␛[0m
D (1204) heap_init: New heap initialised at 0x3ffe4350␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1209) intr_alloc: Connected src 16 to int 12 (cpu 0)␛[0m
D (1229) partition: Loading the partition table␛[0m
␛[0;33mW (1253) SPIFFS: mount failed, -10025. formatting...␛[0m
␛[0;31mE (1363) SPIFFS: mount failed, -10025␛[0m
␛[0;31mE (1363) TAG: Failed to mount SPIFFS (ESP_FAIL)␛[0m
␛[0;31mE (2363) TAG: No file found..␛[0m
␛[0;33mW (2363) TAG: Creating new file w/config1.txt .. ␛[0m
␛[0;31mE (2363) TAG: File creation failed ... exiting␛[0m
␛[0;31mE (4266) TAG: File open failed ... exiting␛[0m
␛[0;31mE (6166) TAG: File open failed ... exiting␛[0m
softreset :
--------------
Code: Select all
␛[0;32mI (128) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0646c ( 25708) map␛[0m
␛[0;32mI (147) esp_image: segment 1: paddr=0x00016494 vaddr=0x3ffb0000 size=0x02270 ( 8816) load␛[0m
␛[0;32mI (151) esp_image: segment 2: paddr=0x0001870c vaddr=0x40080000 size=0x00404 ( 1028) load␛[0m
␛[0;32mI (155) esp_image: segment 3: paddr=0x00018b18 vaddr=0x40080404 size=0x07500 ( 29952) load␛[0m
␛[0;32mI (177) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x18538 ( 99640) map␛[0m
␛[0;32mI (215) esp_image: segment 5: paddr=0x00038560 vaddr=0x40087904 size=0x027f4 ( 10228) load␛[0m
␛[0;32mI (226) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (226) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (227) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (230) cpu_start: Application information:␛[0m
␛[0;32mI (235) cpu_start: Project name: spiffstest␛[0m
␛[0;32mI (241) cpu_start: App version: 1␛[0m
␛[0;32mI (245) cpu_start: Compile time: Sep 23 2020 14:17:41␛[0m
␛[0;32mI (251) cpu_start: ELF file SHA256: 8cb86d5e77b11102...␛[0m
␛[0;32mI (257) cpu_start: ESP-IDF: 3.40100.200827␛[0m
␛[0;32mI (263) cpu_start: Starting app cpu, entry point is 0x40081054␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
V (273) memory_layout: reserved range is 0x3f406464 - 0x3f40648c␛[0m
␛[0;32mI (976) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
D (983) heap_init: New heap initialised at 0x3ffae6e0␛[0m
␛[0;32mI (988) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m
D (994) heap_init: New heap initialised at 0x3ffb2a70␛[0m
␛[0;32mI (999) heap_init: At 3FFB2A70 len 0002D590 (181 KiB): DRAM␛[0m
␛[0;32mI (1005) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (1012) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
D (1018) heap_init: New heap initialised at 0x4008a0f8␛[0m
␛[0;32mI (1024) heap_init: At 4008A0F8 len 00015F08 (87 KiB): IRAM␛[0m
␛[0;32mI (1030) cpu_start: Pro cpu start user code␛[0m
D (1042) clk: RTC_SLOW_CLK calibration value: 3251917␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1057) intr_alloc: Connected src 46 to int 2 (cpu 0)␛[0m
V (1062) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1068) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E␛[0m
D (1076) intr_alloc: Connected src 57 to int 3 (cpu 0)␛[0m
V (1082) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1088) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E␛[0m
D (1096) intr_alloc: Connected src 24 to int 9 (cpu 0)␛[0m
D (1102) FLASH_HAL: extra_dummy: 1␛[0m
V (1105) memspi: raw_chip_id: 1840C8
␛[0m
V (1109) memspi: chip_id: C84018
␛[0m
V (1112) memspi: raw_chip_id: 1840C8
␛[0m
V (1116) memspi: chip_id: C84018
␛[0m
D (1120) spi_flash: trying chip: issi␛[0m
D (1123) spi_flash: trying chip: gd␛[0m
␛[0;32mI (1127) spi_flash: detected chip: gd␛[0m
␛[0;32mI (1131) spi_flash: flash io: dio␛[0m
D (1135) chip_generic: set_io_mode: status before 0x0␛[0m
V (1140) chip_generic: set_io_mode: status update 0x0␛[0m
␛[0;32mI (1145) cpu_start: Starting scheduler on PRO CPU.␛[0m
V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args␛[0m
V (5) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E␛[0m
D (14) intr_alloc: Connected src 25 to int 2 (cpu 1)␛[0m
␛[0;32mI (18) cpu_start: Starting scheduler on APP CPU.␛[0m
D (1199) heap_init: New heap initialised at 0x3ffe0440␛[0m
D (1204) heap_init: New heap initialised at 0x3ffe4350␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1209) intr_alloc: Connected src 16 to int 12 (cpu 0)␛[0m
D (1229) partition: Loading the partition table␛[0m
␛[0;33mW (1253) SPIFFS: mount failed, -10025. formatting...␛[0m
␛[0;31mE (1363) SPIFFS: mount failed, -10025␛[0m
␛[0;31mE (1363) TAG: Failed to mount SPIFFS (ESP_FAIL)␛[0m
␛[0;31mE (2363) TAG: No file found..␛[0m
␛[0;33mW (2363) TAG: Creating new file w/config1.txt .. ␛[0m
␛[0;31mE (2363) TAG: File creation failed ... exiting␛[0m
␛[0;31mE (4266) TAG: File open failed ... exiting␛[0m
␛[0;31mE (6166) TAG: File open failed ... exiting␛[0m
--------------------------------------------------------
Code: Select all
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7192
load:0x40078000,len:13072
ho 0 tail 12 room 4
load:0x40080400,len:3896
entry 0x40080688
␛[0;32mI (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader␛[0m
␛[0;32mI (31) boot: compile time 14:18:26␛[0m
␛[0;32mI (31) boot: chip revision: 3␛[0m
␛[0;32mI (35) boot_comm: chip revision: 3, min. bootloader chip revision: 0␛[0m
␛[0;32mI (42) boot.esp32: SPI Speed : 40MHz␛[0m
␛[0;32mI (46) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (51) boot.esp32: SPI Flash Size : 16MB␛[0m
␛[0;32mI (55) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (61) boot: Partition Table:␛[0m
␛[0;32mI (64) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (72) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (79) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (87) boot: 2 factory factory app 00 00 00010000 00100000␛[0m
␛[0;32mI (94) boot: 3 ota_0 OTA app 00 10 00110000 00100000␛[0m
␛[0;32mI (102) boot: 4 ota_1 OTA app 00 11 00210000 00100000␛[0m
␛[0;32mI (109) boot: 5 wifi2 Unknown data 01 82 00310000 00080000␛[0m
␛[0;32mI (117) boot: End of partition table␛[0m
␛[0;32mI (121) boot_comm: chip revision: 3, min. application chip revision: 0␛[0m
␛[0;32mI (128) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0646c ( 25708) map␛[0m
␛[0;32mI (147) esp_image: segment 1: paddr=0x00016494 vaddr=0x3ffb0000 size=0x02270 ( 8816) load␛[0m
␛[0;32mI (151) esp_image: segment 2: paddr=0x0001870c vaddr=0x40080000 size=0x00404 ( 1028) load␛[0m
␛[0;32mI (155) esp_image: segment 3: paddr=0x00018b18 vaddr=0x40080404 size=0x07500 ( 29952) load␛[0m
␛[0;32mI (177) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x18538 ( 99640) map␛[0m
␛[0;32mI (215) esp_image: segment 5: paddr=0x00038560 vaddr=0x40087904 size=0x027f4 ( 10228) load␛[0m
␛[0;32mI (226) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (226) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (227) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (230) cpu_start: Application information:␛[0m
␛[0;32mI (235) cpu_start: Project name: spiffstest␛[0m
␛[0;32mI (241) cpu_start: App version: 1␛[0m
␛[0;32mI (245) cpu_start: Compile time: Sep 23 2020 14:17:41␛[0m
␛[0;32mI (251) cpu_start: ELF file SHA256: 8cb86d5e77b11102...␛[0m
␛[0;32mI (257) cpu_start: ESP-IDF: 3.40100.200827␛[0m
␛[0;32mI (263) cpu_start: Starting app cpu, entry point is 0x40081054␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
␛[0;32mI (976) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
D (983) heap_init: New heap initialised at 0x3ffae6e0␛[0m
␛[0;32mI (988) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m
D (994) heap_init: New heap initialised at 0x3ffb2a70␛[0m
␛[0;32mI (999) heap_init: At 3FFB2A70 len 0002D590 (181 KiB): DRAM␛[0m
␛[0;32mI (1005) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (1012) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
D (1018) heap_init: New heap initialised at 0x4008a0f8␛[0m
␛[0;32mI (1024) heap_init: At 4008A0F8 len 00015F08 (87 KiB): IRAM␛[0m
␛[0;32mI (1030) cpu_start: Pro cpu start user code␛[0m
D (1042) clk: RTC_SLOW_CLK calibration value: 3253914␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1051) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1057) intr_alloc: Connected src 46 to int 2 (cpu 0)␛[0m
V (1062) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1068) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E␛[0m
D (1076) intr_alloc: Connected src 57 to int 3 (cpu 0)␛[0m
V (1082) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1088) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E␛[0m
D (1096) intr_alloc: Connected src 24 to int 9 (cpu 0)␛[0m
D (1102) FLASH_HAL: extra_dummy: 1␛[0m
V (1105) memspi: raw_chip_id: 1840C8
␛[0m
V (1109) memspi: chip_id: C84018
␛[0m
V (1112) memspi: raw_chip_id: 1840C8
␛[0m
V (1116) memspi: chip_id: C84018
␛[0m
D (1120) spi_flash: trying chip: issi␛[0m
D (1123) spi_flash: trying chip: gd␛[0m
␛[0;32mI (1127) spi_flash: detected chip: gd␛[0m
␛[0;32mI (1131) spi_flash: flash io: dio␛[0m
D (1135) chip_generic: set_io_mode: status before 0x0␛[0m
V (1140) chip_generic: set_io_mode: status update 0x0␛[0m
␛[0;32mI (1145) cpu_start: Starting scheduler on PRO CPU.␛[0m
V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args␛[0m
V (5) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E␛[0m
D (14) intr_alloc: Connected src 25 to int 2 (cpu 1)␛[0m
␛[0;32mI (18) cpu_start: Starting scheduler on APP CPU.␛[0m
D (1199) heap_init: New heap initialised at 0x3ffe0440␛[0m
D (1204) heap_init: New heap initialised at 0x3ffe4350␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args␛[0m
V (1209) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE␛[0m
D (1209) intr_alloc: Connected src 16 to int 12 (cpu 0)␛[0m
D (1229) partition: Loading the partition table␛[0m
␛[0;33mW (1253) SPIFFS: mount failed, -10025. formatting...␛[0m
␛[0;32mI (5207) TAG: Partition size: total: 463.5 KB, used: 0.0 KB , free: 463.5 KB␛[0m
␛[0;32mI (5208) TAG: Active partition is set to :(wifi2)␛[0m
␛[0;32mI (5210) TAG: Mount OK␛[0m
␛[0;31mE (6235) TAG: No file found..␛[0m
␛[0;33mW (6236) TAG: Creating new file w/config1.txt .. ␛[0m
␛[0;32mI (6293) TAG: file created succefully ...␛[0m
␛[0;32mI (10104) TAG: Read THIS IS A TEST FILE CREATE
␛[0m
␛[0;32mI (10104) TAG: Read THIS IS A TEST APPEND FILE
␛[0m
␛[0m32mI (10105) TAG: Read
Menuconfig