All Projects → Fluepke → esptool

Fluepke / esptool

Licence: AGPL-3.0 License
esptool.py replacement written in #golang

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to esptool

ESP DoubleResetDetector
ESP_DoubleResetDetector is a library for the ESP32/ESP8266 Arduino platform to enable trigger configure mode by resetting twice.
Stars: ✭ 34 (+88.89%)
Mutual labels:  esp32, esp32-arduino
wifiaudio-tx-firmware
ESP32 based wifi auio transmitter firmware
Stars: ✭ 31 (+72.22%)
Mutual labels:  esp32, esp32-arduino
esp32-i2s-mems
Using an I2S MEMS microphone on an ESP32
Stars: ✭ 103 (+472.22%)
Mutual labels:  esp32, esp32-arduino
ESP-StepperMotor-Server
Turn your ESP32 into a complete stepper motor control server with web UI, REST API and serial control interface
Stars: ✭ 133 (+638.89%)
Mutual labels:  esp32, esp32-arduino
esp32FOTA
Experiments in firmware OTA updates for ESP32 dev boards
Stars: ✭ 185 (+927.78%)
Mutual labels:  esp32, esp32-arduino
ESP-Alerts-for-Android
Send Android Notifications to an ESP32 with OLED display
Stars: ✭ 42 (+133.33%)
Mutual labels:  esp32, esp32-arduino
OctoWifi-LEDs-Controller
LEDs driver for ESP32 ( support ART-NET, RGB888, RGB565, Z888 )
Stars: ✭ 16 (-11.11%)
Mutual labels:  esp32, esp32-arduino
Farm-Data-Relay-System
A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
Stars: ✭ 97 (+438.89%)
Mutual labels:  esp32, esp32-arduino
ESPHome-Air-Quality-Monitor
ESPHome configuration for a DIY indoor air quality monitor for CO₂ concentration, PM2.5 and PM10 concentrations, and temperature, humidity and pressure
Stars: ✭ 42 (+133.33%)
Mutual labels:  esp32, esp32-arduino
esp32-internet-ota
ESP32 + GitHub Actions + Husarnet. A boilerplate project for ESP32 allowing in-field firmware update using GitHub Actions workflow.
Stars: ✭ 28 (+55.56%)
Mutual labels:  esp32, esp32-arduino
ReactESP
An asynchronous programming library for the ESP32 and other microcontrollers using the Arduino framework.
Stars: ✭ 26 (+44.44%)
Mutual labels:  esp32, esp32-arduino
M5Stack-Air-Quality-ESPHome
ESPHome configuration for M5Stack's PM2.5 Air Quality Kit with the PMSA003 particulate matter sensor and the SHT20 temperature and humidity sensor
Stars: ✭ 19 (+5.56%)
Mutual labels:  esp32, esp32-arduino
esp32WS2811
Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral
Stars: ✭ 22 (+22.22%)
Mutual labels:  esp32, esp32-arduino
esp32cam-ready
Plug and Play firmware for the esp32cam. Flash, provision and connect to rtsp.
Stars: ✭ 67 (+272.22%)
Mutual labels:  esp32, esp32-arduino
ESP32AudioFramework
Dual core concurrent multi-task processing of continuous real-time audio on the ESP-32
Stars: ✭ 35 (+94.44%)
Mutual labels:  esp32, esp32-arduino
OneWire
Library for Dallas/Maxim 1-Wire Chips
Stars: ✭ 32 (+77.78%)
Mutual labels:  esp32, esp32-arduino
NeoGB-Printer
An open-source and standalone Gameboy Printer emulator 100% compatible with all officially released games (110 in total) that support the accessory. Just print and save the images as BMP
Stars: ✭ 61 (+238.89%)
Mutual labels:  esp32, esp32-arduino
TinyPixelMapper
a Pixelmapping software for the ESP32 and ESP8266 for addressible LED Strips, with a OSC controll interface and FFT
Stars: ✭ 22 (+22.22%)
Mutual labels:  esp32, esp32-arduino
esp-rgb-led-matrix
Full RGB LED matrix, based on an ESP32 and WS2812B LEDs.
Stars: ✭ 91 (+405.56%)
Mutual labels:  esp32, esp32-arduino
SensESP
Universal Signal K sensor framework for the ESP32 platform
Stars: ✭ 83 (+361.11%)
Mutual labels:  esp32

esptool

This is a work in progress and has not yet been fully tested I bundle my fluepdot firmware with this tool to ship a standalone update utility, which I prefer over remote code execution on customer HW OTA updates.

Compilation

go get github.com/fluepke/esptool
cd ${GOPATH-$HOME/go}/src/github.com/fluepke/esptool
go build
./esptool <args>

Usage

It only works on Linux as of right now, because Microsoft(r) Windows(tm)(c) does not support termios. Concerning MacOS: Buy me a macbook.

Esptool offers the following subcommands:

  • version: Show version info and exit
  • info: Retrieve various information from chip
  • flashRead: Read flash contents
  • flashWrite: Write flash contents

to see the help, type ./esptool <subcommand> -h

Examples

Read various information and the partition table from chip, then display them in JSON format:

./esptool info -serial.port /dev/ttyUSB0 -json
Click to see command output
{
  "ChipType": "ESP32D0WDQ6",
  "Revision": "1",
  "Features": [
    "240MHz",
    "WiFi",
    "Single Core",
    "VRef calibration in efuse",
    "Coding Scheme None",
    "Bluetooth"
  ],
  "MacAddress": "24:6f:28:92:ef:20",
  "Partitions": [
    {
      "name": "nvs",
      "type": "data",
      "subtype": "nvs",
      "Offset": 36864,
      "size": 16384
    },
    {
      "name": "otadata",
      "type": "data",
      "subtype": "factory",
      "Offset": 53248,
      "size": 8192
    },
    {
      "name": "phy_init",
      "type": "data",
      "subtype": "phy",
      "Offset": 61440,
      "size": 4096
    },
    {
      "name": "factory",
      "type": "app",
      "subtype": "factory",
      "Offset": 65536,
      "size": 3145728
    },
    {
      "name": "config",
      "type": "66",
      "subtype": "35",
      "Offset": 3211264,
      "size": 4096
    }
  ]
}

Write data to flash

./esptool flashWrite -flash.file=/home/fluepke/git/fluepdot/software/firmware/flipdot-firmware.bin -flash.offset=0x10000 -serial.port=/dev/ttyUSB0 -serial.baudrate.transfer=500000 -serial.baudrate.connect=115200
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].