Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Current »

The ESP32 can be flashed over the air or using a serial to USB adapter.

Visual studio setup:

Setup visual studio,

  1. Clone gitub repo to workspace

  2. Download Git Bash for windows

  3. Cd into the folder “crs-wifi-car-firmware”

  4. “git submodule update --init --recursive” this downloads the ESP-IDF

  5. “source ./install.sh” install relevant tools

  6. Done

\uD83D\uDCD8 Instructions for serial adapter

  1. Power up the car while pushing down the “BOOT“ button

  2. 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:

https://docs.rs-online.com/588e/0900766b80d4cba6.pdf

Boot mode select

https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection

https://github.com/espressif/esptool#entering-the-bootloader

  • No labels