espressif / esptool

Espressif SoC serial bootloader utility
https://docs.espressif.com/projects/esptool
GNU General Public License v2.0
5.6k stars 1.39k forks source link

esptool won't flash after failed upload (ESPTOOL-718) #902

Closed i-e-b closed 1 year ago

i-e-b commented 1 year ago

Operating System

Xubuntu 22.04.2 LTS

Esptool Version

v5.2-dev-1890-g28167ea5a3

Python Version

Python 3.10.6

Chip Description

ESP32-WROVER-E

Device Description

Lilygo T-SIM A7670E development board

Hardware Configuration

Serial RX/TX connected only via USB/RS232 bridge. No on-board USB used. Power is from a bench-top power supply.

How is Esptool Run

via Terminal (bash) and CLion

Full Esptool Command Line that Was Run

esptool.py -c esp32 -p /dev/ttyUSB0 -b 115200 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 build/bootloader/bootloader.bin 0x10000 build/LilygoEspIdf.bin 0x8000 build/partition_table/partition-table.bin

Esptool Output

Variants of A fatal error occurred: Invalid head of packet (0x01): Possible serial noise or corruption. and esptool.util.UnsupportedCommandError: Invalid (unsupported) command 0x5

More Information

The setup has been working for a few days. I had one upload fail (possibly causing the issue, possibly triggered by underlying issue)

Now, if I connect via serial monitor, I get a very clean signal. The module repeats this on a normal boot:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

If I boot with GPIO0, I get

rst:0x10 (RTCWDT_RTC_RESET),boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2))
waiting for download
ets Jul 29 2019 12:21:46

All serial very clean.

Running an upload with trace:

TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=00100040
TRACE +0.000 Write 14 bytes: c0000a04000000000000100040c0
TRACE +0.000 Received full packet: 010804000712205501050000
Chip is ESP32 in Secure Download Mode
WARNING: Stub loader is not supported in Secure Download Mode, setting --no-stub
Enabling default SPI flash mode...
TRACE +0.000 command op=0x0d data len=8 wait_response=1 timeout=3.000 data=0000000000000000
TRACE +0.000 Write 18 bytes: 
    c0000d0800000000 0000000000000000 | ................
    00c0                              | ..
TRACE +0.000 Read 36 bytes: 
    01050000c0c00108 0400071220550105 | ............ U..
    0000c0c001080400 0712205501050000 | .......... U....
    c0c00118                          | ....
TRACE +0.000 Read invalid data: 
    01050000c0c00108 0400071220550105 | ............ U..
    0000c0c001080400 0712205501050000 | .......... U....
    c0c00118                          | ....
TRACE +0.000 Remaining data in serial buffer: 

A fatal error occurred: Invalid head of packet (0x01): Possible serial noise or corruption.

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

i-e-b commented 1 year ago

Full trace of one of the Invalid (unsupported) command 0x5 runs:

$ esptool.py --trace -c esp32 -p /dev/ttyUSB0 -b 115200 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 build/bootloader/bootloader.bin 0x10000 build/LilygoEspIdf.bin 0x8000 build/partition_table/partition-table.bin
esptool.py v4.6.2
Serial port /dev/ttyUSB0
Connecting...TRACE +0.000 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes: 
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.100 No serial data received.
.TRACE +0.051 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes: 
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.100 No serial data received.
.TRACE +0.051 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes: 
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.100 No serial data received.
.TRACE +0.050 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
    0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    55555555                          | UUUU
TRACE +0.000 Write 46 bytes: 
    c000082400000000 0007071220555555 | ...$........ UUU
    5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
    5555555555555555 5555555555c0     | UUUUUUUUUUUUU.
TRACE +0.025 Read 1 bytes: c0
TRACE +0.000 Read 111 bytes: 
    0108040007122055 00000000c0c00108 | ...... U........
    0400071220550000 0000c0c001080400 | .... U..........
    0712205500000000 c0c0010804000712 | .. U............
    205500000000c0c0 0108040007122055 |  U............ U
    00000000c0c00108 0400071220550000 | ............ U..
    0000c0c001080400 0712205500000000 | .......... U....
    c0c0010804000712 205500000000c0   | ........ U.....
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000
TRACE +0.000 Received full packet: 010804000712205500000000

TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=00100040
TRACE +0.000 Write 14 bytes: c0000a04000000000000100040c0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a0400831df00000000000c0
TRACE +0.000 Received full packet: 010a0400831df00000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=0ca0f53f
TRACE +0.000 Write 14 bytes: c0000a0400000000000ca0f53fc0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040000a2000000000000c0
TRACE +0.000 Received full packet: 010a040000a2000000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=0ca0f53f
TRACE +0.000 Write 14 bytes: c0000a0400000000000ca0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040000a2000000000000c0
TRACE +0.000 Received full packet: 010a040000a2000000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=14a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000014a0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04000000100000000000c0
TRACE +0.000 Received full packet: 010a04000000100000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=7c60f63f
TRACE +0.000 Write 14 bytes: c0000a0400000000007c60f63fc0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04000020049600000000c0
TRACE +0.000 Received full packet: 010a04000020049600000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=14a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000014a0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04000000100000000000c0
TRACE +0.000 Received full packet: 010a04000000100000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=0ca0f53f
TRACE +0.000 Write 14 bytes: c0000a0400000000000ca0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040000a2000000000000c0
TRACE +0.000 Received full packet: 010a040000a2000000000000
Chip is ESP32-D0WD-V3 (revision v3.0)
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=0ca0f53f
TRACE +0.000 Write 14 bytes: c0000a0400000000000ca0f53fc0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040000a2000000000000c0
TRACE +0.000 Received full packet: 010a040000a2000000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=0ca0f53f
TRACE +0.000 Write 14 bytes: c0000a0400000000000ca0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040000a2000000000000c0
TRACE +0.000 Received full packet: 010a040000a2000000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=10a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000010a0f53fc0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04003902000000000000c0
TRACE +0.000 Received full packet: 010a04003902000000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=18a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000018a0f53fc0
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04000400000000000000c0
TRACE +0.000 Received full packet: 010a04000400000000000000
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=1400f43f
TRACE +0.000 Write 14 bytes: c0000a0400000000001400f43fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a04005c01800000000000c0
TRACE +0.000 Received full packet: 010a04005c01800000000000
Crystal is 40MHz
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=08a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000008a0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a0400e694e30000000000c0
TRACE +0.000 Received full packet: 010a0400e694e30000000000
TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=04a0f53f
TRACE +0.000 Write 14 bytes: c0000a04000000000004a0f53fc0
TRACE +0.016 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 010a040048a3a68600000000c0
TRACE +0.000 Received full packet: 010a040048a3a68600000000
MAC: 94:e6:86:a6:a3:48
Uploading stub...
TRACE +0.001 command op=0x05 data len=16 wait_response=1 timeout=3.000 data=680d0000010000000018000000e00b40
TRACE +0.000 Write 26 bytes: 
    c000051000000000 00680d0000010000 | .........h......
    000018000000e00b 40c0             | ........@.
TRACE +0.015 Read 1 bytes: c0
TRACE +0.000 Read 13 bytes: 0105040048a3a68600000000c0
TRACE +0.000 Received full packet: 0105040048a3a68600000000
TRACE +0.001 command op=0x07 data len=3448 wait_response=1 timeout=3.000 data=
    680d000000000000 0000000000000000 | h...............
    0800f43f1c00f43f 0000f43f00c0fc3f | ...?...?...?...?
    1000f43f36410021 faffc02000380241 | ...?6A.!... .8.A
    f9ffc02000280420 20749ce206050000 | ... .(.  t......
    0041f5ff81f6ffc0 2000a8048808a0a0 | .A...... .......
    74e008000b226602 e786f4ff21f1ffc0 | t...."f.....!...
    200039021df00000 a0ebfd3f186bfd3f |  .9........?.k.?
    8480000040400000 58abfd3fa4ebfd3f | ....@@..X..?...?
    364100b1f9ff20a0 74101120a5c80096 | 6A.... .t.. ....
    1a0681f6ff92a101 9099119a98c02000 | .............. .
    b80991f3ffa0a074 9a88c02000921800 | .......t... ....
    9090f41bc9c0c0f4 c02000c258009a9b | ......... ..X...
    c02000a24900c020 0092180081eaff90 | . ..I.. ........
    90f48080f4879947 81e5ff92a1019099 | .......G........
    119a98c02000c809 a1e5ffb1e3ff879c | .... ...........
    17c601007ce8871a dec60800c0200089 | ....|........ ..
    0ac02000b9094602 00c02000b90ac020 | .. ...F... .... 
    00890991d7ff9a88 0c09c02000925800 | ........... ..X.
    1df00000f820f43f f830f43f36410091 | ..... .?.0.?6A..
    fdffc02000880980 80245648ff91faff | ... .....$VH....
    c020008809808024 5648ff1df0000000 | . .....$VH......
    1020f43f0020f43f 0000000836410010 | . .?. .?....6A..
    1120a5fcff21faff 0c08c02000826200 | . ...!..... ..b.
    91faff81f8ffc020 00926800c0200098 | ....... ..h.. ..
    085679ffc0200088 027cf28022302020 | .Vy.. ...|.."0  
    041df00000000040 364100101120e5fb | .......@6A... ..
    ff166aff81ecff91 fbffc02000926800 | ..j........ ..h.
    c0200098085679ff 1df000000c40fd3f | . ...Vy......@.?
    ffffff000420f43f 36410021fcff3842 | ..... .?6A.!..8B
    16830610112065f8 ff16fa050cf80c04 | ..... e.........
    37a80d9822809910 82a0019048834040 | 7...".......H.@@
    7410112025faff10 112025f3ff88220c | t.. %.... %...".
    1b40981190ab01cc 1480ab01b1edffb0 | .@..............
    9910b1ecffc02000 926b0091ceffc020 | ...... ..k..... 
    00a26900c02000a8 09567aff1c090c1a | ..i.. ...Vz.....
    409a839033c09a88 394289221df00000 | @...3...9B."....
    2c920040364100a2 a0c081fdffe00800 | ,..@6A..........
    1df0000036410082 a0c0ad02879211a2 | ....6A..........
    a0db81f7ffe00800 a2a0dc4604000000 | ...........F....
    0082a0db87920881 f2ffe00800a2a0dd | ................
    81f0ffe008001df0 3641003a32c60200 | ........6A.:2...
    00a202001b221011 20a5fbff3792f11d | .....".. ...7...
    f00000007cda0540 d82e06409cda0540 | ....|..@...@...@
    1cdb0540362121a2 d11081faffe00800 | ...@6!!.........
    460b0000000c1440 4411404363cd04bd | F......@D.@Cc...
    01ad0281f5ffe008 00a0a074fc5acd04 | ...........t.Z..
    10b120a2d11081f1 ffe008004a224033 | .. .........J"@3
    c05603fd22a20b10 22b020a220b2d110 | .V.."...". . ...
    81ecffe00800ad02 1c0b101120a5f7ff | ............ ...
    2d0386000022a063 1df00000fc670040 | -....".c.....g.@
    d092004008680040 36412162a107c066 | ...@.h.@6A!b...f
    111a6659062c0a62 d1100c0552661a81 | ..fY.,.b....Rf..
    f7ffe008000c1840 881147b802464500 | .......@..G..FE.
    ad0681d4ffe00800 8634000092a41d50 | .........4.....P
    73c0e099111a9940 77638909cd07bd01 | s......@wc......
    20a22081cdffe008 0092a41de099111a |  . .............
    99a0a07488098caa 0c088266167d0886 | ...t.......f.}..
    1600000092a41de0 9911109980826900 | ..............i.
    10112025eaffbd07 ad01101120a5edff | .. %........ ...
    10112025e9ffcd07 10b12060a62081bb | .. %...... `. ..
    ffe0080092a41de0 99111a9988097022 | ..............p"
    8070558037b5b092 a107c099111a9998 | .pU.7...........
    098075c097b70246 dcff86e6ff0c0882 | ..u....F........
    466ca2a41b10aaa0 81caffe00800560a | Fl............V.
    ffb2a20ba2066c10 bbb0101120a59000 | ......l..... ...
    f7ea12f6470fb2a2 0d10bbb07abba24b | ....G.......z..K
    001b7786f1ff7ceb b79ac16647088226 | ..w...|....fG..&
    1a37b80287b59c22 a20b1022b060b620 | .7....."...".`. 
    ad02819bffe00800 101120a5dfffad02 | .......... .....
    1c0b10112025e3ff 101120a5deff2c0a | .... %.... ...,.
    81b1ffe008001df0 0820f43f70e2fa3f | ......... .?p..?
    48240640f0220640 366100101120e5ca | H$.@.".@6a... ..
    ff10a12081fbffe0 08003d0a0c12fc2a | ... ......=....*
    880192a200908810 8901101120a5cfff | ............ ...
    91f2ffa0a201c020 00822900a08820c0 | ....... ..)... .
    2000826900b22100 a1edff81eeffe008 |  ..i..!.........
    00a023831df00000 ff0f000036410081 | ..#.........6A..
    3bff0c1992480030 9c41992891fbff39 | ;....H.0.A.(...9
    1829383030b49a22 2a33303c410c0229 | .)800.."*30<A..)
    58394810112025f8 ff2d0a8c1a22a0c5 | X9H.. %..-..."..
    1df00000502d0640 364100412cff5834 | ....P-.@6A.A,.X4
    5033631663045814 5a53505c41460100 | P3c.c.X.ZSP\AF..
    10112065caff8844 a61804882487a5ef | .. e...D....$...
    101120a5c2ff166a ffa814cd03bd0281 | .. ....j........
    f1ffe00800a0a074 8c4a52a0c4526405 | .......t.JR..Rd.
    58143a5559145834 3055c059341df000 | X.:UY.X40U.Y4...
    00c0fc3f4f484149 a8ebfd3f70e00b40 | ...?OHAI...?p..@
    14e00b400c00f43f 3840f43fffff0000 | ...@...?8@.?....
    8c80000010400000 acebfd3fbcebfd3f | .....@.....?...?
    04c0fc3f08c0fc3f 04ecfd3f1400f43f | ...?...?...?...?
    f0ffff00a8ebfd3f 0cc0fc3f2440fd3f | .......?...?$@.?
    7c680040ec670040 588600406c2a0640 | |h.@.g.@X..@l*.@
    38320640142c0640 cc2c06404c2c0640 | 82.@.,.@.,.@L,.@
    34850040cc900040 782e064030ef0540 | 4..@...@x..@0..@
    589200404c820040 36c10021deff0c0a | X..@L..@6..!....
    22610842a00081ee ffe0080021d9ff31 | "a.B........!..1
    daffc6000049024b 223732f810112065 | .....I.K"72... e
    c3ff0c4ba2c12010 1120e5c6ff22a101 | ...K.. .. ..."..
    10112025c2ff5191 fe9022112a2531cf | .. %..Q...".*%1.
    ffb1cfffc0200059 022178fe0c0c0c5a | ..... .Y.!x....Z
    32620081dcffe008 0031caff42a101c0 | 2b.......1..B...
    200028032c0a4022 20c0200029038131 |  .(.,.@" . .)..1
    ffe0080081d5ffe0 080021c3ffc02000 | ..........!... .
    2802ccba1cc33022 1022c2f80c1320a3 | (.....0".".... .
    830c0b81ceffe008 00f1bcff0c1dc2a0 | ................
    01b2a001e2a10040 dd1100cc1180bb01 | .......@........
    a2a00081c7ffe008 0021b5ff61c4fe2a | .........!..a..*
    5572d62bc0200028 051672ffc0200038 | Ur.+. .(..r.. .8
    050c040c12c02000 4905224110220301 | ...... .I."A."..
    0c28224111825109 49512692071c3447 | .("A..Q.IQ&...4G
    121dc60700220303 4203028022114022 | ....."..B...".@"
    206642102823c020 0028022951060100 |  fB.(#. .(.)Q...
    1c22225109101120 a5b3ff0c8ba2c110 | .""Q... ........
    10112065b7ff8203 0322030280881120 | .. e....."..... 
    88202198ff2020f4 87b21ca2a0c01011 | . !..  .........
    2025b2ffa2a0ee10 1120a5b1ff101120 |  %....... ..... 
    25b0ff46dbff0000 2203011c34273434 | %..F...."...4'44
    f6221846db000000 22c22f202074f642 | .".F...."./  t.B
    704189ff4022a028 02a0020022c2fe20 | pA..@".(....".. 
    20741c1427b40246 d2004184ff4022a0 |  t..'..F..A..@".
    2802a0020042c230 404074b654c986cc | (....B.0@@t.T...
    002c490c0422a0c0 97180286ca004951 | .,I.."........IQ
    0c72ad04101120e5 aaffad0410112065 | .r.... ....... e
    aaff101120e5a8ff 101120a5a8ff0c8b | .... ..... .....
    a2c11022c2ff1011 20e5abff5622fd46 | ...".... ...V".F
    28000c1256682e82 610f817affe00800 | (...Vh..a..z....
    88f1a0288346b500 2688050c1246b300 | ...(.F..&....F..
    0048232833208420 8080b456c8fe1011 | .H#(3 . ...V....
    2065c7ff2a449c1a c6f7ff00a0ac4181 |  e..*D........A.
    6effe00800562afd 22d2f020a4c0cc22 | n....V*.".. ..."
    06880000a080f456 18fe860400a0a0f5 | .......V........
    89f18166ffe00800 88f156dafa8022c0 | ...f......V...".
    0c1800881120a4c0 2738e10604000000 | ..... ..'8......
    a0ac41815dffe008 0056eaf822d2f020 | ..A.]....V..".. 
    a4c056a2fec67600 000c0422a0c02688 | ..V...v...."..&.
    020695000c042d04 46930026b8f50669 | ......-.F..&...i
    000c1226b802068d 00b833a8230c0410 | ...&......3.#...
    112025a2ffa02483 8688000c1966b85c | . %...$......f.\
    884320a9110c0422 a0c287ba02068600 | .C ...."........
    b853a2230292610e 10112025c1ff98e1 | .S.#..a... %....
    a09483860d000c19 66b831884320a911 | ........f.1.C ..
    0c0422a0c287ba02 467b002833b853a8 | ..".....F{.(3.S.
    2320488299e11011 2025beff2134fe0c | # H..... %..!4..
    0898e1896222d22b 4922a098832d09c6 | ....b".+I"...-..
    6e00912efe0c04a2 090022a0c6479a02 | n........."..G..
    466d00482382c8f0 22a0c08794012859 | Fm.H#...".....(Y
    0c0492a0ef460200 4aa3a20a181b44a0 | .....F..J.....D.
    99308724f2820305 4203048088114088 | .0.$....B.....@.
    2042030600441180 4420820307808801 |  B...D..D ......
    4088208099c082a0 c10c04902893c659 | @. .........(..Y
    008116fe22a0c692 08004d0916991598 | ....".....M.....
    380c0422a0c84719 0206530028589248 | 8.."..G...S.(X.H
    00464e001c890c04 0c12971802064e00 | .FN...........N.
    f873e863d853c843 b833a8238109ffe0 | .s.c.S.C.3.#....
    08000c084d0aa028 8306470000000c12 | ....M..(..G.....
    264802c64100a823 0c0b8100ffe00800 | &H..A..#........
    0620000000008090 340c0422a0c04719 | . ......4.."..G.
    02063d008084418b b37cfcc60e00a83b | ..=...A..|.....;
    89f199e1b9c1c9d1 81fafee00800b8c1 | ................
    88f1282b481ba80b 98e1c8d140421026 | ..(+H.......@B.&
    020dc02000d80a20 2c30d02210204420 | ... ... ,0.". D 
    c02000490a1b99b2 cb108739c0c694ff | . .I.......9....
    6648024693ff0c04 22a0c08626000c12 | fH.F...."...&...
    26b802c6210021d6 fe88534823890221 | &...!.!...SH#..!
    d5fe49020c02061d 00b1d1fe0c04d80b | ..I.............
    0c1a82c8f09d042d 04802a93d09a8320 | .......-..*.... 
    991022a0c6479960 c1cbfe4d09e80c22 | .."..G.`...M..."
    a0c9873e5380f014 22a0c056af042d09 | ...>S..."..V..-.
    860200002a939869 4b2299049d0a20fe | ....*..iK".... .
    c02a4d8732ed16a9 ddf90c490bc674ff | .*M.2......I..t.
    0c1266881821bbfe 8222008c1882a0c8 | ..f..!..."......
    0c04490221b7fe49 020c128024830c04 | ..I.!..I....$...
    460100000c0422a0 ff20a07410112065 | F.....".. .t.. e
    78ff40a074101120 a577ff1011206576 | x.@.t.. .w... ev
    ff56f2bc2203011c 2427341ff6320246 | .V.."...$'4..2.F
    f0fe22c2fd202074 0cf427b402c6ecfe | .."..  t..'.....
    41a6fe4022a02802 a002000042a0d247 | A..@".(.....B..G
    124f42a0d4471277 06e6fe8833a2a271 | .OB..G.w....3..q
    c0aa11482389f181 aafee00800219bfe | ...H#........!..
    919cfec020002802 88f1203435c02211 | .... .(... 45.".
    9022102023208022 820c0a40b2c281a1 | .". # ."...@....
    fee00800a2a3e881 9efee00800c6d4fe | ................
    0000d853c843b833 a823101120a57bff | ...S.C.3.#.. .{.
    06d0fe00b2030322 030280bb1120bb20 | ......."..... . 
    b2cbf0a2c3181011 20e597ff06c9fe00 | ........ .......
    2203034203028022 114022204188fd22 | "..B...".@" A.."
    c2f0883480226316 92b088148a82808c | ...4."c.........
    4146020089f11011 20e560ff88f19844 | AF...... .`....D
    a61904982497a8eb 1011202559ff166a | ....$..... %Y..j
    ffa814cd02b2c318 8180fee008008c3a | ...............:
    32a0c4395438142a 33391438342023c0 | 2..9T8.*39.84 #.
    293486affe220303 82030242c3188022 | )4...".....B..."
    11383680222022c2 f056c309f6520286 | .86." "..V...R..
    250022a0c9462a00 3163fe8168fde803 | %."..F*.1c..h...
    2971e088c0896188 27ad0987b2010c3a | )q....a.'......:
    99e1a9d1e9c11011 20e558ffa8d1815a | ........ .X....Z
    fea901e8c1a159fe dd08bd04c2c11cf2 | ......Y.........
    c11889f18162fee0 0800b827cd0aa871 | .....b.....'...q
    98e1a0bbc0b927a0 22c0b803aa44a861 | ......'."....D.a
    88f1aabb0c0ab903 c0a98380bbc0a0d0 | ................
    74cc9ae2db80ad0d e0a98316ea01ad08 | t...............
    89f199e1c9d11011 20e586ff88f198e1 | ........ .......
    c8d1890346010000 000c1c9d0c8cb238 | ....F..........8
    368c73c03f31c033 c096b3f5d67c0022 | 6.s.?1.3.....|."
    a0c72956067bfe56 9c9e283616429e22 | ..)V.{.V..(6.B."
    a0c806fbffa82356 9a9d8141fee00800 | ......#V...A....
    a2a271c0aa11813a fee00800813efee0 | ..q....:.....>..
    0800866ffe000028 3316729b0c0a8138 | ...o...(3.r....8
    fee00800a2a3e881 32fee00800e00200 | ........2.......
    0668fe1df0000000 3641009d0282a0c0 | .h......6A......
    280387990fcc320c 128607000c022903 | (.....2.......).
    7ce2860f00261207 2622188603000000 | |....&..&"......
    82a0db8029238799 2a0c2229037cf246 | ....)#..*.").|.F
    0800000022a0dc27 990a0c1229032d08 | ...."..'....).-.
    060400000082a0dd 7cf28799060c1229 | ........|......)
    0322a0db1df00000                  | ."......
TRACE +0.007 Write 3548 bytes: 
    c00007780de70000 00680d0000000000 | ...x.....h......
    0000000000000000 000800f43f1c00f4 | ............?...
    3f0000f43f00dbdc fc3f1000f43f3641 | ?...?....?...?6A
    0021faffdbdc2000 380241f9ffdbdc20 | .!.... .8.A.... 
    0028042020749ce2 060500000041f5ff | .(.  t.......A..
    81f6ffdbdc2000a8 048808a0a074e008 | ..... .......t..
    000b226602e786f4 ff21f1ffdbdc2000 | .."f.....!.... .
    39021df00000a0eb fd3f186bfd3f8480 | 9........?.k.?..
    00004040000058ab fd3fa4ebfd3f3641 | ..@@..X..?...?6A
    00b1f9ff20a07410 1120a5c800961a06 | .... .t.. ......
    81f6ff92a1019099 119a98dbdc2000b8 | ............. ..
    0991f3ffa0a0749a 88dbdc2000921800 | ......t.... ....
    9090f41bc9dbdcdb dcf4dbdc2000c258 | ............ ..X
    009a9bdbdc2000a2 4900dbdc20009218 | ..... ..I... ...
    0081eaff9090f480 80f487994781e5ff | ............G...
    92a1019099119a98 dbdc2000c809a1e5 | .......... .....
    ffb1e3ff879c17c6 01007ce8871adec6 | ..........|.....
    0800dbdc2000890a dbdc2000b9094602 | .... ..... ...F.
    00dbdc2000b90adb dc2000890991d7ff | ... ..... ......
    9a880c09dbdc2000 9258001df00000f8 | ...... ..X......
    20f43ff830f43f36 410091fdffdbdc20 |  .?.0.?6A...... 
    0088098080245648 ff91faffdbdc2000 | .....$VH...... .
    88098080245648ff 1df00000001020f4 | ....$VH....... .
    3f0020f43f000000 08364100101120a5 | ?. .?....6A... .
    fcff21faff0c08db dc200082620091fa | ..!...... ..b...
    ff81f8ffdbdc2000 926800dbdc200098 | ...... ..h... ..
    085679ffdbdc2000 88027cf280223020 | .Vy... ...|.."0 
    20041df000000000 40364100101120e5 |  .......@6A... .
    fbff166aff81ecff 91fbffdbdc200092 | ...j......... ..
    6800dbdc20009808 5679ff1df000000c | h... ...Vy......
    40fd3fffffff0004 20f43f36410021fc | @.?..... .?6A.!.
    ff38421683061011 2065f8ff16fa050c | .8B..... e......
    f80c0437a80d9822 80991082a0019048 | ...7...".......H
    8340407410112025 faff10112025f3ff | .@@t.. %.... %..
    88220c1b40981190 ab01cc1480ab01b1 | ."..@...........
    edffb09910b1ecff dbdc2000926b0091 | .......... ..k..
    ceffdbdc2000a269 00dbdc2000a80956 | .... ..i... ...V
    7aff1c090c1a409a 839033dbdc9a8839 | z.....@...3....9
    4289221df000002c 920040364100a2a0 | B."....,..@6A...
    dbdc81fdffe00800 1df0000036410082 | ............6A..
    a0dbdcad02879211 a2a0dbdd81f7ffe0 | ................
    0800a2a0dc460400 00000082a0dbdd87 | .....F..........
    920881f2ffe00800 a2a0dd81f0ffe008 | ................
    001df03641003a32 c6020000a202001b | ...6A.:2........
    22101120a5fbff37 92f11df00000007c | ".. ...7.......|
    da0540d82e06409c da05401cdbdd0540 | ..@...@...@....@
    362121a2d11081fa ffe00800460b0000 | 6!!.........F...
    000c144044114043 63cd04bd01ad0281 | ...@D.@Cc.......
    f5ffe00800a0a074 fc5acd0410b120a2 | .......t.Z.... .
    d11081f1ffe00800 4a224033dbdc5603 | ........J"@3..V.
    fd22a20b1022b020 a220b2d11081ecff | ."...". . ......
    e00800ad021c0b10 1120a5f7ff2d0386 | ......... ...-..
    000022a0631df000 00fc670040d09200 | ..".c.....g.@...
    4008680040364121 62a107dbdc66111a | @.h.@6A!b....f..
    6659062c0a62d110 0c0552661a81f7ff | fY.,.b....Rf....
    e008000c18408811 47b802464500ad06 | .....@..G..FE...
    81d4ffe008008634 000092a41d5073db | .......4.....Ps.
    dce099111a994077 638909cd07bd0120 | ......@wc...... 
    a22081cdffe00800 92a41de099111a99 | . ..............
    a0a07488098caa0c 088266167d088616 | ..t.......f.}...
    00000092a41de099 1110998082690010 | .............i..
    112025eaffbd07ad 01101120a5edff10 | . %........ ....
    112025e9ffcd0710 b12060a62081bbff | . %...... `. ...
    e0080092a41de099 111a998809702280 | .............p".
    70558037b5b092a1 07dbdc99111a9998 | pU.7............
    098075dbdc97b702 46dcff86e6ff0c08 | ..u.....F.......
    82466ca2a41b10aa a081caffe0080056 | .Fl............V
    0affb2a20ba2066c 10bbb0101120a590 | .......l..... ..
    00f7ea12f6470fb2 a20d10bbb07abba2 | .....G.......z..
    4b001b7786f1ff7c ebb79ac166470882 | K..w...|....fG..
    261a37b80287b59c 22a20b1022b060b6 | &.7....."...".`.
    20ad02819bffe008 00101120a5dfffad |  .......... ....
    021c0b10112025e3 ff101120a5deff2c | ..... %.... ...,
    0a81b1ffe008001d f00820f43f70e2fa | .......... .?p..
    3f48240640f02206 40366100101120e5 | ?H$.@.".@6a... .
    caff10a12081fbff e008003d0a0c12fc | .... ......=....
    2a880192a2009088 108901101120a5cf | *............ ..
    ff91f2ffa0a201db dc2000822900a088 | ......... ..)...
    20dbdc2000826900 b22100a1edff81ee |  .. ..i..!......
    ffe00800a023831d f00000ff0f000036 | .....#.........6
    4100813bff0c1992 4800309c41992891 | A..;....H.0.A.(.
    fbff391829383030 b49a222a33303c41 | ..9.)800.."*30<A
    0c02295839481011 2025f8ff2d0a8c1a | ..)X9H.. %..-...
    22a0c51df0000050 2d0640364100412c | "......P-.@6A.A,
    ff58345033631663 0458145a53505c41 | .X4P3c.c.X.ZSP\A
    46010010112065ca ff8844a618048824 | F.... e...D....$
    87a5ef101120a5c2 ff166affa814cd03 | ..... ....j.....
    bd0281f1ffe00800 a0a0748c4a52a0c4 | ..........t.JR..
    52640558143a5559 1458343055dbdc59 | Rd.X.:UY.X40U..Y
    341df00000dbdcfc 3f4f484149a8ebfd | 4.......?OHAI...
    3f70e00b4014e00b 400c00f43f3840f4 | ?p..@...@...?8@.
    3fffff00008c8000 0010400000acebfd | ?.........@.....
    3fbcebfd3f04dbdc fc3f08dbdcfc3f04 | ?...?....?....?.
    ecfd3f1400f43ff0 ffff00a8ebfd3f0c | ..?...?.......?.
    dbdcfc3f2440fd3f 7c680040ec670040 | ...?$@.?|h.@.g.@
    588600406c2a0640 38320640142c0640 | X..@l*.@82.@.,.@
    cc2c06404c2c0640 34850040cc900040 | .,.@L,.@4..@...@
    782e064030ef0540 589200404c820040 | x..@0..@X..@L..@
    36c10021deff0c0a 22610842a00081ee | 6..!...."a.B....
    ffe0080021d9ff31 daffc6000049024b | ....!..1.....I.K
    223732f810112065 c3ff0c4ba2c12010 | "72... e...K.. .
    1120e5c6ff22a101 10112025c2ff5191 | . ...".... %..Q.
    fe9022112a2531cf ffb1cfffdbdc2000 | ..".*%1....... .
    59022178fe0c0c0c 5a32620081dcffe0 | Y.!x....Z2b.....
    080031caff42a101 dbdc200028032c0a | ..1..B.... .(.,.
    402220dbdc200029 038131ffe0080081 | @" .. .)..1.....
    d5ffe0080021c3ff dbdc20002802ccba | .....!.... .(...
    1cc330221022c2f8 0c1320a3830c0b81 | ..0".".... .....
    ceffe00800f1bcff 0c1dc2a001b2a001 | ................
    e2a10040dd1100cc 1180bb01a2a00081 | ...@............
    c7ffe0080021b5ff 61c4fe2a5572d62b | .....!..a..*Ur.+
    dbdc200028051672 ffdbdc200038050c | .. .(..r... .8..
    040c12dbdc200049 052241102203010c | ..... .I."A."...
    2822411182510949 512692071c344712 | ("A..Q.IQ&...4G.
    1dc6070022030342 0302802211402220 | ...."..B...".@" 
    6642102823dbdc20 0028022951060100 | fB.(#.. .(.)Q...
    1c22225109101120 a5b3ff0c8ba2c110 | .""Q... ........
    10112065b7ff8203 0322030280881120 | .. e....."..... 
    88202198ff2020f4 87b21ca2a0dbdc10 | . !..  .........
    112025b2ffa2a0ee 101120a5b1ff1011 | . %....... .....
    2025b0ff46dbddff 00002203011c3427 |  %..F....."...4'
    3434f6221846dbdd 00000022c22f2020 | 44.".F....."./  
    74f642704189ff40 22a02802a0020022 | t.BpA..@".(...."
    c2fe2020741c1427 b40246d2004184ff | ..  t..'..F..A..
    4022a02802a00200 42c230404074b654 | @".(....B.0@@t.T
    c986cc002c490c04 22a0dbdc97180286 | ....,I..".......
    ca0049510c72ad04 101120e5aaffad04 | ..IQ.r.... .....
    10112065aaff1011 20e5a8ff101120a5 | .. e.... ..... .
    a8ff0c8ba2c11022 c2ff101120e5abff | .......".... ...
    5622fd4628000c12 56682e82610f817a | V".F(...Vh..a..z
    ffe0080088f1a028 8346b5002688050c | .......(.F..&...
    1246b30000482328 332084208080b456 | .F...H#(3 . ...V
    c8fe10112065c7ff 2a449c1ac6f7ff00 | .... e..*D......
    a0ac41816effe008 00562afd22d2f020 | ..A.n....V*.".. 
    a4dbdccc22068800 00a080f45618fe86 | ....".......V...
    0400a0a0f589f181 66ffe0080088f156 | ........f......V
    dafa8022dbdc0c18 00881120a4dbdc27 | ..."....... ...'
    38e10604000000a0 ac41815dffe00800 | 8........A.]....
    56eaf822d2f020a4 dbdc56a2fec67600 | V..".. ...V...v.
    000c0422a0dbdc26 88020695000c042d | ..."...&.......-
    0446930026b8f506 69000c1226b80206 | .F..&...i...&...
    8d00b833a8230c04 10112025a2ffa024 | ...3.#.... %...$
    838688000c1966b8 5c884320a9110c04 | ......f.\.C ....
    22a0c287ba020686 00b853a223029261 | ".........S.#..a
    0e10112025c1ff98 e1a09483860d000c | ... %...........
    1966b831884320a9 110c0422a0c287ba | .f.1.C ...."....
    02467b002833b853 a82320488299e110 | .F{.(3.S.# H....
    112025beff2134fe 0c0898e1896222d2 | . %..!4......b".
    2b4922a098832d09 c66e00912efe0c04 | +I"...-..n......
    a2090022a0c6479a 02466d00482382c8 | ..."..G..Fm.H#..
    f022a0dbdc879401 28590c0492a0ef46 | ."......(Y.....F
    02004aa3a20a181b 44a099308724f282 | ..J.....D..0.$..
    0305420304808811 4088204203060044 | ..B.....@. B...D
    1180442082030780 88014088208099db | ..D ......@. ...
    dc82a0c10c049028 93c659008116fe22 | .......(..Y...."
    a0c69208004d0916 991598380c0422a0 | .....M.....8..".
    c847190206530028 58924800464e001c | .G...S.(X.H.FN..
    890c040c12971802 064e00f873e863d8 | .........N..s.c.
    53c843b833a82381 09ffe008000c084d | S.C.3.#........M
    0aa0288306470000 000c12264802c641 | ..(..G.....&H..A
    00a8230c0b8100ff e008000620000000 | ..#......... ...
    008090340c0422a0 dbdc471902063d00 | ...4.."...G...=.
    8084418bb37cfcc6 0e00a83b89f199e1 | ..A..|.....;....
    b9c1c9d181fafee0 0800b8c188f1282b | ..............(+
    481ba80b98e1c8d1 40421026020ddbdc | H.......@B.&....
    2000d80a202c30d0 2210204420dbdc20 |  ... ,0.". D .. 
    00490a1b99b2cb10 8739dbdcc694ff66 | .I.......9.....f
    48024693ff0c0422 a0dbdc8626000c12 | H.F...."....&...
    26b802c6210021d6 fe88534823890221 | &...!.!...SH#..!
    d5fe49020c02061d 00b1d1fe0c04d80b | ..I.............
    0c1a82c8f09d042d 04802a93d09a8320 | .......-..*.... 
    991022a0c6479960 c1cbfe4d09e80c22 | .."..G.`...M..."
    a0c9873e5380f014 22a0dbdc56af042d | ...>S..."...V..-
    09860200002a9398 694b2299049d0a20 | .....*..iK".... 
    fedbdc2a4d8732ed 16a9ddf90c490bc6 | ...*M.2......I..
    74ff0c1266881821 bbfe8222008c1882 | t...f..!..."....
    a0c80c04490221b7 fe49020c12802483 | ....I.!..I....$.
    0c04460100000c04 22a0ff20a0741011 | ..F.....".. .t..
    206578ff40a07410 1120a577ff101120 |  ex.@.t.. .w... 
    6576ff56f2bc2203 011c2427341ff632 | ev.V.."...$'4..2
    0246f0fe22c2fd20 20740cf427b402c6 | .F.."..  t..'...
    ecfe41a6fe4022a0 2802a002000042a0 | ..A..@".(.....B.
    d247124f42a0d447 127706e6fe8833a2 | .G.OB..G.w....3.
    a271dbdcaa114823 89f181aafee00800 | .q....H#........
    219bfe919cfedbdc 2000280288f12034 | !....... .(... 4
    35dbdc2211902210 2023208022820c0a | 5.."..". # ."...
    40b2c281a1fee008 00a2a3e8819efee0 | @...............
    0800c6d4fe0000d8 53c843b833a82310 | ........S.C.3.#.
    1120a57bff06d0fe 00b2030322030280 | . .{........"...
    bb1120bb20b2cbf0 a2c318101120e597 | .. . ........ ..
    ff06c9fe00220303 4203028022114022 | ....."..B...".@"
    204188fd22c2f088 348022631692b088 |  A.."...4."c....
    148a82808c414602 0089f1101120e560 | .....AF...... .`
    ff88f19844a61904 982497a8eb101120 | ....D....$..... 
    2559ff166affa814 cd02b2c3188180fe | %Y..j...........
    e008008c3a32a0c4 395438142a333914 | ....:2..9T8.*39.
    38342023dbdc2934 86affe2203038203 | 84 #..)4..."....
    0242c31880221138 3680222022c2f056 | .B...".86." "..V
    c309f65202862500 22a0c9462a003163 | ...R..%."..F*.1c
    fe8168fde8032971 e088dbdc89618827 | ..h...)q.....a.'
    ad0987b2010c3a99 e1a9d1e9c1101120 | ......:........ 
    e558ffa8d1815afe a901e8c1a159fedd | .X....Z......Y..
    08bd04c2c11cf2c1 1889f18162fee008 | ............b...
    00b827cd0aa87198 e1a0bbdbdcb927a0 | ..'...q.......'.
    22dbdcb803aa44a8 6188f1aabb0c0ab9 | ".....D.a.......
    03dbdca98380bbdb dca0d074cc9ae2db | ...........t....
    dd80ad0de0a98316 ea01ad0889f199e1 | ................
    c9d1101120e586ff 88f198e1c8d18903 | .... ...........
    46010000000c1c9d 0c8cb238368c73db | F..........86.s.
    dc3f31dbdc33dbdc 96b3f5d67c0022a0 | .?1..3......|.".
    c72956067bfe569c 9e283616429e22a0 | .)V.{.V..(6.B.".
    c806fbffa823569a 9d8141fee00800a2 | .....#V...A.....
    a271dbdcaa11813a fee00800813efee0 | .q.....:.....>..
    0800866ffe000028 3316729b0c0a8138 | ...o...(3.r....8
    fee00800a2a3e881 32fee00800e00200 | ........2.......
    0668fe1df0000000 3641009d0282a0db | .h......6A......
    dc280387990fcc32 0c128607000c0229 | .(.....2.......)
    037ce2860f002612 0726221886030000 | .|....&..&".....
    0082a0dbdd802923 87992a0c2229037c | ......)#..*.").|
    f2460800000022a0 dc27990a0c122903 | .F...."..'....).
    2d08060400000082 a0dd7cf28799060c | -.........|.....
    12290322a0dbdd1d f00000c0         | .)."........
TRACE +0.327 Read 1 bytes: c0
TRACE +0.000 Read 55 bytes: 
    0107040048a3a686 00000000c0c00107 | ....H...........
    040048a3a6860105 0000c0c001070400 | ..H.............
    48a3a68601050000 c0c00107040048a3 | H.............H.
    a68601050000c0                    | .......
TRACE +0.000 Received full packet: 0107040048a3a68600000000
TRACE +0.000 command op=0x05 data len=16 wait_response=1 timeout=3.000 data=9c0000000100000000180000a8ebfd3f
TRACE +0.000 Write 26 bytes: 
    c000051000000000 009c000000010000 | ................
    0000180000a8ebfd 3fc0             | ........?.
TRACE +0.000 Received full packet: 0107040048a3a68601050000
Traceback (most recent call last):
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/bin/esptool.py", line 37, in <module>
    esptool._main()
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/__init__.py", line 1073, in _main
    main()
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/__init__.py", line 717, in main
    esp = esp.run_stub()
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 969, in run_stub
    self.mem_begin(length, blocks, self.ESP_RAM_BLOCK, offs)
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 767, in mem_begin
    return self.check_command(
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 436, in check_command
    val, data = self.command(op, data, chk, timeout=timeout)
  File "/home/iain/.espressif/python_env/idf5.2_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 419, in command
    raise UnsupportedCommandError(self, op)
esptool.util.UnsupportedCommandError: Invalid (unsupported) command 0x5
i-e-b commented 1 year ago

Powering off the board for 10 min at a time did not help. I left the board powered down for 30 hours, and it now uploads ok. No change to any other part of the setup.

radimkarnis commented 1 year ago

Hello @i-e-b,

have your issues been solved completely, or do you still experience the glitches?

This behavior seems very weird, I haven't seen a case like this before. The chip sometimes reports as being in Secure Download Mode and sometimes not. Have you activated any of the security features like secure boot or flash encryption?? Have you burnt any eFuses?

The ESP shouldn't be possible to brick as a result of a failed flash. This, and the fact that you had to leave it unpowered for 30 hours to fix the issue makes me believe this is a hardware-related problem.

i-e-b commented 1 year ago

It seems stable at the moment.

No, I haven't set any eFuses. Have ordered a few more units to test with.

I will report back if it happens again. Will see if there are any RF noise sources in that case too.

Happy for this issue to be close for now. Thanks.

radimkarnis commented 1 year ago

Thank you!

Please do report back if issues continue. I am closing this ticket.