robot-soccer-kit
robot-soccer-kit copied to clipboard
Sometime robot resets while pairing
I was connected to a robot when it happens and got the backtrace
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x401292eb PS : 0x00060730 A0 : 0x8012a1c5 A1 : 0x3ffd39a0
A2 : 0x3ffd7794 A3 : 0x00000000 A4 : 0x3ffd7174 A5 : 0x3ffd73e4
A6 : 0x00000001 A7 : 0x00000002 A8 : 0x801292e8 A9 : 0x3ffd3980
A10 : 0x3ffd7794 A11 : 0x00000001 A12 : 0xffffff80 A13 : 0x00000000
A14 : 0x0000008d A15 : 0x00000000 SAR : 0x0000001d EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000072 LBEG : 0x4008ffb0 LEND : 0x4008ffbb LCOUNT : 0xffffffff
Backtrace:0x401292e8:0x3ffd39a00x4012a1c2:0x3ffd39d0 0x401285aa:0x3ffd39f0 0x40106191:0x3ffd3a10 0x4010975e:0x3ffd3a40 0x400fa2e4:0x3ffd3bd0 0x40112353:0x3ffd3bf0
ELF file SHA256: 0000000000000000
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (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:1184
load:0x40078000,len:12776
load:0x40080400,len:3032
entry 0x400805e4
[ 17][E][BluetoothSerial.cpp:933] isReady(): BT is not initialized. Call begin() first
Problem: I don't have the exact firmware.elf that was deployed back then when I got the stack trace
To debug:
- Flash the robots with a known
firmware.elf - Plug with USB to one robot during pairing to get a similar stack dump as the one above
Then it will be useable to investigate the stack trace