Self Balancing Robot ESP32 Update Guide

From Terasic Wiki

Jump to: navigation, search

Contents

Introduction

The ESP32 CODE needs to be programmed into the ESP32 flash through UART interface. However, the UART interface on the ESP32 module has be occupied by GPIO0 connection. It would be difficult to directly program the flash from GPIO0 header, what needs to disassemble the car. So, we suggest to program the ESP32 flash through the DE10_NANO GPIO1 as shown in below.

Esp32 update 01.jpg

We design a project on FPGA controlling the internal signals transmission from GPIO0 to GPIO1. After implementing it, we can program ESP32 flash via GPIO1 header without disassembling the robot.

The ESP32 has two modes: FLASH BOOT mode and FLASH Programming mode. It need to switch the jumper cap to Flash Programming mode when ESP32 is programming. After programming completed, make sure to set the mode back from FLASH BOOT mode.

Hardware Requirements

Software Requirements

Compile and Program

Personal tools