Difference between revisions of "WDTVLiveSerial"
(Added a new link with more information about the serial port on the live.) |
|||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {| align="right" | ||
+ | | __TOC__ | ||
+ | |} | ||
+ | = 3.3V TTY Serial Port = | ||
+ | If your WDTV is bricked, you will most likely need to interface with it through the serial connection on the motherboard.<BR><BR>To do this, you will need a '''3.3V''' TTL-Serial cable. I use an adapted [http://www.amazon.com/Data-Cable-Nokia-3585-CA-42/dp/B000BI4HQY/ref=pd_cp_cps_0 Nokia CA-42 USB to TTL-Serial cable], but you can use whatever cable you want/have.<br>These little serial cables come in handy when working on embedded boards like this.<br>Here is some information on [https://sites.google.com/site/sleclire/ca-42-usb-to-ttl-serial-cable how to make a CA-42 into a USB to TTL-Serial cable]. Also, some testimonial about using the serial port: http://geraldnaveen.blogspot.ro/2012/12/wdtv-live-firmware-hacking-series-part-2.html<br>'''The wire colors may be different, so be careful!''' | ||
+ | <BR><BR><B>OR</B><BR><BR>You can also get one [http://www.dealextreme.com/p/ca-42-compatible-usb-2-0-data-cable-for-nokia-2110-2112-2115-more-45715 here] which is cheaper and only has the 3 wires inside you will need to interface with the serial connection on the WDTV (RX, TX, and GND). <BR>It comes with a driver disk that will allow Windows to recognize it when plugged into your USB port<br> | ||
+ | |||
+ | == WARNING! == | ||
+ | <big style="color:red">'''<u>NEVER</u>''' CONNECT THE WDTV SERIAL PORT ('''3.3V''') DIRECTLY TO YOUR PC's SERIAL PORT !!'''</big> | ||
+ | |||
+ | |||
+ | == WDTV Live/Plus serial port == | ||
+ | '''''You only need to connect the RX, TX, and Gnd. NOT THE 5Volt pin. BE CAREFUL!!''''' | ||
WDTV circuit board | CN4 pinout | WDTV circuit board | CN4 pinout | ||
| .---------. | | .---------. | ||
Line 5: | Line 18: | ||
.------. | ^ ^ ^ ^ | .------. | ^ ^ ^ ^ | ||
| .... | | / | | \ | | .... | | / | | \ | ||
− | '------' O | +5V RX TX | + | '------' O | +5V RX TX GND |
'--------------------' | '--------------------' | ||
+ | |||
+ | |||
+ | == WDTV Live Streaming (Gen3) serial port == | ||
+ | '''''You only need to connect the RX, TX, and Gnd. NOT THE 5Volt pin. BE CAREFUL!!''''' | ||
+ | .-------. .-----------. | ||
+ | | ..... | | o o o o o | | ||
+ | '-------' '-----------' | ||
+ | -------------- ^ ^ ^ ^ ^ | ||
+ | front / | | | \ | ||
+ | RX GND|GND TX | ||
+ | +5V | ||
+ | |||
+ | |||
+ | == Making the cable == | ||
+ | |||
+ | In order to interface with the serial connector, you will have to modify the connection end. Cut off the phone end and add a 4 port serial connector end. I used a cdrom audio cable connector end (the cable that delivers audio from a cdrom to the motherboard on a PC.). It's a 4 pin end that with a little bit of exacto knife work, fits nicely into the WDTV serial interface connector. | ||
+ | |||
+ | |||
+ | == Confirming RX, TX, and GND == | ||
+ | |||
+ | If you have the 3 wire cable, you just need to determine which wires are RX and TX and which is GND. To do this you can open a telnet session (see instructions below) and connect 2 wires together until your keyboard strokes are returned in the console. The 2 wires that return your input are RX and TX, and the 3rd wire is GND. If you have more than 3 wires you can use a multimeter to determine the cable that carries the 3.3V. You only need to connect RX, TX, and GND. | ||
+ | |||
+ | |||
+ | == Telneting to the WDTV == | ||
+ | |||
+ | Eventually you will need to interface with the WDTV board using a telnet program. I used [http://www.putty.org/ Putty] to do this. You will need to determine what COM port your USB cable is using. With the cable connected, you can find this information under the USB area in Device Manager (Windows OS).<BR> | ||
+ | Start up putty, and from the Session screen click the <I>Serial</I> radio button, enter the COM port the USB cable is connected to in the <I>Serial line</I> box, and change the Speed to 115200. | ||
+ | You also will want to turn on logging, by selecting <I>Logging</I> and clicking the <I>All session output</I> radio button. | ||
+ | When everything is configured, Click <I>Open</I> to start the session. | ||
+ | |||
+ | |||
+ | == COM port settings == | ||
{| border="1" | {| border="1" | ||
!Speed||115200 | !Speed||115200 | ||
Line 18: | Line 63: | ||
!Flow Control||None | !Flow Control||None | ||
|} | |} | ||
+ | |||
+ | |||
+ | == Tips == | ||
+ | * When connecting the TTL cable try reversing RX/TX if you don't get the console. | ||
+ | * You can remove the top cover by pulling on it firmly to expose the inner PCB. Details in this video by b-rad: http://b-rad.cc/binaries/WDTV.Shell.Removal.AVI | ||
+ | |||
+ | |||
+ | == Reference threads == | ||
+ | * http://forum.wdlxtv.com/viewtopic.php?f=43&t=804&p=5596#p5596 | ||
+ | * http://forum.wdlxtv.com/viewtopic.php?f=43&t=2438&p=24610#p24610 | ||
+ | |||
+ | ---- | ||
+ | |||
+ | --[[User:Recliq|Recliq]] 13:43, 10 July 2011 (UTC) |
Latest revision as of 02:08, 18 March 2013
3.3V TTY Serial Port
If your WDTV is bricked, you will most likely need to interface with it through the serial connection on the motherboard.
To do this, you will need a 3.3V TTL-Serial cable. I use an adapted Nokia CA-42 USB to TTL-Serial cable, but you can use whatever cable you want/have.
These little serial cables come in handy when working on embedded boards like this.
Here is some information on how to make a CA-42 into a USB to TTL-Serial cable. Also, some testimonial about using the serial port: http://geraldnaveen.blogspot.ro/2012/12/wdtv-live-firmware-hacking-series-part-2.html
The wire colors may be different, so be careful!
OR
You can also get one here which is cheaper and only has the 3 wires inside you will need to interface with the serial connection on the WDTV (RX, TX, and GND).
It comes with a driver disk that will allow Windows to recognize it when plugged into your USB port
WARNING!
NEVER CONNECT THE WDTV SERIAL PORT (3.3V) DIRECTLY TO YOUR PC's SERIAL PORT !!
WDTV Live/Plus serial port
You only need to connect the RX, TX, and Gnd. NOT THE 5Volt pin. BE CAREFUL!!
WDTV circuit board | CN4 pinout | .---------. | | o o o o | CN4 | '---------' .------. | ^ ^ ^ ^ | .... | | / | | \ '------' O | +5V RX TX GND '--------------------'
WDTV Live Streaming (Gen3) serial port
You only need to connect the RX, TX, and Gnd. NOT THE 5Volt pin. BE CAREFUL!!
.-------. .-----------. | ..... | | o o o o o | '-------' '-----------' -------------- ^ ^ ^ ^ ^ front / | | | \ RX GND|GND TX +5V
Making the cable
In order to interface with the serial connector, you will have to modify the connection end. Cut off the phone end and add a 4 port serial connector end. I used a cdrom audio cable connector end (the cable that delivers audio from a cdrom to the motherboard on a PC.). It's a 4 pin end that with a little bit of exacto knife work, fits nicely into the WDTV serial interface connector.
Confirming RX, TX, and GND
If you have the 3 wire cable, you just need to determine which wires are RX and TX and which is GND. To do this you can open a telnet session (see instructions below) and connect 2 wires together until your keyboard strokes are returned in the console. The 2 wires that return your input are RX and TX, and the 3rd wire is GND. If you have more than 3 wires you can use a multimeter to determine the cable that carries the 3.3V. You only need to connect RX, TX, and GND.
Telneting to the WDTV
Eventually you will need to interface with the WDTV board using a telnet program. I used Putty to do this. You will need to determine what COM port your USB cable is using. With the cable connected, you can find this information under the USB area in Device Manager (Windows OS).
Start up putty, and from the Session screen click the Serial radio button, enter the COM port the USB cable is connected to in the Serial line box, and change the Speed to 115200.
You also will want to turn on logging, by selecting Logging and clicking the All session output radio button.
When everything is configured, Click Open to start the session.
COM port settings
Speed | 115200 |
---|---|
Data | 8 |
Parity | None |
Stop | 1 |
Flow Control | None |
Tips
- When connecting the TTL cable try reversing RX/TX if you don't get the console.
- You can remove the top cover by pulling on it firmly to expose the inner PCB. Details in this video by b-rad: http://b-rad.cc/binaries/WDTV.Shell.Removal.AVI
Reference threads
- http://forum.wdlxtv.com/viewtopic.php?f=43&t=804&p=5596#p5596
- http://forum.wdlxtv.com/viewtopic.php?f=43&t=2438&p=24610#p24610
--Recliq 13:43, 10 July 2011 (UTC)