WT32-ETH01 ESP32 Mo...
 
Notifications
Clear all

WT32-ETH01 ESP32 Module Firm Flash

17 Posts
3 Users
0 Reactions
3,390 Views
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago
[#57043]

I wanted to fool around with the idea of using ESPixelstick firmware on an ethernet-enabled ESP32 device, but for the life of me, I can't figure out why I keep getting the "Failed to erase ESP Device Flas" Error. Any suggestions?

Screenshot 2023 07 30 085850

16 Replies
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

click save logs and post the logs here


Reply
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago
MartinMueller2003 wrote:click save logs and post the logs here

System Output:

bin/win32/mklittlefs -c fs/ -p 256 -b 4096 -s 0x50000 firmware/filesystem.bin
-= Building Filesystem Image =-
bin/win32/mklittlefs -c fs/ -p 256 -b 4096 -s 0x50000 firmware/filesystem.bin
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/ucs1903.html.gz
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
/www/ucs1903.html.gz
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
bin/win32/python3/python bin/upload.py --chip esp32 --baud 460800 --port COM4 erase_flash
Done

-= Erasing ESP Flash =-
bin/win32/python3/python bin/upload.py --chip esp32 --baud 460800 --port COM4 erase_flash
esptool.py v2.8
Serial port COM4
esptool.py v2.8
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\dmyou\OneDrive\Documents\Firms\dist\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 2890, in main
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\dmyou\OneDrive\Documents\Firms\dist\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP32: Timed out waiting for packet header
esp.connect(args.before)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP32: Timed out waiting for packet header
Done
bin/win32/python3/python bin/upload.py --chip esp32 --baud 460800 --port COM4 --before default_reset --after hard_reset write_flash -z 0x1000 firmware/esp32/esp32_wt32eth01-bootloader.bin 0x8000 firmware/esp32/esp32_wt32eth01-partitions.bin 0xe000 firmware/esp32/boot_app0.bin 0x10000 firmware/esp32/esp32_wt32eth01-app.bin 0x3B0000 firmware/filesystem.bin

-= Uploading Firmware =-
bin/win32/python3/python bin/upload.py --chip esp32 --baud 460800 --port COM4 --before default_reset --after hard_reset write_flash -z 0x1000 firmware/esp32/esp32_wt32eth01-bootloader.bin 0x8000 firmware/esp32/esp32_wt32eth01-partitions.bin 0xe000 firmware/esp32/boot_app0.bin 0x10000 firmware/esp32/esp32_wt32eth01-app.bin 0x3B0000 firmware/filesystem.bin
esptool.py v2.8
Serial port COM4
esptool.py v2.8
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\dmyou\OneDrive\Documents\Firms\dist\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP32: Timed out waiting for packet header
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\dmyou\OneDrive\Documents\Firms\dist\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/dmyou/OneDrive/Documents/Firms/dist/bin/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP32: Timed out waiting for packet header
Done

ESP Action FAILED

Serial Output:

module ok
13:01:26:


Reply
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago

Well, it looks like I was doing it a little wrong. Have to connect to the TXO, and RXO, and not the TXD, and RXD, as well as jumping the IO0-GND pins.
Got an error after that but it started writing. going to test a thing or two.


Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

Yup. The logs indicate that you are not putting the device into programming mode. You will need to manually do it multiple times in the programming seqquence, Every time you see ___---___ you need to reboot with gpio0 at ground.


Reply
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago

We are good!
Connect to the TXO, and RXO, and not the TXD, and RXD, as well as jumping the IO0-GND pins.
Start upload, then connect the 5v pin. It likes the reboot at the start of the process.

Hard resetting via RTS pin...
Writing at 0x003c8000... (100 %)
Wrote 327680 bytes (106345 compressed) at 0x003b0000 in 3.0 seconds (effective 884.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Done

-= ESP Action Complete =-


Reply
Posts: 255
(@townshend-lights)
Reputable Member
Joined: 11 years ago

I would love a diagram of how you hooked up the eth board to the esp32 if possible, please.


Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago
townshend lights wrote:I would love a diagram of how you hooked up the eth board to the esp32 if possible, please.

this board comes with the eth interface already integrated. no hookup needed


Reply
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago

I purchased the WT32-ETH01 modules from Amazon and got the PCBs from wasatchpixels.com. I currently don't know of any other alternatives.

Screenshot 2023 08 08 070012

Reply
tecnageek
Posts: 220
Topic starter
(@tecnageek)
Reputable Member
Joined: 10 years ago

Is there a newer compiled distro firmware? I keep having strange timeouts and when I add a third output I get a complete disconnect, and ethernet activity goes nuts while the controller heats up


Reply
Page 1 / 2
Share: