Convert back to CircuitPython

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jlaiosa
 
Posts: 56
Joined: Sun May 30, 2021 11:29 am

Convert back to CircuitPython

Post by jlaiosa »

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.

User avatar
neradoc
 
Posts: 542
Joined: Wed Apr 27, 2016 2:38 pm

Re: Convert back to CircuitPython

Post by neradoc »

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.

User avatar
merchsummer
 
Posts: 1
Joined: Thu Jul 21, 2022 10:58 pm

Re: Convert back to CircuitPython

Post by merchsummer »

That's cool, I am so excited to see it...
#codesource #merchsummer #lineofcircuit

User avatar
jlaiosa
 
Posts: 56
Joined: Sun May 30, 2021 11:29 am

Re: Convert back to CircuitPython

Post by jlaiosa »

If could send me the directions on how to use the esptool to reinstall CircuitPython that would be great. Thanks for the help.

User avatar
neradoc
 
Posts: 542
Joined: Wed Apr 27, 2016 2:38 pm

Re: Convert back to CircuitPython

Post by neradoc »

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: The file you want to install is "combined.bin" (at offset 0, that part does not change).

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)

User avatar
jlaiosa
 
Posts: 56
Joined: Sun May 30, 2021 11:29 am

Re: Convert back to CircuitPython

Post by jlaiosa »

Thanks for information..

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”