Transcript
Cubieboard/TTL From linux-sunxi.org < Cubieboard WARNING: DO NOT CONNECT THE RED LINE TO VCC.
Contents 1 Connection 1.1 Pictures 2 Availability 3 Driver 3.1 Linux Driver 3.2 OS X Driver 3.3 Windows Driver 4 Software 5 Configuration 6 Sample output
Connection If you get a USB-Serial adapter from somewhere else, please check the cable colors of it at the vendor. RX pin on adapter should be connected to TX pin on cubieboard and adapter TX pin vice versa, so a serial wires are crossed. The CubieBoard (Rich package) is currently supplied with a Prolific PL2303 USB cable. This cable provides VCC power on the red cable. The Cubieboard does NOT require power (red cable), and it may damage your board if connected. The CubieBoard provides a pin header with 4 pins for TTL UART connection. If you are using the supplied PL2303 cable, then the connection should be as follows: Cable
Pin on Cubieboard
PIN1 (WHITE)
TX
PIN2 (GREEN)
RX
GROUND (BLACK) GND WARNING: DO NOT CONNECT THE RED LINE TO VCC.
Pictures
Cubieboard TTL cable connection. Note that the red cable is NOT connected.
Another Cubieboard TTL cable connection.
Close-up that shows the pin connection.
Availability http://www.aliexpress.com/store/product/TTF-to-USB-Serial-line/511685_665830339.html https://www.adafruit.com/products/954
Driver Linux Driver Driver for the PL2303 is inside the kernel. It will work with default settings.
OS X Driver The opensource driver on github (https://github.com/berg/osx-pl2303) works and the binary version is on the link below. https://github.com/downloads/berg/osx-pl2303/osx-pl2303-0.4.1-failberg.pkg (could someone confirm that this works?) It is at least confirmed to work on Mac OS X 10.6.8 32 bit version. There is also a vendor-made driver; Go to http://www.prolific.com.tw/US/index.aspx Click support Login with GUEST / GUEST Click on "click here for PL2303 USB to Serial drivers" half way down, download the file md_PL2303_MacOSX10.6_dmg_v1.4.0.zip
Windows Driver
Windows Driver for Prolific PL2303 is installed automatically. If your "Device Manager" mark the PL2303 device (Prolific USB-to-Serial Comm Port) with yellow exclamation mark and the status of the device shows "code 10", then you probably got counterfeit (fake) cable or you are using the cable with Windows 8. In both cases you just have to install older version of Prolific drivers (1.6.0, 1.7.0, 1.8.0 or later won't work). For PL2303 HXA, XA (to check your version use the utility provided in latest Prolific drivers (http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41) .) Installer version & Build date: 1.5.0 (2011-10-21) Windows XP (32 & 64-bit) WDM WHQL Driver: v2.1.27.185 Windows Vista/7/8 (32 & 64-bit) WDF WHQL Driver: v3.4.25.218 Files: PL2303_Prolific_DriverInstaller_v1.5.0.zip (SHA-1 8b1e1a8b0ee5939ff2fb185690ec038f191dbcde (https://google.com/? q=8b1e1a8b0ee5939ff2fb185690ec038f191dbcde) ) PL2303_Prolific_DriverInstaller_v1.5.0.exe (SHA-1 43fe44b600586e9b41088ba1be5b4eee96c7dc23 (https://google.com/? q=43fe44b600586e9b41088ba1be5b4eee96c7dc23) ) Download (http://www.prolific.com.tw/UserFiles/files/PL2303_Prolific_DriverInstaller_v1_5_0.zip) (Mirror #1 (ftp://ftp.omega.com/public/DASGroup/products/OM-PLUSBS/PL2303_Prolific_DriverInstaller_v1.5.0.zip) , #2 (http://ge.tt/8e3V0sd) )
Software cu is an utitlity that comes with popular system distributions like Fedora, Debian, Ubuntu, NetBSD, etc. It can be used to talk to a device connected to a serial port. On Linux with the serial cable as the only USB serial port stty -F /dev/ttyUSB0 -crtscts # turn off hardware flow control - the cable has no wires for that cu -s 115200 -l /dev/ttyUSB0
should show the u-boot and kernel messages from cubieboard. Another option is GNU screen screen /dev/ttyUSB0 115200
On Windows you can use software like TeraTerm (http://ttssh2.sourceforge.jp/index.html.en) or Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) or similar which can connect over serial line.
Configuration It seems the default setting for uBoot and terminal serial is 115200 8N1:
Serial line
/dev/ttyUSB0 or COM1
Speed (baud) 115200 Data bits
8
Stop bits
1
Parity
None
Flow control None Windows users can determine proper COM port from Device Manager.
Sample output See http://pastebin.com/p77V8xdC for sample output. It shows the boot process of the Cubieboard. Retrieved from "http://linux-sunxi.org/index.php?title=Cubieboard/TTL&oldid=4189" Categories: Cubieboard Hardware This page was last modified on 2 July 2013, at 12:50. This page has been accessed 23,799 times. Content is available under Creative Commons Attribution.