Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hardware setup

Use the ESPPROG adapter with a micro USB cable and the 6 pin flat ribbon cable

Image Added

Ribbon cable orientation

Image Added

make sure the ESPPROG is not supplying any power i.e disconnect the jumper.

Software setup

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:

Image Modified

Pinout of the FTDI:

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

Image Modified

Boot mode select

https://github.com/espressif/esptool/wiki/

...

ESP32-Boot-Mode-Selection

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

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@52
showSpacefalse
sortmodified

...

type

...

page
reversetrue

...

labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space = "R"

...