Telelogger crashing on Freematics One+ when BLE active

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
fire555
Posts: 1
Joined: Sat May 20, 2023 7:47 pm

Telelogger crashing on Freematics One+ when BLE active

Post by fire555 »

Hi guys,

Like the title says, I am compiling the Telelogger and Datalogger with ENABLE_BLE set on using the Freematics builder. After uploading the binary, the unit is in a boot loop with something crashing. Below is the output on the console.

Any help would be greatly appreciated. Thanks!



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:1324
ho 0 tail 12 room 4
load:0x40078000,len:13508
load:0x40080400,len:3604
entry 0x400805f0
CPU:160MHz FLASH:4MB
IRAM:272KB
ets Jun 8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_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:1324
ho 0 tail 12 room 4
load:0x40078000,len:13508
load:0x40080400,len:3604
entry 0x400805f0
CPU:160MHz FLASH:4MB
IRAM:272KB
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).

Core 0 register dump:
PC : 0x40080200 PS : 0x00060035 A0 : 0x80094620 A1 : 0x3ffd1220
A2 : 0x3ffbe818 A3 : 0xffffffff A4 : 0x0000abab A5 : 0x00060023
A6 : 0x00060023 A7 : 0x0000cdcd A8 : 0x800820d6 A9 : 0xffffffff
A10 : 0x3ffbe804 A11 : 0x00000001 A12 : 0x00060021 A13 : 0x3ffd1300
A14 : 0xc0800000 A15 : 0x003fffff SAR : 0x00000005 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x4009063c LEND : 0x40090647 LCOUNT : 0xffffffff


Backtrace:0x400801fd:0x3ffd12200x4009461d:0x3ffd1260 0x40092d74:0x3ffd1290 0x40092d24:0x00060d23 |<-CORRUPTED


Core 1 register dump:
PC : 0x4018604a PS : 0x00060035 A0 : 0x80148e65 A1 : 0x3ffbd890
A2 : 0x00000000 A3 : 0x80000001 A4 : 0x80095a08 A5 : 0x3ffc6980
A6 : 0x00000003 A7 : 0x00060023 A8 : 0x00000014 A9 : 0x00000004
A10 : 0x3ffbd3f0 A11 : 0x80000001 A12 : 0x80095a08 A13 : 0x3ffc6d80
A14 : 0x00000003 A15 : 0x00060023 SAR : 0x00000000 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000


Backtrace:0x40186047:0x3ffbd8900x40148e62:0x3ffbd8b0 0x40093fcc:0x3ffbd8d0




ELF file SHA256: 0000000000000000
stanley
Site Admin
Posts: 1026
Joined: Sat Mar 01, 2014 3:15 am

Re: Telelogger crashing on Freematics One+ when BLE active

Post by stanley »

Please use PlatformIO to compile if you want to use BLE.
jesse99
Posts: 4
Joined: Tue Feb 20, 2024 6:21 pm

Re: Telelogger crashing on Freematics One+ when BLE active

Post by jesse99 »

To fix Telelogger/Datalogger crash with BLE, you should review BLE code for resource conflicts, analyze memory usage, wordle unlimited and consult Freematics support.
Post Reply