The ESP32 can be flashed over the air or using a serial to USB adapter.
\uD83D\uDCD8 Instructions for serial adapter
Power up the car while pushing down the “BOOT“ button
Open visual code and click on “ESP-IDF Flash device”
🤖 Hardware design for the serial flash tool
The PCB has no onboard debugger of flash hardware, we will instead use an https://ftdichip.com/products/ttl-232r-3v3/ which we can share between the platforms. This is a simple USB to serial converter using 3.3V
The only hardware we need on the PCB is a button connected to the GPIO0.
Read more at https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection
Simple example circuit:
Pinout of the FTDI:
Boot mode select
https://github.com/espressif/esptool/wiki/ESP8266-Boot-Mode-Selection
https://github.com/espressif/esptool#entering-the-bootloader