Skip to content

Latest commit

 

History

History
60 lines (29 loc) · 2.77 KB

Troubleshooting.md

File metadata and controls

60 lines (29 loc) · 2.77 KB

Troubleshooting

Instructions of reflashing the ESP32 when it is not connecting to ethernet and the leds on the esp32 ethernet jack will be solid green and not blinking:

You will need an Serial to USB TTL adaptor - I use one similar to this one and it works well: https://www.amazon.com/HiLetgo-FT232RL-Converter-Adapter-Breakout/dp/B00IJXZQ7C

Grab the current esp fw bin file:

CC2652P2 based Coordinator: https://github.com/tube0013/tube_gateways/raw/main/tube_zb_gw_cc2652p2/tube_zb_gw_cc2652p2_(2021_04_08).bin

EFR32 based Coordinator: https://github.com/tube0013/tube_gateways/tree/main/tube_zb_gw_efr32/Firmware/ESP32

I use the esphome flasher tool which works well for me: https://github.com/esphome/esphome-flasher/releases

you’ll need 3 jumper wires, the board has pins, so will need females on that end and female/male on the other depending on your Serial TTL adaptor board.

TX on the Serial TTL adaptor goes to the eRX pin on the board (red wire in pic)

RX on the Serial TTL adaptor goes to the eTX pin on the board (orange wire in pic)

Ground from the Serial TTL adaptor goes to the Ground pin on the board (closest to 3.3v) (brown wire in pic)

Use the jumper from the 3.3v_Bridge on the board (or another female to female jumper wire) to bridge the ground and IO0 pins (the spacing is tight I found tweezer so pinch nosed pliers best for adding the jumper)

Once all that is connected up, power on by plugging in the micro usb or by using a 4th jumper wire to connect the 3.3 volts on the Serial TTL adaptor to the 3.3v pin on the board.

Flashing

Fire up the flasher and select the correct port and point it to the downloaded FW bin:

Hit flash, and you should see something like this:

after about a minute or so:

pull the power, and move the jumper back to the 3.3v_Bridge. you can leave the cables connected to do a test boot with serial logging if you want. Just plug it back in, and hit the show logs button in the flasher:

you should see something like this if not connected to ethernet, or maybe on it’s first try of connecting:

if connected to network, should see something like this: