meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.3k stars 800 forks source link

TBeam continually reboots when connected to USB #516

Closed crossan007 closed 3 years ago

crossan007 commented 3 years ago

NOTE I'm opening this ticket with the intent of closing it right away (probably) since I've found the solution and may help someone else in the future who finds this.

While connected to my computer for USB charging, the device continually reboots.

I tried with the battery in, battery out, I tried doing a factory reset, and re-joining my mesh.

It turns out that having "Cura" (3D Printing slicing software) open on the same machine to which a TBeam is plugged into will cause meshtastic to enter a bootloop.

Closing Cura ends the bootloop

geeksville commented 3 years ago

Btw cause of this is that cura is probably opening the serial port of any device that connects (to check if a 3d printer). But tbeams (and most esp32 boards) use the serial port rts line to control RESET (to force bootloader entry).

I bet cura is also asserting RTS which causes reset.