ESP32: Difference between revisions

From Network Security Wiki
Content added Content deleted
Line 8: Line 8:
= Installation =
= Installation =


Download the firmware:
http://micropython.org/download/esp32/
http://micropython.org/download/esp32/


*The following files are daily firmware for ESP32-based boards, with separate firmware for boards with and without external SPIRAM.
* Non-SPIRAM firmware will work on any board, whereas SPIRAM enabled firmware will only work on boards with 4MiB of external pSRAM.
* Firmware built with ESP-IDF v3.x has support for BLE, LAN and PPP.
*Non-SPIRAM firmware will work on any board, whereas SPIRAM enabled firmware will only work on boards with 4MiB of external pSRAM.
* Firmware built with ESP-IDF v4.x, has support for BLE, but no LAN or PPP.
* If in doubt use v3.x.


Flashing the Firmware:
*Firmware is provided using either ESP-IDF v3.x or v4.x. If in doubt use v3.x.
esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash

esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-idf4-20191220-v1.12.bin
*Firmware built with ESP-IDF v3.x, with support for BLE, LAN and PPP:

*Firmware built with ESP-IDF v4.x, with support for BLE, but no LAN or PPP:




esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin





Revision as of 12:19, 1 August 2020


Basics

        This section is under construction.

Installation

Download the firmware:

http://micropython.org/download/esp32/
  • Non-SPIRAM firmware will work on any board, whereas SPIRAM enabled firmware will only work on boards with 4MiB of external pSRAM.
  • Firmware built with ESP-IDF v3.x has support for BLE, LAN and PPP.
  • Firmware built with ESP-IDF v4.x, has support for BLE, but no LAN or PPP.
  • If in doubt use v3.x.

Flashing the Firmware:

esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-idf4-20191220-v1.12.bin



References





{{#widget:DISQUS |id=networkm |uniqid=ESP32 |url=https://aman.awiki.org/wiki/ESP32 }}