Adafruit qualia board with ESP32-S3

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Post Reply
User avatar
Karunt
 
Posts: 4
Joined: Thu May 09, 2024 7:40 pm

Adafruit qualia board with ESP32-S3

Post by Karunt »

Is there a way to flash code written in C onto the Adafruit Qualia board with ESP32-S3 using ESP-IDF? I'm only familiar with programming in this environment and don't want to have to spend more time learning CircuitPython if there's a way to accomplish what I'm trying using the ESP-IDF platform.

User avatar
adafruit_support_carter
 
Posts: 29786
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit qualia board with ESP32-S3

Post by adafruit_support_carter »

Yes, check the ESP-IDF guide for details:
https://docs.espressif.com/projects/esp ... index.html

Note that none of the existing Adafruit support libraries can be used with this approach, since they use Arduino libraries and rely on the ESP32 Arduino core. You will be starting from scratch with everything.

User avatar
Karunt
 
Posts: 4
Joined: Thu May 09, 2024 7:40 pm

Re: Adafruit qualia board with ESP32-S3

Post by Karunt »

I followed all the guidelines provided by Espressif from the link you shared, but after writing the project to the ESP32-S3 chip, the process just stalls and goes into some sort of waiting mode. Here's what I get:

Code: Select all

Wrote 3072 bytes (120 compressed) at 0x00008000 in 0.1 seconds (effective 463.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory C:\Users\karun\ePuzzle\ezzle\ESP32S3_code
Executing "c:\Users\karun\ESP\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Users\karun\esp\esp-idf\tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 C:\Users\karun\ePuzzle\ezzle\ESP32S3_code\build\epuzz.elf --force-color -m 'c:\Users\karun\ESP\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe' 'C:\Users\karun\esp\esp-idf\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM4 instead...
--- esp-idf-monitor 1.2.1 on \\.\COM4 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x0 (DOWNLOAD(USB/UART0))
Saved PC:0x40041a76
0x40041a76: ets_delay_us in ROM

waiting for download
Is there something specific about the board settings which I need to tweak when using ESP-IDF? Thanks.

User avatar
adafruit_support_carter
 
Posts: 29786
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit qualia board with ESP32-S3

Post by adafruit_support_carter »

We generally do not have support for this workflow. Only Arduino/CircuitPython per the product's main guide:
https://learn.adafruit.com/adafruit-qua ... 6-displays

Maybe try manually putting the board in ROM bootloader mode before uploading?
https://learn.adafruit.com/adafruit-qua ... de-3106832

User avatar
Karunt
 
Posts: 4
Joined: Thu May 09, 2024 7:40 pm

Re: Adafruit qualia board with ESP32-S3

Post by Karunt »

Simply hitting the Reset button on the Qualia board did the trick ultimately. Not sure I understand why that's necessary though.

Post Reply
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”