Page 1 of 1
Programming ESP32 using another ESP32
Posted: Thu Sep 09, 2021 2:13 am
by user_MicSG
Hi. Is it possible to program an ESP32 using another ESP32? I have an ESP32 where the serial chip burned out when using 6 volts directly over the 5 volt pin
.
I hope you can help me.
Re: Programming ESP32 using another ESP32
Posted: Thu Sep 09, 2021 9:40 pm
by chegewara
Re: Programming ESP32 using another ESP32
Posted: Thu Sep 09, 2021 9:42 pm
by WiFive
It should be possible if you hold the other esp32 in reset
Re: Programming ESP32 using another ESP32
Posted: Thu Sep 09, 2021 10:13 pm
by user_MicSG
Thanks. I still don't have a USB to serial converter. Is it possible to use an Arduino NANO as a converter? If so, what would it be like?
Re: Programming ESP32 using another ESP32
Posted: Fri Sep 10, 2021 1:54 am
by chegewara
Like @WiFi said, you can use another esp32 board. UART chip on that board will pass data to fried board.
You have to connect (its not mistake, it is parallel connection):
- TX -> TX
- RX -> RX
- EN -> EX (optional)
- PIN0 -> PIN0 (optional)
More steps:
- when you dont connect EN and PIN) manually switch into bootload mode with buttons on fried board,
- keep pressed reset button on good board; it is important to not let esp32 on this board to start,
- flash.
That should do the trick.
Re: Programming ESP32 using another ESP32
Posted: Sat Aug 05, 2023 1:35 am
by LittleRain
I know this is an old thread, but for anyone googling in 2023+
https://github.com/espressif/esp-serial-flasher
Re: Programming ESP32 using another ESP32
Posted: Sat Aug 05, 2023 7:44 pm
by thezcx
Is there a way to do it over wifi or ble?
Re: Programming ESP32 using another ESP32
Posted: Mon Aug 07, 2023 1:27 am
by user_MicSG
thezcx wrote: ↑Sat Aug 05, 2023 7:44 pm
Is there a way to do it over wifi or ble?
Yes. Use OTA (Over-the-air).
Over WiFi:
https://randomnerdtutorials.com/esp32-o ... ogramming/
By Bluettoth:
https://github.com/fbiego/ESP32_BLE_OTA_Arduino
Re: Programming ESP32 using another ESP32
Posted: Mon Aug 07, 2023 1:28 am
by user_MicSG
Re: Programming ESP32 using another ESP32
Posted: Thu Aug 17, 2023 2:01 am
by thezcx
For deep sleep applications i cant use OTA. İm looking for a solution where i use the eps32 as ftdi board wirelessly