EmotiBit / ofxEmotiBit

OpenFrameworks library and examples for the EmotiBit
MIT License
33 stars 7 forks source link

Add support for ESP32 in firmware installer #146

Closed nitin710 closed 1 year ago

nitin710 commented 2 years ago

Description

Useful links

Proposed solution

nitin710 commented 2 years ago

boards.txt from the adafruit boards package

# Adafruit Feather M0 (SAMD21)
# ------------------------------
adafruit_feather_m0.name=Adafruit Feather M0
adafruit_feather_m0.vid.0=0x239A
adafruit_feather_m0.pid.0=0x800B
adafruit_feather_m0.vid.1=0x239A
adafruit_feather_m0.pid.1=0x000B
adafruit_feather_m0.vid.2=0x239A
adafruit_feather_m0.pid.2=0x0015
nitin710 commented 2 years ago

Tested:

nitin710 commented 2 years ago

Feather M0 in normal mode image

Feather M0 in bootloader mode image

Notice

nitin710 commented 2 years ago

For ESP image

image

nitin710 commented 1 year ago

The ESP32 feather has CP2104 driver, which is responsible for UART comms. From primary testing (and then verification using design files), it looks like the CP2104 is always powered ON, as long at teh USB is connected. This means that pressing the RESET button will not toggle the CP2104 on->off->on, for detection by firmware installer. We need probably need to change the standard flow to detect a feather in firmware installer.

nitin710 commented 1 year ago

Tested working with ESP on Windows

Tests

image