Difference between revisions of "Add a Serial port to the LS MINI"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m (C54)
 
(32 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
Apparently there are two traces that have been interrupted which would allow serial port access.
 
Apparently there are two traces that have been interrupted which would allow serial port access.
  
These traces have been interrupted UNDER a SMD capacitor at position C54.   Junker (see Yamasita's article/reference) discovered the way first<ref>[http://www.yamasita.jp/linkstation/2008/08/080831__patches_for_serial_console.html シリアルコンソールのためのパッチ / patches for serial console:LS-WSGL/R1 ]</ref>
+
These traces have been interrupted UNDER a SMD capacitor at position C54. Junker<ref>[http://www.yamasita.jp/cgi-bin/BBS/eztree.cgi?action=view&view_num=5166 Original Junker's message No.5166 at Hack BBS]</ref> (see Yamasita's article/reference) discovered
 +
the way first<ref>[http://www.yamasita.jp/linkstation/2008/08/080831__patches_for_serial_console.html シリアルコンソールのためのパッチ / patches for serial console:LS-WSGL/R1 ]</ref>.  Apparantly the pinheaders from the [[SCON-KIT/ PRO quick manual|SCON-KIT/ PRO]] can be fit into the case quite easily as well<ref>[http://www.yamasita.jp/linkstation/2008/09/080906__soldering_a_serial_connecter.html シリアルコネクタの半田付け / soldering a serial connecter:LS-WSGL/R1 ]</ref>.
  
[[User:Laitr Keiows |Laitr Keiows]] and johnbock duplicated his efforts<ref>[http://buffalo.nas-central.org/forums/viewtopic.php?f=61&t=10471 The Buffalo NAS hacking Forums:Serial access possible? YES!]</ref>
+
[[User:Laitr Keiows |Laitr Keiows]] and [[User:Johnbock|Johnbock]] duplicated his efforts<ref>[http://buffalo.nas-central.org/forums/viewtopic.php?f=61&t=10471 The Buffalo NAS hacking Forums:Serial access possible? YES!]</ref>
  
 
=Method=  
 
=Method=  
 +
First take it apart:
 +
* <big>[[Disassemble the LS MINI]]</big>
 +
 +
Then you will need to find some way to resurrect the traces that are interrupted under C54.
 +
 
==C54==
 
==C54==
[[Image:LSMINI-Serialport-c54.jpg|200px|The traces are visible under c54]]
+
We need to fix these wires which go under C54:
 +
{|
 +
|-
 +
||[[Image:LSMINI-Serialport-c54.jpg|200px|thumb|Frontside - The traces are visible under c54]]  
 +
||[[Image:LSMINI-Serialport-before.jpg|200px|thumb|Backside]]
 +
|}
  
 
===Method 1: reconstruct the traces (on the backside)===
 
===Method 1: reconstruct the traces (on the backside)===
 +
This method requires absolutely no soldering.
 +
 +
# Lay a layer of a scotch tape between holes, just not to cover them.
 +
# Use a strand of high flexible low oxygen copper wire.
 +
# Thread it through both holes.
 +
# Fix it with a scotch tape on the back side.
 +
# Cut remainders on the front side, leaving about 2 mm.
 +
# Repeat from step 2 with the second thread.
 +
# Be sure not to shorten anything else.
 +
 
{|
 
{|
 
|-
 
|-
||[[Image:LSMINI-Serialport-before.jpg|200px]]
+
||[[Image:LSMINI-Serialport-before.jpg|200px|thumb|Holes marked in RED]]
||[[Image:LSMINI-Serialport-after.jpg|200px]]
+
||[[Image:LSMINI-Serialport-after.jpg|200px|thumb|Use a strand of high flexible low oxygen copper wire, thread it through both holes and fix it with a scotch tape on the back side]]
 +
||[[Image:LSMINI-Serialport-after-frontside.jpeg|200px|thumb|Cut remainders on the front side, leaving about 2 mm]]
 
|}
 
|}
 +
 
===Method 2: Bridge the traces (on the frontside)===
 
===Method 2: Bridge the traces (on the frontside)===
 +
This method requires a steady hand and good soldering skills.
 +
 +
Use two strands of high flexible low oxygen copper wire.
 +
# Locate and carefully remove C54 from its pads.
 +
# Clean the area with rubbing alcohol and a tiny brush.
 +
# Cut two stands of high flexible copper wire to length.
 +
# Solder each of the strands to the vertically aligned pads.
 +
# Resolder C54 to its' original position.
 +
# Ensure no shorting has take place while soldering.
 +
 
{|
 
{|
 
|-
 
|-
||[[Image:LSMINI-Serialport-c54.jpg|200px]]
+
||[[Image:LSMINI-Serialport-c54.jpg|200px|thumb|Locate C54 on the upper (processor) side of the PCB.]]
||[[Image:LSMINI-Serialport-c54bridged.jpg|200px]]
+
||[[Image:LSMINI-Serialport-c54unbridged.png|200px|thumb|Carefully remove C54 (we need it later) from it's pads.]]
 +
||[[Image:LSMINI-Serialport-c54bridged.png|200px|thumb|Using two strands of high flexible copper wire, solder each of the two vertically aligned traces.]]
 
|}
 
|}
  
 
==Pinout of Port==
 
==Pinout of Port==
 +
{|
 +
|-
 +
||
 +
[[Image:LSMINI-Serialport-after.jpg|thumb|Wire colors referenced in table]]
 +
||
 +
{| style="background:Gainsboro;border-collapse:collapse;border:solid 1px black"
 +
|+
 +
|-
 +
| style="border:solid 1px white" |'''Pin&nbsp;'''
 +
| style="border:solid 1px white" |'''Signal'''
 +
| style="border:solid 1px white" |'''Wire Color'''
 +
|-
 +
| style="border:solid 1px white"|1
 +
| style="border:solid 1px white"|Transmit (TxD)
 +
| style="border:solid 1px white"|Green
 +
|-
 +
| style="border:solid 1px white"|2
 +
| style="border:solid 1px white"|Receive (RxD)
 +
| style="border:solid 1px white"|White
 +
|-
 +
| style="border:solid 1px white"|3
 +
| style="border:solid 1px white"|Power 3.3V (Vcc)
 +
| style="border:solid 1px white"|NC
 +
|-
 +
| style="border:solid 1px white"|4
 +
| style="border:solid 1px white"|Ground (GND)
 +
| style="border:solid 1px white"|Red
 +
|}
 +
|}
  
......
+
==Use a Level Shifter==
 
+
{{Level Shifter}}
  
 
=Serial Port Output=
 
=Serial Port Output=

Latest revision as of 06:24, 10 September 2008

Linkstation Mini
LS MINI PCB frontside - high resolution
LS MINI PCB backside - high resolution

Contents

Background

Apparently there are two traces that have been interrupted which would allow serial port access.

These traces have been interrupted UNDER a SMD capacitor at position C54. Junker[1] (see Yamasita's article/reference) discovered the way first[2]. Apparantly the pinheaders from the SCON-KIT/ PRO can be fit into the case quite easily as well[3].

Laitr Keiows and Johnbock duplicated his efforts[4]

Method

First take it apart:

Then you will need to find some way to resurrect the traces that are interrupted under C54.

C54

We need to fix these wires which go under C54:

Frontside - The traces are visible under c54
Backside

Method 1: reconstruct the traces (on the backside)

This method requires absolutely no soldering.

  1. Lay a layer of a scotch tape between holes, just not to cover them.
  2. Use a strand of high flexible low oxygen copper wire.
  3. Thread it through both holes.
  4. Fix it with a scotch tape on the back side.
  5. Cut remainders on the front side, leaving about 2 mm.
  6. Repeat from step 2 with the second thread.
  7. Be sure not to shorten anything else.
Holes marked in RED
Use a strand of high flexible low oxygen copper wire, thread it through both holes and fix it with a scotch tape on the back side
Cut remainders on the front side, leaving about 2 mm

Method 2: Bridge the traces (on the frontside)

This method requires a steady hand and good soldering skills.

Use two strands of high flexible low oxygen copper wire.

  1. Locate and carefully remove C54 from its pads.
  2. Clean the area with rubbing alcohol and a tiny brush.
  3. Cut two stands of high flexible copper wire to length.
  4. Solder each of the strands to the vertically aligned pads.
  5. Resolder C54 to its' original position.
  6. Ensure no shorting has take place while soldering.
Locate C54 on the upper (processor) side of the PCB.
Carefully remove C54 (we need it later) from it's pads.
Using two strands of high flexible copper wire, solder each of the two vertically aligned traces.

Pinout of Port

Wire colors referenced in table
Pin  Signal Wire Color
1 Transmit (TxD) Green
2 Receive (RxD) White
3 Power 3.3V (Vcc) NC
4 Ground (GND) Red

Use a Level Shifter

The serial port signals from the processor are only 3.3V. For proper RS-232 12V signaling, an RS-232 level shifter needs to be added. These are very common in PDA serial cables also, but can be purchased

Models other than KuroPro
Bar.png

If you are attaching a serial header pin onto the main board, you may want to consider:

  • Using the header pin unit with a 90 degree bend, or you might not be able to close the case
  • Soldering it with the pins toward the interior, rather than toward the case. This allows easier access, since if the pins face the case side they would be very close to the metal side. This would make access is so tight that one might end up taking the board out to get plug fitted on the pins.


Build your own LVTTL/RS232 or LVTTL/USB interface

Buy your own TTL Level Shifter

Usage considerations for the TTL-232R-3V3

TTL-232R-3V3 USB to TTL Serial Converter Cable
A very similar TTL/USB converter cable that uses a chip by FTDI (the same chip is used in the SCON-KIT ) can be obtained, but the pinout at the connector end would need to be reassigned: Spec Sheet w/ pinout, wire colors & other info
MM232R.jpg Mouser Part # 895-TTL-232R-3V3 $20.00
4pinheader.gif Mouser Part # 517-929400-01-04 $0.32

A working/tested pinout/wire-color scheme is:

Color Pin Number Signal
yellow 1 TXD
orange 2 RXD
unused 3 VCC
black 4 GND
  • Solder the 4-pin header to the board. Make sure you don't have shorts.
  • You will need to switch wires on the TTL-232R-3V3 cable. Use a sharp object to lift the plastic tabs and carefully pull the wires out. Rearrange them according to the table above (black, empty, orange, yellow, empty, empty) and slide those wires back in. Tape the other wires to make sure they don't short anything.
  • When plugging in the cable, make sure black aligns with GND, yellow with TXD, and orange with RXD.
  • Connect the USB cable to your computer, start a terminal program with the right settings.
  • Turn on the device, you should see output from the bootloader in couple seconds.

Serial Port Output

LS Mini: Serial Port Output - Boot-Log

References

  1. Original Junker's message No.5166 at Hack BBS
  2. シリアルコンソールのためのパッチ / patches for serial console:LS-WSGL/R1
  3. シリアルコネクタの半田付け / soldering a serial connecter:LS-WSGL/R1
  4. The Buffalo NAS hacking Forums:Serial access possible? YES!