USB TTL cable no longer working - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +--- Thread: USB TTL cable no longer working (/showthread.php?tid=413) Pages:
1
2
|
RE: USB TTL cable no longer working - taros - 03-09-2016 (03-09-2016, 04:52 PM)tllim Wrote:(03-09-2016, 04:40 PM)longsleep Wrote: I dont know anything but try to switch rx and tx? I switched RX and TX but I still did not get any output. Code: $ cu -l /dev/ttyUSB0 -s 115200 When I plug in the RX cable, the green LED lights up at half intensity. When I plug in the power, the green LED lights up at full intensity. My next step is to try out the UART cable on another working device. RE: USB TTL cable no longer working - peterz - 03-09-2016 (03-09-2016, 04:02 PM)tllim Wrote:(03-09-2016, 03:09 PM)peterz Wrote: [quote pid='3287' dateline='1457557488'] You plan to max out all UART ports :-) [/quote] hehe, yes indeed. (03-09-2016, 04:13 PM)taros Wrote: Thanks for the replies. Can you please provide output of "cat /etc/inittab" and "cat /boot/grub/grub.cfg" ? Havent you tried minicom instead of cu for communication with serial port? Code: sudo minicom --device /dev/ttyUSB0 First you might need to configure serial port on PINE side. Code: sudo minicom -s What application do you use on your PC? Putty? Do you have the same settings on both sides (PINE and your PC)? Try to configure following on both sides. Bits per sec : 9600 Data bits : 8 Parity : none Stop bits : 1 Flow control : none RE: USB TTL cable no longer working - rahlquist - 04-06-2016 Any luck on getting this working, since I dont have a viable way to interface yet I was thinking this might be a start. EDIT, Nevermind got out my trusty FTDI and got it working myself, RX on FTDI to pin 7 on EXP TX on FTDI to pin 8 on EXP Gnd on FTDI to pin 6 on EXP Set for 115200 8n1 and works great. RE: USB TTL cable no longer working - tllim - 04-06-2016 (04-06-2016, 10:58 AM)rahlquist Wrote: Any luck on getting this working, since I dont have a viable way to interface yet I was thinking this might be a start. Glad to know it works now. Using the UART0 at EXP port is better than UART 0 at Euler port for console connection, this due to EXP port one has voltage shifter circuit. RE: USB TTL cable no longer working - peterz - 04-07-2016 (04-06-2016, 03:53 PM)tllim Wrote:(04-06-2016, 10:58 AM)rahlquist Wrote: Any luck on getting this working, since I dont have a viable way to interface yet I was thinking this might be a start. My PINE hasn't arrived yet (ETA is end of MAY). I however have Raspbery 1 B+ and ordered USB to RS232 TTL from here http://www.ebay.co.uk/itm/310676792112?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT . It is based on Prolific pl2303hx chip. There are four wires and is connected to PI bus: red power, (do not conected to raspberry!) black ground, (pin6) white RX into USB port, (pin8) green TX out of the USB port. (pin10) I had to use this driver (http://www.adafruit.com/datasheets/PL2303%201.0.13.zip) on my Win 7 computer and it worked well. Tested for about 30min. I should therefore work on PINE as well. But as Tllim said safer should be to use EXP bus rather. |