Difference between revisions of "Access Serial Port"

From PhatHack Wiki
Jump to navigation Jump to search
(Add ground to serial connection)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
# Chop off the end that connects to the phone (NOT the USB end)
 
# Chop off the end that connects to the phone (NOT the USB end)
 
# Connect the wires to JP8 on the [http://downloads.phathack.com/sbingner/images/cx910-front.jpg CX910 Board] or JP4 on the [http://downloads.phathack.com/sbingner/images/c710-front.jpg C710 Board] as follows
 
# Connect the wires to JP8 on the [http://downloads.phathack.com/sbingner/images/cx910-front.jpg CX910 Board] or JP4 on the [http://downloads.phathack.com/sbingner/images/c710-front.jpg C710 Board] as follows
## Yellow (RX) to Pin 5
+
## Yellow (RX) to Pin 5 (TX)
## Blue (TX) to Pin 7
+
## Blue (TX) to Pin 7 (RX)
## Brown (DCD) to Pin 9
+
## Brown (DCD) to Pin 9 (DCD)
## Orange (CTS) to Pin 13
+
## Orange (CTS) to Pin 13 (CTS)
## Shield (GND) to Pin 15
+
## Shield (GND) to Pin 14 (GND)
 
# Plug the USB Cable into your computer and start a shell on the serial port
 
# Plug the USB Cable into your computer and start a shell on the serial port
   
Line 44: Line 44:
   
 
=== Phatbox Side ===
 
=== Phatbox Side ===
  +
JP4 Pinout:
  +
<pre>1.....13
  +
2.....14</pre>
 
==== JP4/JP8 -> CAT5 ====
 
==== JP4/JP8 -> CAT5 ====
* Pin5 -> Green
+
* Pin5 (TX) -> Green
* Pin7 -> Blue
+
* Pin7 (RX) -> Blue
* Pin9 -> Brown
+
* Pin9 (DCD) -> Brown
* Pin13 -> Orange
+
* Pin13 (CTS) -> Orange
* Pin15 -> Orange/White
+
* Pin14 (GND) -> Orange/White
 
==== CAT5 -> Female DB9 ====
 
==== CAT5 -> Female DB9 ====
 
* Blue -> Pin1
 
* Blue -> Pin1
Line 69: Line 72:
   
 
== Pictures ==
 
== Pictures ==
  +
[[Image:Ser-cable-2.jpg]]
http://downloads.phathack.com/sbingner/images/ser-cable-2.jpg
 
  +
[[Image:Ser-cable-3.jpg]]
http://downloads.phathack.com/sbingner/images/ser-cable-3.jpg
 
  +
[[Image:Ser-cable-4.jpg]]
http://downloads.phathack.com/sbingner/images/ser-cable-4.jpg
 
   
 
Connection info 115Kbps, 8n1 (flowcontrol?)
 
Connection info 115Kbps, 8n1 (flowcontrol?)

Latest revision as of 10:50, 14 February 2008

Instructions

  1. Obtain Futuredial LG5350 Cable USB->Serial cable that uses TTL levels rather than RS232 levels such as which I got for $10 from Radio Shack*
  2. Chop off the end that connects to the phone (NOT the USB end)
  3. Connect the wires to JP8 on the CX910 Board or JP4 on the C710 Board as follows
    1. Yellow (RX) to Pin 5 (TX)
    2. Blue (TX) to Pin 7 (RX)
    3. Brown (DCD) to Pin 9 (DCD)
    4. Orange (CTS) to Pin 13 (CTS)
    5. Shield (GND) to Pin 14 (GND)
  4. Plug the USB Cable into your computer and start a shell on the serial port

To start the shell, you can get my working busybox from http://www.phathack.com/busybox.bz2 then use the following to start it on the serial port. See HOWTO: Run Unsigned Code

(If you are using windows you'll need to install the serial port drivers for the USB device.. found http://www.futuredial.com/support/download/prolificdrivers.zip )

/dos/busybox mv /bin/busybox /bin/busybox-old
/dos/busybox ln -s /dos/busybox /bin/busybox
/bin/busybox --install -s
(sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS0 &)
  • This cable needs to have a "bulge" in the middle of it. Radio Shack sells all sorts of Futuredial cables. The cable tested here is described as "LG 1010, 5350, VX1 and VX10" and has product number 170-0783 (above the UPC on the back).

My Installation

NOTE: I had to cut the plastic on the cover to access my DB9 connector, you may want to try putting it vertically on the side away from the RCA plugs

  1. Obtain:
    1. Male DB9 Serial Connector
    2. Female DB9 Serial Connector
    3. D-Sub hood
    4. Some solid (not stranded) CAT5 cable
    5. Soldering iron
    6. Solder
  2. Solder the wires from your USB->Serial cable to the male DB9, and mount it in the D-Sub Hood (I used male so nobody will get confused and try to use it for normal serial)
  3. Strip both ends of the CAT5 cable, and chop off all the white/color wires.
  4. Strip the solid color wires
  5. Solder one end of the CAT5 cable to the Female DB9
  6. Cut hole in PhatBox case, run the wire through hole and connect to JP4/JP8
  7. Solder the Female DB9 onto case, or screw on

My Pinout

Phatbox Side

JP4 Pinout:

1.....13
2.....14

JP4/JP8 -> CAT5

  • Pin5 (TX) -> Green
  • Pin7 (RX) -> Blue
  • Pin9 (DCD) -> Brown
  • Pin13 (CTS) -> Orange
  • Pin14 (GND) -> Orange/White

CAT5 -> Female DB9

  • Blue -> Pin1
  • Green -> Pin4
  • Orange/White -> Pin6
  • Brown -> Pin8
  • Orange -> Pin9

USB/Serial Cable Side

USB Cable -> Male DB9

  • Blue (TX) -> Pin1
  • Green (DTR) -> Pin2
  • Purple (RTS) -> Pin3
  • Yellow (RX) -> Pin4
  • Red (RI) -> Pin5
  • Shield (Ground) -> Pin6
  • Empty Pad (DSR) -> Pin7 (This wire does not exist)
  • Brown (DCD) -> Pin8
  • Orange (CTS) -> Pin9

Pictures

Ser-cable-2.jpg Ser-cable-3.jpg Ser-cable-4.jpg

Connection info 115Kbps, 8n1 (flowcontrol?)