scientifichackers / ampy

MicroPython Tool - Utility to interact with a MicroPython board over a serial connection.
MIT License
723 stars 157 forks source link

improve RTS/DTR control #79

Closed camelator closed 3 years ago

camelator commented 5 years ago

Ampy does not connect to MaixPi board with Ubuntu 18.04 As explain here: https://github.com/dhylands/rshell/issues/91 this is related to the RTS / DTR settings in the constructor of class Serial. adding these two lines in file pyboard.py correct the bug (like the miniterm source code). self.serial.rts=False self.serial.dtr=False Unfortunately I am not a python developper, maybe someone can add some command line parameter ?

curiouswala commented 3 years ago

I don't have a MaixPi board to test this and it's not officially supported.