Skip to main content

Updating Firmware - Web

This will guide you through updating the device firmware using the web tool esptool-js to flash your device.

NOTE

Please assure you have all the Required Resources before you begin.

Setup Steps

Verify Connection - Console

Console - Start

  • You should then see Serial Monitor output on the console

Flash Firmware - Program

Program - Baudrate

  • Press Connect to begin the connection to the device
  • Select your device from the list of USB devices found

Program - Connect

  • You should now see something like this...

Program - Connecting

  • Add and setup the files to upload
    • Press Add File to add another file
    • You should have two section for files to uplaod

Program - Files

  • Locate the appropiate files from your file system
NOTE

The firmware files are located in the Assets section on the AerPID3 project release page.

HINT

The Flash Address locations can be found in the aerpid_spiffs.csv file within the project sources.

  • Assure the files are uploaded to the correct Flash Address:
    • firmware.bin is located at Flash Address 0x10000
    • spiffs.bin is located at Flash Addres 0xc90000
  • Verify and set the Flash Mode, Flash Frequency and Flash Size

Program - Setup

  • Flash Setup Parameters:
    • Flash Mode set to dio
    • Flash Frequency set to 40m
    • Flash Size set to 16MB
  • Press Program
  • If everything is correct; You will see it writing and a progress percentage scrolling by
  • Please Wait for this to finish...
NOTE

The flash upload process may take a couple minutes to complete.

  • Once complete; Press Discconect to detach the programmer

Program - Setup

  • Power cycle the device and verify the correct version was flashed
  • You should now have completed the update to the firmware on your device

Required Resources