Closed beta-tester closed 7 months ago
tested with arduino-esp32 2.0.14 and TinyUSB 3.1.0 without any issue, therefore not reproducibled. Try to upgrade your esp32 core and or configure your module correctly.
i have also the issue that Arduino IDE 2.3.2 does not offer the esp32 version 2.0.14. the highest listed version is 2.0.11. https://github.com/arduino/arduino-ide/issues/2382 maybe this is the cause of the issues i have.
thank you for the hint.
i installed the latest arduino-esp32 (2.0.14) and now it works. and changed my settings.
i never thought that the esp32 boards library shipped out of the box by Arduino IDE 2.3.2, three days ago, isn't up to date.
hmmmm. I have installed Arduino IDE 2.3.2 today - using arduino-esp32 (2.0.14) , Arduino_TinyUsb 3.1.0. I played around with the "hid_generic_inout" sample ... I can confirm it compiles and runs - IF "USB CDC on Boot: "Enabled"" - if it is set to "disable" the scatch crashes right after reset (as I had it before). Is this expected behavior? Why do I need CDC?
... IF "USB CDC on Boot: "Enabled"" - if it is set to "disable" the scatch crashes right after reset (as I had it before). Is this expected behavior? Why do I need CDC?
that's what i also observed. and in the hid_dual_interfaces.ino example, only the first USB sub class (usb_keyboard) is working, the second not (usb_mouse).
that's the reason, why i "left" Arduino_TinyUSB_Library and switched to the USB examples of arduino-esp32 2.0.14 core package.
so at the moment, for my purpose, i see no need for using Arduino_TinyUSB_Library anymore.
Operating System
Linux
Arduino IDE version
2.3.2
Board
ESP32-S3 Dev Module
ArduinoCore version
esp 2.0.11
TinyUSB Library version
3.1.0
Sketch as ATTACHED TXT
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/examples/HID/hid_dual_interfaces/hid_dual_interfaces.ino
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/examples/Video/video_capture/video_capture.ino
Compiled Log as ATTACHED TXT
no issues at compile time nor upload.
What happened ?
panic at
usb_xxx.begin()
How to reproduce ?
i comment out all usb parts in the sketch and enabled them step by step. the ESP32-S3 shows panic when i enable the
usb_xxx.begin()
line.i tried two different ESP32-S3 modules. Waveshare ESP32-S3-Zero WROOM-1-N16R8 ESP32-S3-DevKitC-1 clone
both shows the same behavior.
Debug Log
in endless loop
Screenshots