LoRa_APRS_Tracker
LoRa_APRS_Tracker copied to clipboard
Guru Meditation Error on TTGO T-Beam v0.7
I have a TTGO T-Beam v0.7 with OLED attached. After compiling with VS Code and platformIO (env:ttgo-t-beam-v0_7) I get the following error after upload and monitor:
rst:0x1 (POWERON_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:1184
load:0x40078000,len:13104
load:0x40080400,len:3036
entry 0x400805e4
[INFO][Main] LoRa APRS Tracker by OE5BPA (Peter Buchegger)
[INFO][Main] Version: 22.19.0
[INFO][LoRa] Set SPI pins!
[INFO][LoRa] Set LoRa pins!
[INFO][LoRa] frequency: 433775000
[INFO][LoRa] LoRa init done!
[INFO][Main] Smart Beacon is: On
[INFO][Main] setup done...
[INFO][Loop] GPS fix state went to VALID
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400d7857 PS : 0x00060830 A0 : 0x800d7c53 A1 : 0x3ffcc420
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000001 A5 : 0x3ffc5d30
A6 : 0x00060823 A7 : 0x00000001 A8 : 0x800863ae A9 : 0x3ffcc400
A10 : 0x00000001 A11 : 0x00000001 A12 : 0x3ffcc714 A13 : 0x00000000
A14 : 0x007bf608 A15 : 0x003fffff SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000040 LBEG : 0x40085b9d LEND : 0x40085ba5 LCOUNT : 0x00000027
Backtrace: 0x400d7854:0x3ffcc420 0x400d7c50:0x3ffcc450 0x400d8c90:0x3ffcc470 0x400d8d7a:0x3ffcc490 0x400d728d:0x3ffcc4c0 0x400d3fed:0x3ffcc4e0 0x400e02a1:0x3ffcc680
#0 0x400d7854:0x3ffcc420 in TwoWire::beginTransmission(unsigned short) at C:/Users/kubon/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.cpp:409
#1 0x400d7c50:0x3ffcc450 in TwoWire::beginTransmission(unsigned char) at C:/Users/kubon/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.cpp:637
#2 0x400d8c90:0x3ffcc470 in AXP20X_Class::_readByte(unsigned char, unsigned char, unsigned char*) at .pio/libdeps/ttgo-t-beam-v0_7/AXP202X_Library/src/axp20x.cpp:2223
(inlined by) AXP20X_Class::_readByte(unsigned char, unsigned char, unsigned char*) at .pio/libdeps/ttgo-t-beam-v0_7/AXP202X_Library/src/axp20x.cpp:2215
#3 0x400d8d7a:0x3ffcc490 in AXP20X_Class::setChgLEDMode(axp_chgled_mode_t) at .pio/libdeps/ttgo-t-beam-v0_7/AXP202X_Library/src/axp20x.cpp:1288
#4 0x400d728d:0x3ffcc4c0 in PowerManagement::enableChgLed() at src/power_management.cpp:54
#5 0x400d3fed:0x3ffcc4e0 in loop() at src/LoRa_APRS_Tracker.cpp:192
#6 0x400e02a1:0x3ffcc680 in loopTask(void*) at C:/Users/kubon/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:50
ELF file SHA256: 51f40076d49aec6e
Rebooting...
Seems there is a problem on these boards with activating the charge LED. If comment out line 192 and 194 in LoRa_APRS_Tracker.cpp the unit is working again.
if (powerManagement.isChargeing()) {
// powerManagement.enableChgLed();
} else {
// powerManagement.disableChgLed();
}
VS Code: 1.75.1 platformIO: 6.1.6/3.4.3 Sourcecode: https://github.com/lora-aprs/LoRa_APRS_Tracker/commit/e9842ea01144ae20d9f8311f226adf97ec0372a5
Best regards, Marco
same here, thx for the hint
73 de phil, oe8jpq