esptool crush while trying to use remote connection via RFC2217
Posted: Thu Aug 23, 2018 8:44 am
Hi everyone!
I'm trying to work with ESP32 via remote serial port.
I have next chain: ESP32 -> USB-UART -> Orange Pi Zero -> my PC
On Orange Pi Zero I run rfc2217_serial.py script:
On my PC I launch esptool:
And here what I've got:
Any ideas?
I'm trying to work with ESP32 via remote serial port.
I have next chain: ESP32 -> USB-UART -> Orange Pi Zero -> my PC
On Orange Pi Zero I run rfc2217_serial.py script:
Code: Select all
python rfc2217_serial.py -p 4000 /dev/ttyUSB0
Code: Select all
esptool.py --port rfc2217://ip_address:4000 flash_id
Code: Select all
Traceback (most recent call last):
File "/usr/local/bin/esptool.py", line 2849, in <module>
_main()
File "/usr/local/bin/esptool.py", line 2842, in _main
main()
File "/usr/local/bin/esptool.py", line 2543, in main
esp = ESPLoader.detect_chip(each_port, initial_baud, args.before, args.trace)
File "/usr/local/bin/esptool.py", line 244, in detect_chip
detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)
File "/usr/local/bin/esptool.py", line 224, in __init__
self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 325, in write_timeout
self._reconfigure_port()
File "/usr/lib/python2.7/dist-packages/serial/rfc2217.py", line 491, in _reconfigure_port
raise NotImplementedError('write_timeout is currently not supported')
NotImplementedError: write_timeout is currently not supported