I am using the flashing tool downloaded the latest to try. I need to be able to flash the devices fast if they need program updates.
It is loading into the device but device never boots. Please see screen shot of the flasher screen and the log in the test file.
ESP32 Flashing tool not working
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: ESP32 Flashing tool not working
Can someone help me here or should I take this to Expressif I need this working ASAP
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 Flashing tool not working
Can you post the boot log? Are you sure the offsets are correct?
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: ESP32 Flashing tool not working
it just keeps repeating the below i attached my partition table below
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x17 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x17 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ets Jun 8 2016 00:22:57
- Attachments
-
- default_16MB.csv
- (268 Bytes) Downloaded 449 times
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: ESP32 Flashing tool not working
This is it working in Arduino
Uploading 'ChatterBoxv1' to 'LOLIN D32 PRO' using 'COM25'
esptool.py v2.6
Serial port COM25
Connecting......
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 98:f47d:bd:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 10922.6 kbit/s)...
Hash of data verified.
Flash params set to 0x024f
Compressed 15856 bytes to 10276...
Writing at 0x00001000... (100 %)
Wrote 15856 bytes (10276 compressed) at 0x00001000 in 0.1 seconds (effective 1006.7 kbit/s)...
Hash of data verified.
Compressed 1265856 bytes to 709502...
Writing at 0x00010000... (2 %)
Writing at 0x00014000... (4 %)
Writing at 0x00018000... (6 %)
Writing at 0x0001c000... (9 %)
Writing at 0x00020000... (11 %)
Writing at 0x00024000... (13 %)
Writing at 0x00028000... (15 %)
Writing at 0x0002c000... (18 %)
Writing at 0x00030000... (20 %)
Writing at 0x00034000... (22 %)
Writing at 0x00038000... (25 %)
Writing at 0x0003c000... (27 %)
Writing at 0x00040000... (29 %)
Writing at 0x00044000... (31 %)
Writing at 0x00048000... (34 %)
Writing at 0x0004c000... (36 %)
Writing at 0x00050000... (38 %)
Writing at 0x00054000... (40 %)
Writing at 0x00058000... (43 %)
Writing at 0x0005c000... (45 %)
Writing at 0x00060000... (47 %)
Writing at 0x00064000... (50 %)
Writing at 0x00068000... (52 %)
Writing at 0x0006c000... (54 %)
Writing at 0x00070000... (56 %)
Writing at 0x00074000... (59 %)
Writing at 0x00078000... (61 %)
Writing at 0x0007c000... (63 %)
Writing at 0x00080000... (65 %)
Writing at 0x00084000... (68 %)
Writing at 0x00088000... (70 %)
Writing at 0x0008c000... (72 %)
Writing at 0x00090000... (75 %)
Writing at 0x00094000... (77 %)
Writing at 0x00098000... (79 %)
Writing at 0x0009c000... (81 %)
Writing at 0x000a0000... (84 %)
Writing at 0x000a4000... (86 %)
Writing at 0x000a8000... (88 %)
Writing at 0x000ac000... (90 %)
Writing at 0x000b0000... (93 %)
Writing at 0x000b4000... (95 %)
Writing at 0x000b8000... (97 %)
Writing at 0x000bc000... (100 %)
Wrote 1265856 bytes (709502 compressed) at 0x00010000 in 11.3 seconds (effective 899.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 3072.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
The upload process has finished.
Uploading 'ChatterBoxv1' to 'LOLIN D32 PRO' using 'COM25'
esptool.py v2.6
Serial port COM25
Connecting......
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 98:f47d:bd:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 10922.6 kbit/s)...
Hash of data verified.
Flash params set to 0x024f
Compressed 15856 bytes to 10276...
Writing at 0x00001000... (100 %)
Wrote 15856 bytes (10276 compressed) at 0x00001000 in 0.1 seconds (effective 1006.7 kbit/s)...
Hash of data verified.
Compressed 1265856 bytes to 709502...
Writing at 0x00010000... (2 %)
Writing at 0x00014000... (4 %)
Writing at 0x00018000... (6 %)
Writing at 0x0001c000... (9 %)
Writing at 0x00020000... (11 %)
Writing at 0x00024000... (13 %)
Writing at 0x00028000... (15 %)
Writing at 0x0002c000... (18 %)
Writing at 0x00030000... (20 %)
Writing at 0x00034000... (22 %)
Writing at 0x00038000... (25 %)
Writing at 0x0003c000... (27 %)
Writing at 0x00040000... (29 %)
Writing at 0x00044000... (31 %)
Writing at 0x00048000... (34 %)
Writing at 0x0004c000... (36 %)
Writing at 0x00050000... (38 %)
Writing at 0x00054000... (40 %)
Writing at 0x00058000... (43 %)
Writing at 0x0005c000... (45 %)
Writing at 0x00060000... (47 %)
Writing at 0x00064000... (50 %)
Writing at 0x00068000... (52 %)
Writing at 0x0006c000... (54 %)
Writing at 0x00070000... (56 %)
Writing at 0x00074000... (59 %)
Writing at 0x00078000... (61 %)
Writing at 0x0007c000... (63 %)
Writing at 0x00080000... (65 %)
Writing at 0x00084000... (68 %)
Writing at 0x00088000... (70 %)
Writing at 0x0008c000... (72 %)
Writing at 0x00090000... (75 %)
Writing at 0x00094000... (77 %)
Writing at 0x00098000... (79 %)
Writing at 0x0009c000... (81 %)
Writing at 0x000a0000... (84 %)
Writing at 0x000a4000... (86 %)
Writing at 0x000a8000... (88 %)
Writing at 0x000ac000... (90 %)
Writing at 0x000b0000... (93 %)
Writing at 0x000b4000... (95 %)
Writing at 0x000b8000... (97 %)
Writing at 0x000bc000... (100 %)
Wrote 1265856 bytes (709502 compressed) at 0x00010000 in 11.3 seconds (effective 899.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 3072.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
The upload process has finished.
-
- Posts: 12
- Joined: Mon Aug 17, 2020 1:39 pm
Re: ESP32 Flashing tool not working
Is there someone that I can contact to help on this.
-
- Posts: 5
- Joined: Tue Oct 27, 2020 11:47 am
Re: ESP32 Flashing tool not working
If you are running from battery you might need to do a " RTS reset". it is a way to reboot the ESP32 using the RTS signal of the serial link used to flash the device. On my design, RTS pin of the CP2102 IC is connected to the ESP32 and is doing that.
After flashing with ESP32FLASHTOOL, I need to use a serial terminal and activate the RTS signal. Putty seems to do that automatically, so just connecting to putty wakes up the ESP32, after you can disconnect.
It would be nice to have that included in ESP32flashtool... let me know if it helped.
David
After flashing with ESP32FLASHTOOL, I need to use a serial terminal and activate the RTS signal. Putty seems to do that automatically, so just connecting to putty wakes up the ESP32, after you can disconnect.
It would be nice to have that included in ESP32flashtool... let me know if it helped.
David
Re: ESP32 Flashing tool not working
I realize this is late, but I was messing with the tool today and found in the configure file you can set ESPtool parameters. I set the after from the default no_reset to hard_reset and after programming, it now resets the device after programming.
I hope this helps anyone else that wonders across this thread.
Mike.
I hope this helps anyone else that wonders across this thread.
Mike.
Who is online
Users browsing this forum: No registered users and 54 guests