HelTecAutomation / Heltec_ESP32

Arduino library for Heltec ESP32 (or ESP32+LoRa) based boards
Other
581 stars 219 forks source link

Found a bug in the example code for the WiFi_LoRa_32FactoryTest using PlatformIO maybe Arduino IDE as well #116

Open jordancrubin opened 11 months ago

jordancrubin commented 11 months ago

Line 250 Serial.println(packet); Is executed in an interrupt which easily causes watchdog timer crashes on execution This line should be commented out fixes issue, the resulting value should be passed back as a reference or to a buffer not printed.

**--- More details at https://bit.ly/pio-monitor-filters --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ESP32ChipID=XXXXXXXX hello 114 hello 115 Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).

Core 1 register dump: PC : 0x4008e776 PS : 0x00060335 A0 : 0x8008d732 A1 : 0x3ffbeecc
A2 : 0x3ffb8a00 A3 : 0x3ffb8890 A4 : 0x00000004 A5 : 0x00060323
A6 : 0x00060323 A7 : 0x00000001 A8 : 0x3ffb8890 A9 : 0x00000018
A10 : 0x3ffb8890 A11 : 0x00000018 A12 : 0x3ffc42d4 A13 : 0x00060323
A14 : 0x007bf098 A15 : 0x003fffff SAR : 0x0000000e EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x400896a9 LEND : 0x400896cb LCOUNT : 0xffffffff
Core 1 was running in ISR context: EPC1 : 0x400dff53 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x00000000

Backtrace:0x4008e773:0x3ffbeecc |<-CORRUPTED

Core 0 register dump: PC : 0x4008e8f7 PS : 0x00060035 A0 : 0x8008d35f A1 : 0x3ffbe9ec
A2 : 0x3ffbf098 A3 : 0xb33fffff A4 : 0x0000abab A5 : 0x00060023
A6 : 0x00060021 A7 : 0x0000cdcd A8 : 0x0000abab A9 : 0xffffffff
A10 : 0x00000000 A11 : 0x00000000 A12 : 0x3ffc339c A13 : 0x00000007
A14 : 0x007bf098 A15 : 0x003fffff SAR : 0x0000001a EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace:0x4008e8f4:0x3ffbe9ec |<-CORRUPTED**