bk7231tools icon indicating copy to clipboard operation
bk7231tools copied to clipboard

cp210x wierd behaviour

Open mczerski opened this issue 1 year ago • 0 comments

I couldn't get my cp210x based usb uart (like this) to flash bk7231n mcu on linux. The mcu was in reset the whole time during flash. After some digging I found out that my usb adapter asserts rts signal (makes it low) just after open and stays that way. I solved my problem by adding setting self.serial.rts = False in BK7231Serial init. I guess that it should be fixed in cp210x driver but ensuring rts is False afer opening port does not hurt much and allows to use cp210x based uarts with this project.

mczerski avatar Mar 22 '23 20:03 mczerski