Cannot upload successfully to ESP32-DOWD-V3
Posted: Thu Sep 21, 2023 7:06 am
Hi. Complete beginner here.
Trying to upload a sketch to ESP32-S board. Here is the output from that:
Sketch uses 1035441 bytes (32%) of program storage space. Maximum is 3145728 bytes.
Global variables use 39064 bytes (11%) of dynamic memory, leaving 288616 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:f0:9e:ea:dd:80
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.9s
Compressed 18880 bytes to 13017...
Writing at 0x00001000... (100 %)
Wrote 18880 bytes (13017 compressed) at 0x00001000 in 1.3 seconds (effective 113.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 481.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 833.0 kbit/s)...
Hash of data verified.
Compressed 1041216 bytes to 661740...
Writing at 0x00010000... (2 %)
Writing at 0x0001ab02... (4 %)
Writing at 0x00026485... (7 %)
Writing at 0x00032919... (9 %)
Writing at 0x00037f92... (12 %)
Writing at 0x0003d342... (14 %)
Writing at 0x00042bfa... (17 %)
Writing at 0x0004832b... (19 %)
Writing at 0x0004d4c6... (21 %)
Writing at 0x00053719... (24 %)
Writing at 0x00058fc1... (26 %)
Writing at 0x0005e99b... (29 %)
Writing at 0x00064639... (31 %)
Writing at 0x00069ef4... (34 %)
Writing at 0x0006fba9... (36 %)
Writing at 0x0007542c... (39 %)
Writing at 0x0007a9ca... (41 %)
Writing at 0x00080182... (43 %)
Writing at 0x00085871... (46 %)
Writing at 0x0008b27b... (48 %)
Writing at 0x00090f02... (51 %)
Writing at 0x0009763c... (53 %)
Writing at 0x0009db14... (56 %)
Writing at 0x000a3203... (58 %)
Writing at 0x000a8fa7... (60 %)
Writing at 0x000ae61b... (63 %)
Writing at 0x000b3b76... (65 %)
Writing at 0x000b9678... (68 %)
Writing at 0x000bf5e5... (70 %)
Writing at 0x000c5883... (73 %)
Writing at 0x000cb6e8... (75 %)
Writing at 0x000d10d1... (78 %)
Writing at 0x000d69c3... (80 %)
Writing at 0x000dcc9b... (82 %)
Writing at 0x000e4b58... (85 %)
Writing at 0x000ed6e0... (87 %)
Writing at 0x000f5efd... (90 %)
Writing at 0x000fb3f6... (92 %)
Writing at 0x00100fbe... (95 %)
Writing at 0x001066b5... (97 %)
Writing at 0x0010bf26... (100 %)
Wrote 1041216 bytes (661740 compressed) at 0x00010000 in 58.5 seconds (effective 142.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
The program seems to hang at this point.
When I look at the serial monitor this loop is happening:
ELF file SHA256: b5f127851114a3fc
E (371) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_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:1
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
E (349) spi_flash: Detected size(4096k) smaller than the size in the binary image header(16384k). Probe failed.
assert failed: do_core_init startup.c:326 (flash_ret == ESP_OK)
Backtrace: 0x400836d1:0x3ffe3aa0 0x40092779:0x3ffe3ac0 0x40097d89:0x3ffe3ae0 0x400dd19a:0x3ffe3c10 0x40082dd6:0x3ffe3c40 0x400792ca:0x3ffe3c90 |<-CORRUPTED
Trying to upload a sketch to ESP32-S board. Here is the output from that:
Sketch uses 1035441 bytes (32%) of program storage space. Maximum is 3145728 bytes.
Global variables use 39064 bytes (11%) of dynamic memory, leaving 288616 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:f0:9e:ea:dd:80
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.9s
Compressed 18880 bytes to 13017...
Writing at 0x00001000... (100 %)
Wrote 18880 bytes (13017 compressed) at 0x00001000 in 1.3 seconds (effective 113.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 481.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 833.0 kbit/s)...
Hash of data verified.
Compressed 1041216 bytes to 661740...
Writing at 0x00010000... (2 %)
Writing at 0x0001ab02... (4 %)
Writing at 0x00026485... (7 %)
Writing at 0x00032919... (9 %)
Writing at 0x00037f92... (12 %)
Writing at 0x0003d342... (14 %)
Writing at 0x00042bfa... (17 %)
Writing at 0x0004832b... (19 %)
Writing at 0x0004d4c6... (21 %)
Writing at 0x00053719... (24 %)
Writing at 0x00058fc1... (26 %)
Writing at 0x0005e99b... (29 %)
Writing at 0x00064639... (31 %)
Writing at 0x00069ef4... (34 %)
Writing at 0x0006fba9... (36 %)
Writing at 0x0007542c... (39 %)
Writing at 0x0007a9ca... (41 %)
Writing at 0x00080182... (43 %)
Writing at 0x00085871... (46 %)
Writing at 0x0008b27b... (48 %)
Writing at 0x00090f02... (51 %)
Writing at 0x0009763c... (53 %)
Writing at 0x0009db14... (56 %)
Writing at 0x000a3203... (58 %)
Writing at 0x000a8fa7... (60 %)
Writing at 0x000ae61b... (63 %)
Writing at 0x000b3b76... (65 %)
Writing at 0x000b9678... (68 %)
Writing at 0x000bf5e5... (70 %)
Writing at 0x000c5883... (73 %)
Writing at 0x000cb6e8... (75 %)
Writing at 0x000d10d1... (78 %)
Writing at 0x000d69c3... (80 %)
Writing at 0x000dcc9b... (82 %)
Writing at 0x000e4b58... (85 %)
Writing at 0x000ed6e0... (87 %)
Writing at 0x000f5efd... (90 %)
Writing at 0x000fb3f6... (92 %)
Writing at 0x00100fbe... (95 %)
Writing at 0x001066b5... (97 %)
Writing at 0x0010bf26... (100 %)
Wrote 1041216 bytes (661740 compressed) at 0x00010000 in 58.5 seconds (effective 142.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
The program seems to hang at this point.
When I look at the serial monitor this loop is happening:
ELF file SHA256: b5f127851114a3fc
E (371) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_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:1
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
E (349) spi_flash: Detected size(4096k) smaller than the size in the binary image header(16384k). Probe failed.
assert failed: do_core_init startup.c:326 (flash_ret == ESP_OK)
Backtrace: 0x400836d1:0x3ffe3aa0 0x40092779:0x3ffe3ac0 0x40097d89:0x3ffe3ae0 0x400dd19a:0x3ffe3c10 0x40082dd6:0x3ffe3c40 0x400792ca:0x3ffe3c90 |<-CORRUPTED