LMIC-node icon indicating copy to clipboard operation
LMIC-node copied to clipboard

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

Open alexschultze opened this issue 1 year ago • 0 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

alexschultze avatar Mar 31 '23 21:03 alexschultze