UART connexion failled
-
Hello,
It will soon be a year and a half that I use my sipy in UART connection via USB by means of an FTDI. I have never had a problem with it. Since the update of Atome and Pymakr I can't get the prompt. I tried with a new sipy and it does not work. I also tried with different FTDI but I had the same results. But when I use a pysense it works. I have updated the latest firmware for sipy cards.
My question is did someone experience the same problem and if not do you have any suggestions on how to resolve it.you can see the Electrical wiring on the picture
Thank you in advance and good day to you.!
-
@leila Sorry, I cannot tell anything about using atom or VS Code with pymakr. I do not use this configuration.
-
@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
-
@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 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 looks like a flow control issue, or a problem with the wire into RX of the sipy.
-
@robert-hh
i have a prompt but in can't write inside. And i can't run or download!!
-
@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
"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 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
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 Are you sure that COM12 exists and is the proper port? Putty will not tell you.
-
@robert-hh i did what you said but i always have the seem result.
Unable to open connection to COM12
-
@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.
-
@quentho close atom.
-
@robert-hh the baud rate is 115200, and you have to turn off flow control.
-
i try with 115200 , with and without flow control but i always have :
-
@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)
-
@robert-hh said in UART connexion failled:
crosscheck
Thank for the answer. I can see my board connected but i can't have the prompt.I will use putty, it is the putty connection good ? because i can't open
-
@robert-hh nice tip thank's for this information