-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
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
Reboot after keyboard connect #42
Comments
Same problem as noted in issue #10 (which was closed without a resolution, apparently). The last comment by AnzuTeam provides some alternative code that may fix the problem for you; it didn't for me. I don't have an infrared keyboard to test with, but I've tried several different bluetooth devices including a Logitech MX Keys for Mac, a Switch Pro Controller, the standard Switch Joycons, a generic cheap bluetooth keyboard, a Rii bluetooth remote, and a couple of other bits and pieces, and all of them caused the same panic. |
The workaround in #10 did not work for me either. |
Have the same issue with Xiaomi chinese bluetooth gamepad. It has a very unusual name, and maybe it is the real reason |
I don't think the issue is the name, since the BT keyboard I am using has a short English name and I can see it in Windows 10. The crash happens because the connection process halts for some reason and the watchdog gets triggered. I can turn off the watchdog timer from the esp32 configuration and then it doesn't crash and reboot, but the core running BT still hangs. |
You can try to drop the back-trace info into the Esp Exception Decoder Cheers |
This is what i've got (and I'm not
which after a little googling points to a this: espressif/arduino-esp32#3028 |
Also what I found in google about this place
Final reference here – line 143 points to this small function:
|
Updated from esp core from 1.0.1 to 1.0.6 and got something new
|
I can increase it, but after specified delay device will still reboot anyway |
My bt keyboard connect after video_init.
The console content:
video_init
FF:FF:FF:FF:FF:FF:402500 input device added
frame_time:6121 drawn:121 displayed:130 blit_ticks:2233->2782, isr time:27.33%
frame_time:6155 drawn:241 displayed:250 blit_ticks:2232->2786, isr time:25.16%
s:64 L2CAP_OPENING
ASSERT_ERR(lm_env.local_name), in lm.c at line 79
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC : 0x4008464c PS : 0x00060534 A0 : 0x801163dd A1 : 0x3ffce100
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x60008048 A5 : 0x3ffbdbb4
A6 : 0x3ffbdbb4 A7 : 0x00000000 A8 : 0x8008464c A9 : 0x3ffce0e0
A10 : 0x00000032 A11 : 0x00000032 A12 : 0x00000010 A13 : 0xffffffff
A14 : 0x00000000 A15 : 0xfffffffd SAR : 0x00000004 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x400845f4 LEND : 0x400845fb LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x4008464c:0x3ffce100 0x401163da:0x3ffce120 0x4002509e:0x3ffce140 0x4010c892:0x3ffce180 0x400855ca:0x3ffce1a0 0x40019d11:0x3ffce1d0 0x40055b4d:0x3ffce1f0 0x4010825b:0x3ffce210 0x40108869:0x3ffce230 0x40090756:0x3ffce260
Core 1 register dump:
PC : 0x400ecfa6 PS : 0x00060134 A0 : 0x800ece10 A1 : 0x3ffc9e60
A2 : 0x3ffc6920 A3 : 0x3ffc9e84 A4 : 0x80081832 A5 : 0x3ffc0150
A6 : 0x00001036 A7 : 0x3ffc235c A8 : 0x800ecfa6 A9 : 0x3ffc9e40
A10 : 0x00000000 A11 : 0x3ffc2368 A12 : 0x8008155e A13 : 0x3ffc0130
A14 : 0x00000bb4 A15 : 0x3ffe0c40 SAR : 0x00000004 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400ecfa6:0x3ffc9e60 0x400ece0d:0x3ffc9e80 0x400ecea1:0x3ffc9eb0 0x400ed99f:0x3ffc9ed0 0x400d3190:0x3ffc9ef0 0x400ee819:0x3ffc9f10 0x40090756:0x3ffc9f30
Rebooting...
The text was updated successfully, but these errors were encountered: