We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git describe --tags
xtensa-esp32-elf-gcc --version
commit a4d0033 changed the behavior of configure_pins() leading to LoadProhibited when calling tinyusb_driver_install:
tinyusb example app will reproduce this.
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x40085400 PS : 0x00060c30 A0 : 0x8008548e A1 : 0x3ffddb40 A2 : 0x00004000 A3 : 0x3f0214f4 A4 : 0x00000000 A5 : 0x00000030 A6 : 0x00000000 A7 : 0x3ffddb40 A8 : 0x000000b8 A9 : 0x0000003a A10 : 0x00060c23 A11 : 0x00000000 A12 : 0x00060c20 A13 : 0x00000000 A14 : 0x3f02bc86 A15 : 0x00000011 SAR : 0x00000010 EXCCAUSE: 0x0000001c EXCVADDR: 0x00004000 LBEG : 0x00060c20 LEND : 0x00000000 LCOUNT : 0x4002a5c1 0x4002a5c1: _xt_user_exc at .../esp-idf/components/freertos/xtensa/xtensa_vectors.S:627 Backtrace:0x400853fd:0x3ffddb40 0x4008548b:0x3ffddb70 0x400854f6:0x3ffddbb0 0x40090e21:0x3ffddbf0 0x4002f1cc:0x3ffdddb0 0x400853fd: gpio_ll_input_enable at tinyusb.c:? 0x4008548b: configure_pins at tinyusb.c:? 0x400854f6: tinyusb_driver_install at ??:? 0x40090e21: app_main at ..../esp32s2io/build/../main/esp32s2io.cpp:431 0x4002f1cc: main_task at .../esp-idf/components/freertos/xtensa/port.c:511
The fix for this is to update
esp-idf/components/tinyusb/port/esp32s2/src/tinyusb.c
Line 37 in a4d0033
if (iopin->pin != GPIO_MATRIX_CONST_ONE_INPUT && iopin->pin != GPIO_MATRIX_CONST_ZERO_INPUT) { gpio_ll_input_enable(&GPIO, iopin->pin); }
since gpio_ll_input_enable does no bounds checking (something else that should be done!)
The text was updated successfully, but these errors were encountered:
Yes. console CDC works more or less pretty good, but thats all. Tinyusb component in app does not work at all (yes, console is UART).
Sorry, something went wrong.
HI! Indeed, we broke it, thank you for the report. I'll fix it soon
7e4cdc1
usb: configure_pins fix for tinyusb
20cec42
Closes #5588
No branches or pull requests
Environment
git describe --tags
to find it): a4d0033 (latest master)xtensa-esp32-elf-gcc --version
to find it): 8.2.0r2Problem Description
commit a4d0033 changed the behavior of configure_pins() leading to LoadProhibited when calling tinyusb_driver_install:
Code to reproduce this issue
tinyusb example app will reproduce this.
Debug Logs
The fix for this is to update
esp-idf/components/tinyusb/port/esp32s2/src/tinyusb.c
Line 37 in a4d0033
since gpio_ll_input_enable does no bounds checking (something else that should be done!)
The text was updated successfully, but these errors were encountered: