Description
ESP32 S2 Mini uses dual UART USB and changes active USB port when switching to firmware upload mode. ESP Web Tool breaks with this board:
Connecting via Web Serial works well, selection menu shows "ESP32-S2" (when in firmware upload mode), else "TinyUSB".
"Prepare for First Use" and "INSTALL" both raise "Failed to initialize" after a few seconds of spinning wheel.
Browser-based "Adafruit ESPTool" (https://adafruit.github.io/Adafruit_WebSerial_ESPTool/) works like a charm. Apparently, this tool correctly handles the S2 Mini.
I'd like to either
a) understand how "Prepare For First Use" works and where the ESP Web Tools gets the four bin files that are mentioned in its manifest so I can use the Adafruit tool to provision S2 Mini with these files in the same way that "Prepare For First Use" would do if it worked correctly with S2 Mini.
b) better yet, get the ESP Web Tools to work with S2 Mini by adopting the technique used by Adafruit ESPTool
I cannot create ESPHome configuration and download its firmware, then upload with the Adafruit tool (which does works beautifully) since I need to provision 100s of boards. I need a generic reusable firmware that triggers "ADOPT" in ESPHome.
Any help or suggestion greatly appreciated. Many thanks.
Activity