WiFi_LoRa_32_V3 keeps rebooting

Hi,

I finally made WiFi_LoRa_32_v3 board well compiled in the Platformio but it keeps rebooting with below info, any idea about this issue ?

thanks

Jun

The compile process info as below:

Processing heltec_wifi_lora_32_V3 (platform: https://github.com/Baptou88/platform-espressif32.git; board: heltec_wifi_lora_32_V3; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/heltec_wifi_lora_32_V3.html
PLATFORM: Espressif 32 (5.2.0+sha.97b8cd2) > Heltec WiFi LoRa 32 (V3)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:

  • framework-arduinoespressif32 @ 3.20005.220925 (2.0.5)
  • tool-esptoolpy @ 1.40201.0 (4.2.1)
  • toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
  • toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch3
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ deep+, Compatibility ~ soft
    Found 35 compatible libraries
    Scanning dependencies…
    Dependency Graph
    |-- Heltec ESP32 Dev-Boards @ 1.1.1
    | |-- Wire @ 2.0.0
    | |-- SPI @ 2.0.0
    |-- ESP32_LoRaWAN @ 2.1.1
    | |-- SPI @ 2.0.0
    | |-- Wire @ 2.0.0
    |-- RadioLib @ 5.6.0
    | |-- SPI @ 2.0.0
    |-- SPI @ 2.0.0
    |-- Wire @ 2.0.0
    Building in release mode
    Retrieving maximum program size .pio/build/heltec_wifi_lora_32_V3/firmware.elf
    Checking size .pio/build/heltec_wifi_lora_32_V3/firmware.elf
    Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
    RAM: [ ] 5.0% (used 16276 bytes from 327680 bytes)
    Flash: [= ] 9.8% (used 327221 bytes from 3342336 bytes)
    ========================================================================= [SUCCESS] Took 2.77 seconds =========================================================================
  • Terminal will be reused by tasks, press any key to close it.

The reboot info as below

Rebooting…
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4202ceca
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
entry 0x403c98c0
[ 122][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 123][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 123][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 128][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
[ 134][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 140][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 145][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 150][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
[ 156][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 162][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 168][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 173][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
ESP32 MCU init…
ESP32 MCU inited OK!

DevEui=2CF7F1204200xxxx
LoRaWAN US915 Class A start!

joining…
TX on freq 904600000 Hz at DR 4
Guru Meditation Error: Core 1 panic’ed (InstrFetchProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x00000000 PS : 0x00060430 A0 : 0x82006cd8 A1 : 0x3fce2eb0
A2 : 0x3fc94de8 A3 : 0x00000000 A4 : 0x00000001 A5 : 0x3fc9249b
A6 : 0x3fc92494 A7 : 0x00000000 A8 : 0x820020e3 A9 : 0x3fce2e80
A10 : 0x00000000 A11 : 0xffffffff A12 : 0x00000000 A13 : 0x3fc94ea8
A14 : 0x0000005f A15 : 0x3fce2e50 SAR : 0x0000000e EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x40054bf0 LEND : 0x40054c0f LCOUNT : 0x00000000

Backtrace:0xfffffffd:0x3fce2eb00x42006cd5:0x3fce2ed0 0x4200cd5d:0x3fce2ef0

#0 0xfffffffd:0x3fce2eb0 in ?? ??:0
#1 0x42006cd5:0x3fce2ed0 in loop() at src/main.cpp:173
#2 0x4200cd5d:0x3fce2ef0 in loopTask(void*) at /Users/junwen/.platformio/packages/framework-arduinoespressif32@3.20005.220925/cores/esp32/main.cpp:50

ELF file SHA256: 0000000000000000

The official is testing the code of the Platformio environment, which will be updated later.

Any progress on this? I’m getting the exact same issue just running the Heltec Lora OTAA example on a WiFi Lora V2.

It just roboots over and over and “LoRaWAN Starting” flashes on the OLED.

Debug output looks pretty much like the above.

Here is my debug output:

mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
[��mum����2-hal-cpu.c:214] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 30][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 31][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 31][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 36][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
[ 42][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 48][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 53][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 58][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
[ 64][E][Wire.cpp:422] beginTransmission(): could not acquire lock
[ 70][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 75][E][Wire.cpp:526] write(): NULL TX buffer pointer
[ 81][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
[ 136][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=4 scl=15 freq=100000

I reverted to the 0.0.6 board support package in Arduino IDE 2.2.1 and that fixed the problem… ???