I was using a C++ on a ESP32-S3 and I want to go back to CircuitPython. Is there a way to do that.
Thanks.
Convert back to CircuitPython
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- neradoc
- Posts: 542
- Joined: Wed Apr 27, 2016 2:38 pm
Re: Convert back to CircuitPython
Hi, what board is it ?
If you still have the UF2 bootloader installed (which should be the case if you used Arduino) press reset, then press reset again when the LED is purple (or boot, the double-reset is sometimes finicky), to mount the BOOT drive, an drop the UF2 for your board, make sure to pick the exact right one (some boards have similar names). https://circuitpython.org/
If you don't have the UF2 bootloader anymore, you'll have to install tinyuf2 with esptool.
All boards have a dedicated guide (linked at the bottom of the product page).
Most board guides have a factory reset section to reinstall the UF2 bootloader.
If not, I can give you directions for your board.
If you still have the UF2 bootloader installed (which should be the case if you used Arduino) press reset, then press reset again when the LED is purple (or boot, the double-reset is sometimes finicky), to mount the BOOT drive, an drop the UF2 for your board, make sure to pick the exact right one (some boards have similar names). https://circuitpython.org/
If you don't have the UF2 bootloader anymore, you'll have to install tinyuf2 with esptool.
All boards have a dedicated guide (linked at the bottom of the product page).
Most board guides have a factory reset section to reinstall the UF2 bootloader.
If not, I can give you directions for your board.
- merchsummer
- Posts: 1
- Joined: Thu Jul 21, 2022 10:58 pm
Re: Convert back to CircuitPython
That's cool, I am so excited to see it...
#codesource #merchsummer #lineofcircuit
#codesource #merchsummer #lineofcircuit
- jlaiosa
- Posts: 56
- Joined: Sun May 30, 2021 11:29 am
Re: Convert back to CircuitPython
If could send me the directions on how to use the esptool to reinstall CircuitPython that would be great. Thanks for the help.
- neradoc
- Posts: 542
- Joined: Wed Apr 27, 2016 2:38 pm
Re: Convert back to CircuitPython
What ESP32-S3 board is it ?
Here are the instructions for the QT PY S3, start at the Factory Reset and Bootloader Repair section.
https://learn.adafruit.com/adafruit-qt- ... tory-reset
If it's a feather, there is not yet a factory reset bin, instead you can follow the instructions above but instead of installing the qt-py-esp32-s3-factory-reset-and-bootloader.bin file used on that page, download the tinnyuf2 zip for your board, unzip it and install "combined.bin" with the instructions.
Direct links:
Once installed, the board should boot in bootloader mode with a FEATHERBOOT drive, you can then drop the Circuitpython UF2 on it, from the board's page on: https://circuitpython.org/downloads
In short:
esptool.py --chip esp32s3 --port THE_PORT erase_flash
esptool.py --chip esp32s3 --port THE_PORT write_flash 0x0000 combined.bin
(You have to reset the board manually afterwards)
Here are the instructions for the QT PY S3, start at the Factory Reset and Bootloader Repair section.
https://learn.adafruit.com/adafruit-qt- ... tory-reset
If it's a feather, there is not yet a factory reset bin, instead you can follow the instructions above but instead of installing the qt-py-esp32-s3-factory-reset-and-bootloader.bin file used on that page, download the tinnyuf2 zip for your board, unzip it and install "combined.bin" with the instructions.
Direct links:
- Adafruit ESP32-S3 Feather with 4MB Flash 2MB PSRAM : https://github.com/adafruit/tinyuf2/rel ... 0.10.2.zip
- Adafruit ESP32-S3 Feather with 8MB Flash No PSRAM : https://github.com/adafruit/tinyuf2/rel ... 0.10.2.zip
- Adafruit ESP32-S3 TFT Feather - 4MB Flash, 2MB PSRAM : https://github.com/adafruit/tinyuf2/rel ... 0.10.2.zip
Once installed, the board should boot in bootloader mode with a FEATHERBOOT drive, you can then drop the Circuitpython UF2 on it, from the board's page on: https://circuitpython.org/downloads
In short:
esptool.py --chip esp32s3 --port THE_PORT erase_flash
esptool.py --chip esp32s3 --port THE_PORT write_flash 0x0000 combined.bin
(You have to reset the board manually afterwards)
- jlaiosa
- Posts: 56
- Joined: Sun May 30, 2021 11:29 am
Re: Convert back to CircuitPython
Thanks for information..
Please be positive and constructive with your questions and comments.