Setup
-
ChipWhisperer-Husky, ESP32 target seated in the CW313 socket
-
Windows 11, ChipWhisperer 5.7.0, esptool 5.3.0
-
Using the prebuilt
firmware/esp32SimpleSerial images:
bootloader.bin @ 0x1000, partitions_singleapp.bin @ 0x8000, simpleserial.bin @ 0x10000
First thing I noticed (possible clue)
When I plug the ESP32 target in, CW313 LED3 lights up, but only dimly — a clearly “dimmed”, under-brightness glow, not the full brightness I’d expect. I don’t know whether that’s a power, clock, or strapping symptom, so flagging it up front.
What I tried
-
Provide the ESP32’s clock from the CW:
scope.clock.clkgen_freq = 26e6,scope.io.hs2 = 'clkgen'→ clkgen reports locked. -
Keep
tio1 = serial_rx,tio2 = serial_tx(Husky bridges the target UART through these). -
Drive reset via
scope.io.nrst, and runesptoolover the Husky’s USB-CDC serial at 38400 baud (the firmware’s nominal 59000 scales to ~38400 at a 26 MHz clock).
Result
esptool v5.3.0
Serial port COM9
Connecting.............................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
I then bypassed esptool and read the raw serial directly on a normal boot at 115200 / 74880 / 38400 / 57600 / 9600 — 0 bytes at every baud. The chip is completely silent.
For reference, a CW312T-K82F in the same Husky/CW313 socket works perfectly (clock on HS2, reset, and the CDC serial all fine), so the socket itself is good.
Questions
-
The dim CW313 LED3 — what is LED3 meant to indicate, and is a dim/under-bright LED a sign of a power problem (target not getting full 3.3 V) or a clock/strap issue?
-
Known-good flashing procedure — what’s the correct way to flash the CW308T-ESP32 from a Husky through the CW313? Specifically: clock source/frequency, required jumpers, serial routing, and how serial download mode is actually asserted. On the CW308T-ESP32 rev-02 schematic,
PDICmaps to the SPI-flash level-shifter OE, not to GPIO0 — so how does GPIO0/IO0 get pulled low for ROM-bootloader entry? Is a physical strap/jumper on GPIO0 required? -
Serial port — is the Husky’s CDC serial usable for esptool here, or do I need a separate USB-UART adapter on the TXD/RXD nets?
-
Jumpers — are there mandatory jumper settings on the ESP32 target and/or CW313 for clock and power that I might have missed (mine are at their defaults)?
Thanks for any pointers!