-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
Hardware:
Board: ESP32-WROVER on custom board
Core Installation/update date: 27/7/2018
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200
Description:
What do we need to do to make our own board compatible with automatic flashing from the Arduino IDE via FTDI?
I want to upload a sketch from the Arduino IDE to a custom board that houses the ESP32-WROVER module. I am using FTDI. The same chip can be flashed when using a Development breakout something like this.
However, when flashing it via FTDI on my custom board, it doesn't work. Testing with someone else we managed to figure out that the chip on the custom board is possible when manually triggering pin states like so:
- Keep Reset and GPIO connected to ground before upload..
- When upload start disconnect Reset from ground (It pulls up). Downloading start
- When uploading completes, disconnect GPIO0 from ground. (It pulls up)
- Connect RESET with ground, it goes to reset and when released from ground it goes to normal operation
When wanting to use the automatic flash mode/reset via FTDI. It doesn't work. The relevant schematic is shown below. the RESET flag is connected to the EN pin on the ESP32-WROVER. And the 5-volt is regulated to 3.3v for the ESP32. We are also not using FTDI to power the chip during flashing.
What are we doing wrong? Do we need to add our board to the IDE in a specific way to make the FTDI give the right signals to the ESP?
Any help would be greatly appreciated!