Closed findmyname666 closed 2 years ago
Thanks for reporting, we will be looking at this shortly
Hi @findmyname666
Exactly which esp32-s2 board are you using (eg. esp32-s2-saola, esp32-s2-devkitc, etc.)? It's typically printed on the PCB if you're unsure.
Hi @dachalco @alfred2g ,
Thanks for feedback.
I'm using these Olimex boards (ESP32-S2-DevKit-Lipo-USB) which are compatible with esp32-s2-saola-1.
BR
Hi @findmyname666
USB support should already be provided by esp-idf. We should be updating our IDF version to v4.3
soon, afte which these errors won't pop up. In the meantime, it appears you're at least able to flash the application. As for monitoring, instead of using idf.py monitor
you can use another usb serial monitoring program such as teraterm
, serial
, minicom
, etc. to monitor the device UART output. If alternative serial monitoring does not work, please re-open the ticket.
I cannot flash esp32-s2 without failure. Here is the log from idf.py -p /dev/ttyACM0 flash:
After manual reset the "test" app seems to run. So far I'm unable to use monitor command.
This can be solved by adding support for USB Communication Device Class (CDC) to implement the serial console. Here is the ESP documentation with more details. However this seems to be documented only for
v4.3
so I'm not sure if that works forv4.2
. I actually used it inv4.3
and it works!P.S.: I'm not really expert either in electronics and / or esp-idf build system so I cannot help or provided more technical details.
Thx