Serial Connection Tutorial: FTDI 232RL - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: RockPro64 Projects, Ideas and Tutorials (https://forum.pine64.org/forumdisplay.php?fid=104) +--- Thread: Serial Connection Tutorial: FTDI 232RL (/showthread.php?tid=11918) |
Serial Connection Tutorial: FTDI 232RL - hmuller - 10-23-2020 Purpose A serial connection is necessary when troubleshooting (or installing) on a headless system (no display/monitor). Background I have used a CH340 based USB Serial UART device and have had mixed results. That is why I use USB Serial UART devices based on FTDI's 232RL chip with 3.3v voltage or voltage selector. The version I use is this one: https://www.microcenter.com/product/486570/-ftdi-adapter-usb-controller This is another model that should have no problems: https://www.amazon.com/DSD-TECH-SH-U09F-Adapter-Featuring/dp/B07K76Q2DX/ Notice that it features a "genuine" chip. You can use cheaper USB Serial UART models but those most likely use imitation chips. This is not an issue if you use linux, but windows machines will brick models with fake FTDI chips. The knockoffs can be unbricked, but that is beyond the scope of this tutorial. The RockPro64 UART RX/TX pins use 3V by default according to the schematics. ENSURE you set your USB Serial UART device to 3.3V. Warnings
You will require a USB extension cable to connect the USB Serial UART to the host desktop/laptop/SBC. The type also depends on the USB connector on your USB Serial UART device. The USB extension cable needed for the devices I have linked to in this tutorial require a type A-Male to Mini-B cable similar to this: https://www.amazon.com/AmazonBasics-USB-2-0-Cable-Male/dp/B00NH11N5A/ You will have to purchase jumper wires to connect the USB Serial UART to the RockPro64. I use MALE to FEMALE jumpers similar to these: https://www.pololu.com/category/65/premium-jumper-wires The gender of your jumper wires will depend on the connectors on your USB Serial UART device. Only 3 jumper wires are required. Verbally, GND (pin 6) to GND, TX (pin 8) to RX, and RX (pin 10) to TX are the connections made between the RockPro64 and the USB Serial UART device. Visually, it looks like this: Code: RockPro64 FT232RL USB Serial UART Software Connection On the linux host, I used picocom. If you are using a windows host, then putty is probably what you will use. This is what I ran on my host: Code: $ picocom -b 1500000 /dev/ttyUSB0 Troubleshooting If you are not successfully communicating with the RockPro64 these are common things to check in order:
I received my RockPro64 in the mail yesterday, and successfully used this process today. |