Problem with BLE ith board library 2.0+

fulda_
Posts: 1
Joined: Fri Jan 28, 2022 7:38 pm

Problem with BLE ith board library 2.0+

Postby fulda_ » Fri Jan 28, 2022 7:50 pm

Hi all,

I found problem with board library 2.0.

I'm playing with BLE printers using Thermal_Printer library. The library works fine with library 1.0.6. Starting version 2.0 it fail hen calling getService. Exactly on line 709 of the library:
https://github.com/bitbank2/Thermal_Pri ... r.cpp#L709

It end up with Guru Meditation:

Code: Select all

Guru Meditation Error: Core  0 panic'ed (Unhandled debug exception). 
Debug exception reason: Stack canary watchpoint triggered (BTU_TASK) 
Core  0 register dump:
PC      : 0x40083416  PS      : 0x00060236  A0      : 0x80083535  A1      : 0x3ffd87b0  
A2      : 0x00000268  A3      : 0x00001400  A4      : 0x00000000  A5      : 0x00000000  
A6      : 0x00001004  A7      : 0x3ffb6c20  A8      : 0x3ffd8e40  A9      : 0x3ffd8dd0  
A10     : 0x3ffb6c20  A11     : 0x3ffe3748  A12     : 0x3ffb6388  A13     : 0x00000000  
A14     : 0x00000000  A15     : 0x3ffe4c84  SAR     : 0x00000010  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x4008fc4c  LEND    : 0x4008fc62  LCOUNT  : 0xffffffff  


Backtrace:0x40083413:0x3ffd87b00x40083532:0x3ffd87e0 0x4010dcef:0x3ffd8830 0x400e6faf:0x3ffd8860 0x40113a2c:0x3ffd8890 0x40136287:0x3ffd8b20 0x401149de:0x3ffd8db0 0x40135e5d:0x3ffd8dd0 0x401149de:0x3ffd8e40 0x40135aca:0x3ffd8e60 0x40113d3d:0x3ffd8e80 0x40113da9:0x3ffd9110 0x40113ee6:0x3ffd9130 0x400fedb9:0x3ffd9150 0x400fa12e:0x3ffd93f0 0x400fa5d9:0x3ffd9680 0x400faf91:0x3ffd96e0 0x400fc2c4:0x3ffd9720 0x400fc2fa:0x3ffd9740 0x4010754d:0x3ffd9760 0x400f80fc:0x3ffd98f0 0x40110b7f:0x3ffd9910 




ELF file SHA256: 0000000000000000

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:1
load:0x3fff0030,len:1420
ho 0 tail 12 room 4
load:0x40078000,len:13540
load:0x40080400,len:3604
entry 0x400805f0
Preparing image buffer...

Jindra

Who is online

Users browsing this forum: No registered users and 94 guests