After flashing the firmware, my module is listening on ttyUSB0 at a baud rate of 9600 baud (checked with serial terminal), so I'm trying to connect to that port using that baud rate, but nodemcu-uploader seems to simply ignore the parameter I pass on terminal, here is a sample output:
`$nodemcu-uploader -b 9600
opening port /dev/ttyUSB0 with 115200 baud
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 72, in sync
self.exchange(';') # Get a defined state
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 166, in exchange
return self.expect(timeout=timeout or self._timeout)
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 137, in __expect
raise CommunicationTimeout('Timeout waiting for data', data)
nodemcu_uploader.exceptions.CommunicationTimeout: Timeout waiting for data
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/nodemcu-uploader", line 11, in
load_entry_point('nodemcu-uploader==0.4.3', 'console_scripts', 'nodemcu-uploader')()
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/main.py", line 252, in main_func
uploader = Uploader(args.port, args.baud, start_baud=args.start_baud)
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 78, in init
__sync()
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 76, in __sync
raise DeviceNotFoundException('Device not found or wrong port')
nodemcu_uploader.exceptions.DeviceNotFoundException: Device not found or wrong port`
I installed your tool via PyPy, my os is Netrunner (based on Arch Linux) and the --version switch gaves this output:
nodemcu-uploader 0.4.3 (serial 3.3)
After flashing the firmware, my module is listening on ttyUSB0 at a baud rate of 9600 baud (checked with serial terminal), so I'm trying to connect to that port using that baud rate, but nodemcu-uploader seems to simply ignore the parameter I pass on terminal, here is a sample output: `$nodemcu-uploader -b 9600 opening port /dev/ttyUSB0 with 115200 baud Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 72, in sync self.exchange(';') # Get a defined state File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 166, in exchange return self.expect(timeout=timeout or self._timeout) File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 137, in __expect raise CommunicationTimeout('Timeout waiting for data', data) nodemcu_uploader.exceptions.CommunicationTimeout: Timeout waiting for data
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/bin/nodemcu-uploader", line 11, in
load_entry_point('nodemcu-uploader==0.4.3', 'console_scripts', 'nodemcu-uploader')()
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/main.py", line 252, in main_func
uploader = Uploader(args.port, args.baud, start_baud=args.start_baud)
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 78, in init
__sync()
File "/usr/lib/python3.6/site-packages/nodemcu_uploader/uploader.py", line 76, in __sync
raise DeviceNotFoundException('Device not found or wrong port')
nodemcu_uploader.exceptions.DeviceNotFoundException: Device not found or wrong port`
I installed your tool via PyPy, my os is Netrunner (based on Arch Linux) and the --version switch gaves this output:
nodemcu-uploader 0.4.3 (serial 3.3)