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

[Bug]: T3S3 (ESP32S3) Wont flash using ESPTool or PIO Direct from CLI on Linux (rPi Bookworm) #6167

Open
Talie5in opened this issue Feb 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Talie5in
Copy link
Contributor

Talie5in commented Feb 27, 2025

Category

Other

Hardware

T-Beam S3

Firmware Version

2.5.any

Description

Ran into an issue where I have not been able to use ESPTool or PIO to Flash a T3S3 without powering on while holding the BOOT button to put into JTAG mode.

For a remote node I have connected to a rPi this was a bit annoying having to manually intervene to do updates.

I have however been able to get around this by modifying the platform.io for the t3s3 variant to include the below options in the build_flags.

-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1

This puts the unit into JTAG mode on boot (similar to a Heltec v3)

Not sure if both are needed, but once I have done a ./device-update with the build image (with a manual process first), I can now flash firmware without having to manual power cycle and hold the boot button.

Image

Sourced from : espressif/arduino-esp32#6762 (comment)

Relevant log output

**How it currently boots up**
[  227.720622] usb 1-1.2: USB disconnect, device number 6
[  227.925399] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[  228.049369] usb 1-1.2: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.00
[  228.049393] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  228.049401] usb 1-1.2: Product: LilyGo TLora-T3S3-V1
[  228.049408] usb 1-1.2: Manufacturer: Espressif Systems
[  228.049414] usb 1-1.2: SerialNumber: 34B7DA53963C
[  228.056415] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

**How it should boot up**
[  225.079804] usb 1-1.2: USB disconnect, device number 4
[  227.405408] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
[  227.497027] usb 1-1.2: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[  227.497065] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  227.497088] usb 1-1.2: Product: USB JTAG/serial debug unit
[  227.497103] usb 1-1.2: Manufacturer: Espressif
[  227.497118] usb 1-1.2: SerialNumber: 34:B7:DA:53:96:3C
[  227.499843] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
@Talie5in Talie5in added the bug Something isn't working label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant