espressif / esp-hosted

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)
Other
665 stars 151 forks source link

Is there no way to use UART2 for flashing ESP32? or use ESP32 without flashing ? #84

Open ghost opened 2 years ago

ghost commented 2 years ago

I am using a PMOD ESP32 : https://digilent.com/reference/pmod/pmodesp32/reference-manual I have connected it to the Go board FPGA : https://www.nandland.com/goboard/introduction.html

My setup is like this: Host computer ----- (USB)----> FPGA (has USB to UART converter) --- PMOD --- > ESP32

The problem is, FPGA connects to PMOD ESP32 on UART2 port of ESP32 which cannot be used for flashing images. Is there no way that I can flash the ESP32 using the setup I have?

The only other option I can think of is to have another USB-UART converter and use that to flash ESP32 on UART0 port. OR is there a way that I can use ESP32 without flashing?

cyildirim23 commented 2 years ago

Hey, I'm currently trying to use this pmod with a project and I noticed the same thing. No USB port to program the board. Same setup. I see 4 pins on top, rx, tx, gnd, IO0. Assuming it has to be done with these pins?

mantriyogesh commented 2 years ago

Hello @tushar-uwaterloo This looks like some general flashing requirement. Please close and raise this issue in ESP-IDF for this.

Anyway, one way of doing it is ESP Serial Flasher - Raspberry Pi example Here Raspberry Pi connects to above ESP pins and does flashing.

In case of flashing ESP-Hosted, Easy flashing could be done using pre-built binaries from release using these steps