UART connexion failled
-
@quentho don't hesitate to check this page: https://docs.pycom.io/gettingstarted/programming/repl/serial/
The baudrate was (by default) 115200 so i think is that your problem. (maybe you need to remove the flow control too)
-
i try with 115200 , with and without flow control but i always have :

-
@robert-hh the baud rate is 115200, and you have to turn off flow control.
-
@quentho close atom.
-
@quentho you can check whether it is COM12 in the device manager. The device should appear and disappear when you plug and unplug the FTDI board.
-
@robert-hh i did what you said but i always have the seem result.
Unable to open connection to COM12 -
@quentho Are you sure that COM12 exists and is the proper port? Putty will not tell you.
-
@robert-hh
i see the connection on putty but i haven't the prompt.
I had install the FTDI driver but it's not working.
i chaned the sipy , the ftdi , the wire but it's not working.
when i connect with a pysense or pytrack it's working. I don't understand... -
@quentho A few things to check:
- Please ensure, that the flow control setting of putty is disabled.
- Try to swap RX and TX
- Windows assigns COMxx numbers based on the USB ID. So if Pysense uses COM12, the FTDI will most probably be assigned to a different COMxx number. Open the device manage in Windows, section COM ports, and look, which COM ports are active, when the FTDI is connected. It shoul disappear when you disconnect the FTDI adapter.
-
@robert-hh
"Please ensure, that the flow control setting of putty is disabled."When i disconnect and reconnect my sipy, the flow controle set at XOn/XOFF. The speed is 9600. But after i change to none and 115200 for the speed bhut it's not working.
"Try to swap RX and TX"
i did both each time."Windows assigns COMxx numbers based on the USB ID. So if Pysense uses COM12, the FTDI will most probably be assigned to a different COMxx number. Open the device manage in Windows, section COM ports, and look, which COM ports are active, when the FTDI is connected. It shoul disappear when you disconnect the FTDI adapter."
i had check this one and it's on the good port. My bord is connected but i don't have the prompt . sometimes I have strange characters parading -
@quentho Strange characters are a sign of wrong baud rate. What happens if you are connected with 115200 baud and push reset on the SiPy?
As terminal emulator you may also try TeraTerm. TeraTerm remembers the recent setting ant lets you only use active COM ports.Edit: You can also start Putty from the command line, specifying Port and speed, e.g.:
putty -serial COM12 115200
-
@robert-hh
i have a prompt but in can't write inside. And i can't run or download!! -
@quentho that looks like a flow control issue, or a problem with the wire into RX of the sipy.
-
@robert-hh said in UART connexion failled:
that looks like a flow control issue, or a problem with the wire into RX of the sipy.
I had chane rx to tx , i set the bit flow controle with tera term and i had change my sipy and it's working thank you for your time !
-
@quentho That is good. Just to add some more information for those who are in a similar situation: with Putty you can also specify all settings on the command line, e.g.:
putty -serial COM12 -sercfg 115200,8,1,n,N
And I faintly recall, that one of either Putty or TeraTerm is using it's own drivers. So it may still be a driver problem.
-
@robert-hh hi i m actually having the same problem i can read the port com with putty but in atom i had the same error need help
-
@leila Sorry, I cannot tell anything about using atom or VS Code with pymakr. I do not use this configuration.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login