Difference between revisions of "Access Serial Port"

From PhatHack Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
  +
[[Category:HOWTO]]
 
# 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
 
# 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
 
# 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)

Revision as of 22:48, 20 June 2005

  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
    2. Blue (TX) to Pin 7
    3. Brown (DCD) to Pin 9
    4. Orange (CTS) to Pin 13
  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

/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 &)