lnlp / LMIC-node

LMIC-node | One example to rule them all. LMIC-node is an example LoRaWAN application for a node that can be used with The Things Network. It demonstrates how to send uplink messages, how to receive downlink messages, how to implement a downlink command and it provides useful status information. With LMIC-node it is easy to get a working node quickly up and running. LMIC-node supports many popular (LoRa) development boards out of the box. It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lilygo TTGO v2.1 Bootloop issue caused by wrong Reset pin

alexschultze opened this issue · comments

The following board and latest platformio (first time user here)
LILYGO®TTGO ESP32-Paxcounter LoRa32 V 2,1 1.6.1

Is mostly compatible with TTGO 2.1 settings. However, the wrong setting of the OLED_RST pin causes a boot loop.

I have seen this documented in other topics (#45) just want to give a quick solution.

bsf_ttgo_lora32_v21.h
l101: U8X8_SSD1306_128X64_NONAME_HW_I2C display(/*rst*/ OLED_RST, /*scl*/ SCL, /*sda*/ SDA);
changed to
U8X8_SSD1306_128X64_NONAME_HW_I2C display(/*rst*/ -1, /*scl*/ SCL, /*sda*/ SDA);

You can alternatively change this in pins_arduino.h

Bootlop message

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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