Skip to content

Latest commit

 

History

History
70 lines (41 loc) · 2.48 KB

flashing_esp32_cam.md

File metadata and controls

70 lines (41 loc) · 2.48 KB

Flashing esp32cam

esp32-cam with esp32-cam-mb adapter is recommended.

Experienced users who connect esp32cam using USB-UART adapter should enter flashing mode by holding Boot button and pressing Reset button before starting flashing.

Flashing using online tool

alt text

  • Make sure addresses are filled corectly
  • Click [Program]

Flashing using Flash download tool

alt text

  • Connect esp32-cam-mb adapter to USB
  • Add firmware files as shown on screenshot:

alt text

  • Make sure checkboxes are selected
  • Make sure addresses are filled corectly
  • Make sure files are selected in correct order
  • Click [Start]

Building and Flashing using PlatformIO

  • Download and install PlatformIO https://platformio.org/

  • Clone repository: git clone -b release --recursive https://github.com/RomanLut/esp32-cam-fpv

  • Open project: esp32-cam-fpv\air_firmware_esp32cam\esp32-cam-fpv-esp32cam.code-workspace

  • Let PlatformIO install all components

  • Uncomment desired configuration section in:

    //---- CONFIG 1 -----

  • Connect esp32cam to USB

  • Click [PlatformIO: Upload] on bottom toolbar.

Over the Air update (OTA)

When esp32cam is installed on UAV, it would require desoldering to update firmware.

There is easie alternative way using Over The Air update (OTA). It is possible only in configuration 1 which has REC button.

Hold REC button while powering up to enter OTA mode. Alternatively, hold REC button and press reset button.

OTA/Fileserver mode is indicated by LED blinking with 2 Hz frequency

  • Enter OTA mode.
  • Connect to espvtx access point
  • Navigate to http://192.168.4.1/ota
  • Select firmware.bin file
  • Click Upload