Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guru Meditation Error on TTGO T-Beam v0.7 #92

Open
dl1mx opened this issue Feb 17, 2023 · 1 comment
Open

Guru Meditation Error on TTGO T-Beam v0.7 #92

dl1mx opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dl1mx
Copy link

dl1mx commented Feb 17, 2023

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: e9842ea

Best regards,
Marco

@dl1mx dl1mx added the bug Something isn't working label Feb 17, 2023
@jeschofnik
Copy link

same here, thx for the hint

73 de phil, oe8jpq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants