Summary of Contents for adafruit learning system ESP32
Page 1
Upgrading ESP32 Firmware Created by Brent Rubell Last updated on 2021-03-29 01:04:43 PM EDT...
Page 2
Guide Contents Guide Contents Overview Why would I update my ESP32's firmware? Parts External ESP32 Co-Processors ESP32 Co-Processor All-in-One Boards Materials Upgrade All-in-One ESP32 AirLift Firmware Uploading Serial Passthrough Code Install esptool.py Uploading nina-fw with esptool Verifying the Upgraded Firmware Version...
Page 3
(https://adafru.it/FWj). This firmware is programmed to the ESP32 at the Adafruit factory. If you wish to update to a newer version of nina-fw, you'll need to program it to the ESP32. BLE is supported on the ESP32 co-processor only with version NINA_W102-1.7.1.bin or later of the firmware (released in October 2020).
Page 8
Upgrade All-in-One ESP32 AirLift Firmware To support BLE on the ESP32 AirLift, you'll need NINA_W102-1.7.1.bin or later. Uploading Serial Passthrough Code First, back up any code and files you have on your CIRCUITPY drive . It will be overwritten by the code you're going to upload to your board.
Page 10
--port COM7 --before no_reset --baud 115200 write_flash 0 NINA_W102-1.6.0.bin The command should detect the ESP32 and will take a minute or two to upload the firmware. The NeoPixel on your board will flicker and flash as the firmware uploads.
Page 11
If you were previously using your ESP32 with Arduino, you should load up an Arduino sketch to verify everything is working properly and the version of the nina-fw correlates with the version the sketch reads. Open up File->Examples->WiFiNINA->ScanNetworks and upload the sketch. Then, open the Serial Monitor.
Page 12
Upgrade External ESP32 Airlift Firmware To support BLE on the ESP32 AirLift, you'll need NINA_W102-1.7.1.bin or later. External AirLift FeatherWing, Shield, or ItsyWing External AirLift boards have three optional ESP32 control pins which are not connected by default: ESPGPIO0 ESPRX ESPTX Make sure to solder each of these pads together.
Page 14
Adafruit Metro M4. You will also need to make the following connections between the board and the AirLift Breakout: Board Pin 12 to ESP32_ResetN Board Pin 10 to ESP32 GPIO0 Board TX to RXI Board RX to TX0 Click Download: Project ZIP to download the code below.
Page 16
If ESPTool doesn't detect the ESP32 , make sure you've uploaded the correct .UF2 file to the bootloader and are using the correct serial port. Once the firmware is fully uploaded, the ESP32 will reset. Verifying the Upgraded Firmware Version To verify everything is working correctly, we'll load up either an Arduino sketch or CircuitPython code.
Page 19
Next, you'll need to flash the firmware to your ESP32 AirLift module. If you're using the Google Chrome browser, you may follow the instructions below for programming using our web-based ESPTool. Otherwise, scroll down and follow the instructions for flashing using the Python esptool.py program.
Page 20
You will get a pop-up asking you to select the Pico's COM or Serial port. You may want to remove all other USB devices so only the ESP32-S2 board is attached, that way there's no confusion over multiple ports! Click Connect.
Page 23
The command should detect the ESP32 and will take a minute or two to upload the firmware. If ESPTool doesn't detect the ESP32 , make sure you've uploaded the correct .UF2 file to the bootloader and are using the correct serial port.
Page 24
If you were previously using your ESP32 project with CircuitPython , you'll need to first reinstall CircuitPython firmware for your board. The QSPI flash should have retained its contents. If you don't see anything on the volume, copy files from the backup you made earlier to...
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers