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

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

Open
alexschultze opened this issue Mar 31, 2023 · 0 comments
Open

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

alexschultze opened this issue Mar 31, 2023 · 0 comments

Comments

@alexschultze
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant