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

TTGO T-beam supreme sketch not working #59

Open
YetAnotherModelShip opened this issue Oct 4, 2023 · 1 comment
Open

TTGO T-beam supreme sketch not working #59

YetAnotherModelShip opened this issue Oct 4, 2023 · 1 comment

Comments

@YetAnotherModelShip
Copy link

I have a TTGO T-beam supreme but I cannot get a sketch working. After uploading it always displays:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4202639e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4

... but not the output of the serial.print() command in my sketch. How can I switch modes or whatever is needed?

yamsboat

@starlight-traveler
Copy link

starlight-traveler commented Feb 11, 2024

Did you ever manage to figure this out, getting the same error?

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a80
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x1 (DOWNLOAD(USB/UART0))
Saved PC:0x40045ab3
waiting for download

As far as I can tell the T-Beam is stuck in receive mode. Take a look at this thread for the same problem in the T-Beam, but no sketch is working.

https://meshtastic.discourse.group/t/t-beam-no-connection/1071/4

Relevant part:

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

I looked this up and found it was a corrupt boot area leaving it in a receive state. One recommendations was to use a command line tool to re-flash the device.

I used the command line tool esptool.py

I entered the following at the command line:

esptool.py --baud 921600 erase_flash ← erased the flash file
esptool.py --baud 921600 write_flash 0x1000 system-info.bin ← wrote out the system bin file
esptool.py --baud 921600 write_flash 0x10000 firmware-tbeam-US-0.9.1.bin ← wrote out the file for my meshtastic device

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

2 participants