Damaged or resetable??? ESP32 WROOM Module
Posted: Wed Jul 17, 2024 3:20 pm
Thank you for looking! I have an application using the ESP32 WROOM module.
3000 are in operation with code that uses the wifi to conduct a fetch and post to a server.
All the code works well; however with my newest deployment of devices, I am getting units which failed mid operation (such as during a wifi fetch to server).
In diagnostics for a failing unit, when I connect using the IDE programming interface along with "make monitor" and apply power; gibberish comes streaming out rather than the typical boot startup content.
I can place the units into flash mode with IO0 and ENA.
I am unable to erase the flash or to reprogram the flash using "make flash monitor".
Is there some hard reset that can be done, or are the modules damaged?
Note; this application uses 3.6V battery. Understanding that the ESP32 has a Vmax of 3.6v +0.3v, I removed the Voltage regulator from the design to get more current availability during Wifi..
See below, note that all of these devices originally behaved and programmed as expected.
MONITOR
--- idf_monitor on C:/msys32/COM3 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
<Power Up>
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═~═fx ~x怘怘═~ffff`═ff═fff`f══f`~ x `
~f══`f`fff ═f ff ═f═f`ff`ff`ff~ff~x x═x~══xf═~═fx ~x~══~f
f~f═ff`f══f`~ x `f═ ═`fff═ff ffff═`ffffffff~ff~x x═x~══xf═~═fx
~x~══~ff~f═ff`f══f`~ x `~f══`f`fff ═f ff ═f═f`ff`ff`ff═~ff~x x
═x~══xf═~═ff═~═f═~═fx ~x怘怘═~ff~f═ff`f══f`~ x `~f═
═`f`fff ═f ff ═f═f`ff`ff`ff~ff~x x═x~══x
<place in down load mode with IOO / ENA sequence, gibberish stops>
<attempt to flash>
$ make flash monitor
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from C:/msys32/home/RogueOne/esp/esp-idf/requirements.txt are satisfied.
Flashing binaries to serial port /COM3 (app at offset 0x10000)...
esptool.py v2.6
Serial port C:/msys32/COM3
Robert-Connecting.......
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme None
MAC: e8:e8:e7:d2:e5:ec
Uploading stub...
Running stub...
A fatal error occurred: Invalid head of packet (0x66)
make: *** [/home/RogueOne/esp/esp-idf/components/esptool_py/Makefile.projbuild:63: flash] Error 2
3000 are in operation with code that uses the wifi to conduct a fetch and post to a server.
All the code works well; however with my newest deployment of devices, I am getting units which failed mid operation (such as during a wifi fetch to server).
In diagnostics for a failing unit, when I connect using the IDE programming interface along with "make monitor" and apply power; gibberish comes streaming out rather than the typical boot startup content.
I can place the units into flash mode with IO0 and ENA.
I am unable to erase the flash or to reprogram the flash using "make flash monitor".
Is there some hard reset that can be done, or are the modules damaged?
Note; this application uses 3.6V battery. Understanding that the ESP32 has a Vmax of 3.6v +0.3v, I removed the Voltage regulator from the design to get more current availability during Wifi..
See below, note that all of these devices originally behaved and programmed as expected.
MONITOR
--- idf_monitor on C:/msys32/COM3 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
<Power Up>
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═f═
f═f═f═f═f═f═f═f═~═fx ~x怘怘═~ffff`═ff═fff`f══f`~ x `
~f══`f`fff ═f ff ═f═f`ff`ff`ff~ff~x x═x~══xf═~═fx ~x~══~f
f~f═ff`f══f`~ x `f═ ═`fff═ff ffff═`ffffffff~ff~x x═x~══xf═~═fx
~x~══~ff~f═ff`f══f`~ x `~f══`f`fff ═f ff ═f═f`ff`ff`ff═~ff~x x
═x~══xf═~═ff═~═f═~═fx ~x怘怘═~ff~f═ff`f══f`~ x `~f═
═`f`fff ═f ff ═f═f`ff`ff`ff~ff~x x═x~══x
<place in down load mode with IOO / ENA sequence, gibberish stops>
<attempt to flash>
$ make flash monitor
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from C:/msys32/home/RogueOne/esp/esp-idf/requirements.txt are satisfied.
Flashing binaries to serial port /COM3 (app at offset 0x10000)...
esptool.py v2.6
Serial port C:/msys32/COM3
Robert-Connecting.......
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme None
MAC: e8:e8:e7:d2:e5:ec
Uploading stub...
Running stub...
A fatal error occurred: Invalid head of packet (0x66)
make: *** [/home/RogueOne/esp/esp-idf/components/esptool_py/Makefile.projbuild:63: flash] Error 2