hi there!
I got a it_wdt_reset if call uni_gamepad_dump function .It usually appears in a few minutes.I tryed to set Interrupt watchdog timeout bigger but is no efect.even if turn off Interrupt watchdog.
and is hard to conect to xboxone controller some times.
.............................................
(0xb0cfc7f) dpad=0x00, x=-6, y=-4, rx=-15, ry=10, brake=0, accel=0, buttons=0x00000000, misc=0x00
(0xb0cfc7f) dpad=0x00, x=-6, y=-4, rx=-15, ry=5, brake=0, accel=0, buttons=0x00000000, misc=0x00
(0xb0cfc7f) dpad=0x00, x=-6, y=-4, rx=-15, ry=2, brake=0, accel=0, buttons=0x00000000, misc=0x00
(0xb0cfc7f) dpad=0x00, x=-6, y=-4, rx=-15, ry=0, brake=0, accel=0, buttons=0x00000000, misc=0x00
ASSERT_PARAM(2097152 0), in rwbt.c at line 381
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).
Core 0 register dump:
PC : 0x400877e3 PS : 0x00060034 A0 : 0x8008dc40 A1 : 0x3ffbea80
0x400877e3: r_assert_param at ??:?
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x60008048 A5 : 0x00000000
A6 : 0x00000004 A7 : 0x3ffbdbb4 A8 : 0x800877e0 A9 : 0x3ffbea60
A10 : 0x00000000 A11 : 0x0000002f A12 : 0x00000014 A13 : 0xffffffff
A14 : 0x00000000 A15 : 0xfffffffc SAR : 0x00000004 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x40087718 LEND : 0x4008771f LCOUNT : 0x00000000
0x40087718: r_assert_param at ??:?
0x4008771f: r_assert_param at ??:?
Core 0 was running in ISR context:
EPC1 : 0x400d3aef EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x400877e3
0x400d3aef: uart_hal_write_txfifo at D:/Desktop/esp-idf/components/hal/uart_hal_iram.c:35
0x400877e3: r_assert_param at ??:?
Backtrace:0x400877e0:0x3ffbea80 0x4008dc3d:0x3ffbeaa0 0x4008e05b:0x3ffbeac0 0x400829ad:0x3ffbeae0 0x4011c4b3:0x3ffd1720 0x400d98b7:0x3ffd1740 0x40091235:0x3ffd1760 0x4009341d:0x3ffd1780
0x400877e0: r_assert_param at ??:?
0x4008dc3d: r_rwbt_isr at ??:?
0x4008e05b: r_rwbtdm_isr_wrapper at intc.c:?
0x400829ad: _xt_lowint1 at D:/Desktop/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1105
0x4011c4b3: cpu_ll_waiti at d:\desktop\esp-idf\bluepad32\src\build/../../../components/hal/esp32/include/hal/cpu_ll.h:183
(inlined by) esp_pm_impl_waiti at D:/Desktop/esp-idf/components/esp_pm/pm_impl.c:827
0x400d98b7: esp_vApplicationIdleHook at D:/Desktop/esp-idf/components/esp_common/src/freertos_hooks.c:63
0x40091235: prvIdleTask at D:/Desktop/esp-idf/components/freertos/tasks.c:3839 (discriminator 1)
0x4009341d: vPortTaskWrapper at D:/Desktop/esp-idf/components/freertos/port/xtensa/port.c:168
Core 1 register dump:
PC : 0x4011c4b6 PS : 0x00060a34 A0 : 0x800d98ba A1 : 0x3ffd2180
0x4011c4b6: esp_pm_impl_waiti at D:/Desktop/esp-idf/components/esp_pm/pm_impl.c:829
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000001 A5 : 0x80000001
A6 : 0x00000003 A7 : 0x00060023 A8 : 0x800f3ada A9 : 0x3ffd2150
A10 : 0x00000000 A11 : 0x00060c23 A12 : 0x00060c20 A13 : 0x00060c23
A14 : 0x00000001 A15 : 0x00000000 SAR : 0x0000001e EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace:0x4011c4b3:0x3ffd2180 0x400d98b7:0x3ffd21a0 0x40091235:0x3ffd21c0 0x4009341d:0x3ffd21e0
0x4011c4b3: cpu_ll_waiti at d:\desktop\esp-idf\bluepad32\src\build/../../../components/hal/esp32/include/hal/cpu_ll.h:183
(inlined by) esp_pm_impl_waiti at D:/Desktop/esp-idf/components/esp_pm/pm_impl.c:827
0x400d98b7: esp_vApplicationIdleHook at D:/Desktop/esp-idf/components/esp_common/src/freertos_hooks.c:63
0x40091235: prvIdleTask at D:/Desktop/esp-idf/components/freertos/tasks.c:3839 (discriminator 1)
0x4009341d: vPortTaskWrapper at D:/Desktop/esp-idf/components/freertos/port/xtensa/port.c:168
ELF file SHA256: fae0159e96f8dc68
I (19409) esp_core_dump_flash: Save core dump to flash...
I (19416) esp_core_dump_flash: Erase flash 16384 bytes @ 0x110000
I (19643) esp_core_dump_flash: Write end offset 0x3124, check sum length 4
I (19643) esp_core_dump_flash: Core dump has been saved to flash.
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6948
load:0x40078000,len:14308
load:0x40080400,len:3708
0x40080400: _init at ??:?
entry 0x40080680
I (27) boot: ESP-IDF v4.3.1 2nd stage bootloader
I (27) boot: compile time 20:42:13
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed : 40MHz
I (42) boot.esp32: SPI Mode : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (74) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00100000
I (89) boot: 3 coredump Unknown data 01 03 00110000 00010000
I (97) boot: End of partition table
I (101) boot_comm: chip revision: 1, min. application chip revision: 0
I (108) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=15708h ( 87816) map
I (149) esp_image: segment 1: paddr=00025730 vaddr=3ffbdb60 size=05170h ( 20848) load
I (157) esp_image: segment 2: paddr=0002a8a8 vaddr=40080000 size=05770h ( 22384) load
I (166) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=4d39ch (316316) map
I (281) esp_image: segment 4: paddr=0007d3c4 vaddr=40085770 size=10c48h ( 68680) load
I (309) esp_image: segment 5: paddr=0008e014 vaddr=50000000 size=00010h ( 16) load
I (321) boot: Loaded app from partition at offset 0x10000
I (321) boot: Disabling RNG early entropy source...
I (333) cpu_start: Pro cpu up.
I (333) cpu_start: Starting app cpu, entry point is 0x400811ac
0x400811ac: call_start_cpu1 at D:/Desktop/esp-idf/components/esp_system/port/cpu_start.c:141
I (320) cpu_start: App cpu up.
I (349) cpu_start: Pro cpu start user code
I (349) cpu_start: cpu freq: 160000000
I (349) cpu_start: Application information:
I (354) cpu_start: Project name: bluepad32-app
I (359) cpu_start: App version: 3.0.0
I (364) cpu_start: Compile time: Mar 16 2022 02:36:29
I (370) cpu_start: ELF file SHA256: fae0159e96f8dc68...
I (376) cpu_start: ESP-IDF: v4.3.1
I (381) heap_init: Initializing. RAM available for dynamic allocation:
I (388) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (394) heap_init: At 3FFB7CD8 len 00000328 (0 KiB): DRAM
I (400) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (407) heap_init: At 3FFD06C8 len 0000F938 (62 KiB): DRAM
I (413) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (419) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (426) heap_init: At 400963B8 len 00009C48 (39 KiB): IRAM
I (434) esp_core_dump_flash: Init core dump to flash
I (438) esp_core_dump_flash: Found partition 'coredump' @ 110000 65536 bytes
I (458) esp_core_dump_flash: Core dump data checksum is correct
I (458) esp_core_dump_flash: Found core dump 12580 bytes in flash @ 0x110000
luepad32 (C) 2016-2022 Ricardo Quesada and contributors.
Version: v3.0.0
BTStack: Copyright (C) 2017 BlueKitchen GmbH.
I (507) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (507) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (517) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (527) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (537) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (547) gpio: GPIO[17]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (557) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (567) gpio: GPIO[19]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (577) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (587) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (597) gpio: GPIO[23]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (607) gpio: GPIO[25]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (617) gpio: GPIO[26]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (617) gpio: GPIO[27]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (627) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (637) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
pc_debug: init()
Platform: PC Debug
Gap security level: 2
Periodic Inquiry: max=5, min=4, len=3
I (657) BTDM_INIT: BT controller compile version [bfbbe1e]
I (667) system_api: Base MAC address is not set
I (667) system_api: read default base MAC address from EFUSE
I (677) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
BTstack up and running at E8:68:E7:23:56:82
HCI not ready, cannot send packet, will again try later. Current state idx=1
HCI not ready, cannot send packet, will again try later. Current state idx=2
BTstack up and running on E8:68:E7:23:56:82.
pc_debug: get_property(): 0
Stored link keys:
3F C2 9B 99 7D 28 26 62 1B 4C 81 F9 43 86 04 5E
5C:BA:37:FF:6E:6B - type 4, key: .
pc_debug: on_init_complete()
--> HCI_EVENT_CONNECTION_REQUEST: link_type = 1 <--
on_hci_connection_request from: address = 5C:BA:37:FF:6E:6B, cod=0x0508
--> HCI_EVENT_ROLE_CHANGE
--> HCI_EVENT_CONNECTION_COMPLETE
--> HCI_EVENT_LINK_KEY_REQUEST:
--> HCI_EVENT_LINK_KEY_REQUEST:
--> L2CAP_EVENT_INCOMING_CONNECTION
L2CAP_EVENT_INCOMING_CONNECTION (psm=0x0011, local_cid=0x0041, remote_cid=0x0040, handle=0x0080, channel=0x0041, addr=5C:BA:37:FF:6E:6B
--> HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT: status=0, handle=0x0080
--> HCI_EVENT_LINK_KEY_REQUEST:
--> HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT: status=0, handle=0x0080
L2CAP_EVENT_CHANNEL_OPENED (channel=0x0041)
PSM: 0x0011, local CID=0x0041, remote CID=0x0040, handle=0x0080, incoming=1, local MTU=1691, remote MTU=1480, addr=5C:BA:37:FF:6E:6B
HID Control opened, cid 0x41
uni_bluetooth_process_fsm, bd addr:5C:BA:37:FF:6E:6B, state: 10, incoming:1
--> L2CAP_EVENT_INCOMING_CONNECTION
L2CAP_EVENT_INCOMING_CONNECTION (psm=0x0013, local_cid=0x0042, remote_cid=0x0041, handle=0x0080, channel=0x0042, addr=5C:BA:37:FF:6E:6B
L2CAP_EVENT_CHANNEL_OPENED (channel=0x0042)
PSM: 0x0013, local CID=0x0042, remote CID=0x0041, handle=0x0080, incoming=1, local MTU=1691, remote MTU=1480, addr=5C:BA:37:FF:6E:6B
HID Interrupt opened, cid 0x42
pc_debug: device connected: 0x3ffc42ac
uni_bluetooth_process_fsm, bd addr:5C:BA:37:FF:6E:6B, state: 12, incoming:1
uni_bluetooth_process_fsm: requesting name
--> HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
Name: 'Xbox Wireless Controller'
uni_bluetooth_process_fsm, bd addr:5C:BA:37:FF:6E:6B, state: 4, incoming:1
uni_bluetooth_process_fsm: starting SDP query
-----------> sdp_query_start()
Starting SDP VID/PID query for 5C:BA:37:FF:6E:6B
Vendor ID: 0x045e - Product ID: 0x02fd
Device detected as Xbox One: 0x20
uni_bluetooth_process_fsm, bd addr:5C:BA:37:FF:6E:6B, state: 6, incoming:1
uni_bluetooth_process_fsm: querying HID descriptor
Starting SDP HID-descriptor query for 5C:BA:37:FF:6E:6B
SDP HID Descriptor (334):
05 01 09 05 A1 01 85 01 09 01 A1 00 09 30 09 31 15 00 27 FF FF 00 00 95 02 75 10 81 02 C0 09 01 A1 00 09 32 09 35 15 00 27 FF FF 00 00 95 02 75 10 81 02 C0 05 02 09 C5 15 00 26 FF 03 95 01 75 0A 81 02 15 00 25 00 75 06 95 01 81 03 05 02 09 C4 15 00 26 FF 03 95 01 75 0A 81 02 15 00 25 00 75 06 95 01 81 03 05 01 09 39 15 01 25 08 35 00 46 3B 01 66 14 00 75 04 95 01 81 42 75 04 95 01 15 00 25 00 35 00 45 00 65 00 81 03 05 09 19 01 29 0F 15 00 25 01 75 01 95 0F 81 02 15 00 25 00 75 01 95 01 81 03 05 0C 0A 24 02 15 00 25 01 95 01 75 01 81 02 15 00 25 00 75 07 95 01 81 03 05 0C 09 01 85 02 A1 01 05 0C 0A 23 02 15 00 25 01 95 01 75 01 81 02 15 00 25 00 75 07 95 01 81 03 C0 05 0F 09 21 85 03 A1 02 09 97 15 00 25 01 75 04 95 01 91 02 15 00 25 00 75 04 95 01 91 03 09 70 15 00 25 64 75 08 95 04 91 02 09 50 66 01 10 55 0E 15 00 26 FF 00 75 08 95 01 91 02 09 A7 15 00 26 FF 00 75 08 95 01 91 02 65 00 55 00 09 7C 15 00 26 FF 00 75 08 95 01 91 02 C0 05 06 09 20 85 04 15 00 26 FF 00 75 08 95 01 81 02 C0
Xbox One: Unsupported page: 0x0002, usage: 0x00c5, value=0x0
Xbox One: Unsupported page: 0x0002, usage: 0x00c4, value=0x0
Xbox One: Unsupported page: 0x0009, usage: 0x000b, value=0x0
Xbox One: Unsupported page: 0x0009, usage: 0x000c, value=0x0
Xbox One: Unsupported page: 0x0009, usage: 0x000d, value=0x0
Xbox One: Unsupported page: 0x0009, usage: 0x000e, value=0x0
Xbox one: Firmware 4.8 detected
<----------- sdp_query_end()
uni_bluetooth_process_fsm, bd addr:5C:BA:37:FF:6E:6B, state: 8, incoming:1
Xbox one: Assuming it is firmware 4.8
Device setup (5C:BA:37:FF:6E:6B) is complete
pc_debug: device ready: 0x3ffc42ac
(0xb0cfc7f) dpad=0x00, x=-5, y=-5, rx=-14, ry=0, brake=0, accel=0, buttons=0x00000000, misc=0x00
(0xb0cfc7f) dpad=0x00, x=-5, y=-5, rx=-14, ry=0, brake=0, accel=0, buttons=0x00000000, misc=0x00