TTGO Lora32 oled Flash boot
-
Hello everyone, I've a problem with my board.
My borad is rebooting ... Does anyone have a solution?
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:1 load:0x3fff0030,len:1288 load:0x40078000,len:13872 load:0x40080400,len:4 ho 8 tail 4 room 4 load:0x40080404,len:3048 entry 0x40080590 ets Jun 8 2016 00:22:57
Tks
-
@biker32 Do you program with Arduino IDE ?
If so, I can help. -
@teastain2 Yes
-
@biker32 OK, Great!
As you may know...your ESP32 is crashing, so there is a faulty sketch inside!
On Arduino IDE select Select Other Board and Port
to see if the device is connecting at all.Put the board into upload mode by:
- Hold Boot button, press and release reset button
or - Unplug USB hold down the Boot button, plug in USB and release Boot
In the Tools menu select
Erase All Flash Before Sketch Upload: "Enabled"
to clear out the bad sketch.If the USB shows connected, upload this basic generic Serial Monitor sketch for testing.
//words preceded by "//"" are comments and are not executed bool ticktock; //declare ticktock as a boolean flag void setup() { //runs once on start up Serial.begin(115200); //open the serial port for USB cable delay(500); } void loop() { //runs in circles! ticktock = !ticktock; //every pass through reverse the flag if (ticktock) { //test current value of the ticktock flag Serial.println("tick"); } else { //prints one or the other to the USB port Serial.println("tock"); } delay(1000); //wait for a second and run again! }
To re-start the test sketch unplug the USB and plug back in.
Try this!
-Terry - Hold Boot button, press and release reset button
-
Hello, thank you for your answer. The TTGO card is detected. I uploaded your code and it works great. I don't have a restart with your code.
However, with the code on this site: https://randomnerdtutorials.com/ttgo-lora32-sx1276-arduino-ide/, the card restarts all the time. Just like with my code.
One the serial monitor:
21:18:44.867 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 21:18:44.900 -> configsip: 188777542, SPIWP:0xee 21:18:44.900 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 21:18:44.900 -> mode:DIO, clock div:1 21:18:44.900 -> load:0x3fff0030,len:1288 21:18:44.900 -> load:0x40078000,len:13872 21:18:44.900 -> load:0x40080400,len:4 21:18:44.900 -> ho 8 tail 4 room 4 21:18:44.900 -> load:0x40080404,len:3048 21:18:44.900 -> entry 0x40080590 21:18:45.942 -> ets Jun 8 2016 00:22:57
-
@biker32 Well, at least you have recovered your board!
RandomNerdTutorials are great!
There are a plethora of LilyGO LoRa boards, which one exactly do you have?
-Terry -
It is the T3 V1.6.1
Like that:
![0_1720127157261_lora32_v1.6.1_pinmap.jpg](Uploading 100%) -
@biker32 Whew, there is a bewildering number of LilyGO TTGO LoRa boards and naming/numbering conventions and all I can see is that your board is not very alike to the RandomNerdTutorials board and the OLED pins are different, for example.
I have run out of ideas, so all I can suggest is check all pins defined in your sketch, against the image of the board pinout you provided.
Also the hard way to troubleshoot is to comment out the LoRa stuff until it compiles and then slowly add features until it crashes. (Gonna be a long night)
oof. I just thought...what 'ESP32 by Espressif' board def are you using? The newer ones break LilyGO products. Try v2.0.15