Giter Site home page Giter Site logo

Automatic Firmware Update about flipmouse HOT 3 CLOSED

asterics avatar asterics commented on June 11, 2024
Automatic Firmware Update

from flipmouse.

Comments (3)

benjaminaigner avatar benjaminaigner commented on June 11, 2024

IMHO we need:

  1. detect esptool.py DTR/RTS behaviour
  2. redirect DTR/RTS lines to GPIO0 & RESET lines of ESP32 (I think we should route both signals of the ESP32miniBT module to the AUX header and remove the buttons from the PCB)
  3. route the USB serial data directly to the ESP32 module

One question still exists:
How to use the UART interfaces? programming the ESP32 is done via UART0 as well as the debug output.
The communication between Teensy and ESP32 is done via UART2.

Options:

  • Write own bootloader
  • Route both UARTs from ESP32 to AUX header -> Software Serial necessary because we don't have full Teensy serial port on AUX header (only TX2).
  • Write some kind of OTA firmware, without changing the PCB at all

from flipmouse.

benjaminaigner avatar benjaminaigner commented on June 11, 2024

I think the most compatible way with the current PCB & firmware would be the OTA way:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html

We could use one of the examples, but instead of updating via HTTP(s) we could use the data from UART.

Nevertheless, hopefully the Flash memory of the Teensy allows such changes :-)

from flipmouse.

benjaminaigner avatar benjaminaigner commented on June 11, 2024

Closed a few years ago :-), see: https://github.com/asterics/esp32_addon_bootloader

from flipmouse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.