Closed Massimiliano-solutiontech closed 1 year ago
Solved, the user wasn't in the dialout
group. Maybe the error could be more descriptive:
try:
self._port = serial.serial_for_url(port)
except serial.serialutil.SerialException:
raise FatalError(f"Could not open {port}, {sys.exc_info()[1]}")
instead of the actual
try:
self._port = serial.serial_for_url(port)
except serial.serialutil.SerialException:
raise FatalError(f"Could not open {port}, the port doesn't exist")
Thank you @Massimiliano-solutiontech for the good poin, we'll do that change.
Hello, my problem was solved with: sudo chmod 777 /dev/ttyUSB0
Operating System
Ubuntu 22.04 LTS
Esptool Version
v4.6.2
Python Version
Python 3.10
Full Esptool Command Line that Was Run
esptool flash_id
Esptool Output
What is the Expected Behaviour?
Connect and read the
flash_id
More Information
The serial port is connected and the OS detects it (I'm using an ESP-Prog so two serials shows up)
Even that fails
Other Steps to Reproduce
No response