seg fault during update attempt -- issues with /dev/ttyUSB0
I'm getting the same messages on two devices I'm trying to update:
(venv) $ meshtastic-flasher
start of detect
group_to_search:dialout
Detected T-Lora
Detected Heltec
Detected Heltec
Detected Heltec
Detected Meshtastic DIY
User confirmed the device has Meshtastic so we will check using the Meshtastic python method
Warning: Could not find any ports using the Meshtastic python autodetection method.
from find_ports ports:['/dev/ttyUSB0']
Getting version and hwModel from Meshtastic python library
Exception:Timed out waiting for connection completion
filenames:['2.0.13.7e27729/firmware-m5stack-core-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-heltec-v2.0-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-heltec-wsl-v3-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tlora_v1_3-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-meshtastic-dr-dev-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-m5stack-coreink-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tbeam-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v2-1-1.8-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v2-1-1.6-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-nano-g1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tbeam0.7-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tlora-v1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-heltec-v1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-heltec-v2.1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v2-1-1.8-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-station-g1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-heltec-v3-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-heltec-v2.0-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-heltec-v2.1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tlora_v1_3-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v2-1-1.6-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-rak11200-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-heltec-wsl-v3-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-nano-g1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tlora-v2-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-m5stack-core-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-meshtastic-diy-v1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-v2-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-heltec-v3-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tlora-t3s3-v1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tbeam0.7-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-station-g1-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-meshtastic-dr-dev-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tbeam-s3-core-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-rak11200-2.0.13.7e27729-d-update.bin', '2.0.13.7e27729/firmware-tlora-t3s3-v1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tbeam-s3-core-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-tbeam-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-m5stack-coreink-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-heltec-v1-2.0.13.7e27729-d.bin', '2.0.13.7e27729/firmware-meshtastic-diy-v1-2.0.13.7e27729-d.bin']
self.detected_list:[]
end of detect
Flash was clicked.
update only is not checked
User confirmed they want to flash
do esptool update_only:False
WARNING:root:Meshtastic serial port disconnected, disconnecting... device reports readiness to read but returned no data (device disconnected or multiple access on port?)
QObject::~QObject: Timers cannot be stopped from another thread
QPaintDevice::metrics: Device has no metric information
QObject::~QObject: Timers cannot be stopped from another thread
QPaintDevice: Cannot destroy paint device that is being painted
Segmentation fault
(venv) $ esptool.py chip_id
esptool.py v4.4
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting......
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:4f:33:6a:12:23
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: c4:4f:33:6a:12:23
Hard resetting via RTS pin...
$ meshtastic --port /dev/ttyUSB0 --info
Traceback (most recent call last):
File "/home/me/code/mesh/venv/bin/meshtastic", line 8, in