Add Serial Port
From NAS-Central Buffalo - The Linkstation Wiki
| Line 3: | Line 3: | ||
''' Please note the adding of a serial port requires soldering onto the main board of the Kurobox and can cause catastrophic failure to the hardware. You have been warned ''' | ''' Please note the adding of a serial port requires soldering onto the main board of the Kurobox and can cause catastrophic failure to the hardware. You have been warned ''' | ||
| - | Locate J1 on the Mainboard after removing it from the case. This | + | Locate J1 on the Mainboard after removing it from the case. This should be a 4 pin unpopulated header. To allow |
one-way serial port traffic (read only) you can just add the 4 pin header and be done. To enable bi-directional serial port activity, you must also add a 10K resistor as described below. | one-way serial port traffic (read only) you can just add the 4 pin header and be done. To enable bi-directional serial port activity, you must also add a 10K resistor as described below. | ||
== Adding the serial port == | == Adding the serial port == | ||
| - | {| | + | {| style="background:Gainsboro;border-collapse:collapse;border:solid 1px black" |
|+ ''' J1 Pinout ''' | |+ ''' J1 Pinout ''' | ||
|- | |- | ||
| - | | | + | | style="border:solid 1px white" |'''Pin ''' |
| + | | style="border:solid 1px white" |'''Signal''' | ||
|- | |- | ||
| - | | | + | | style="border:solid 1px white"|1 |
| + | | style="border:solid 1px white"|Transmit (TX) | ||
|- | |- | ||
| - | | | + | | style="border:solid 1px white"|2 |
| + | | style="border:solid 1px white"|Receive (RX) | ||
|- | |- | ||
| - | | 4 || Ground (GND) | + | | style="border:solid 1px white"|3 |
| + | | style="border:solid 1px white"|Power (3.3V)* | ||
| + | |- | ||
| + | | style="border:solid 1px white"|4 | ||
| + | | style="border:solid 1px white"|Ground (GND) | ||
|} | |} | ||
| Line 25: | Line 32: | ||
Item Name: A232DBH3v Max232 3.3v ver. adapter assembled w/hood kit | Item Name: A232DBH3v Max232 3.3v ver. adapter assembled w/hood kit | ||
Item Number: A232DBH3v | Item Number: A232DBH3v | ||
| + | |||
| + | As an alternative you can make the level shifter cable yourself: | ||
| + | [http://www.type-g.com/index.php?plugin=attach&refer=LinkStation%2F%A5%B3%A5%F3%A5%BD%A1%BC%A5%EB%B0%FA%BD%D0%A4%B7&openfile=Circuit_ConsoleCable.pdf Circuit Console Cable.pdf] (courtesy Type-G). Components can be found at e.g. [http://www.digikey.com Digikey] | ||
This should be attached as close as possible to the board. The signals are very weak and wires as short as 2" have been reported to cause data loss across the serial port. | This should be attached as close as possible to the board. The signals are very weak and wires as short as 2" have been reported to cause data loss across the serial port. | ||
| Line 38: | Line 48: | ||
== Serial Port Settings == | == Serial Port Settings == | ||
| - | + | {| style="background:Gainsboro;border-collapse:collapse;border:solid 1px black" | |
| - | + | |- | |
| - | + | | style="width:80px;border:solid 1px white" |'''Data''' | |
| - | + | | style="border:solid 1px white" |'''Settings ''' | |
| - | + | |- | |
| - | + | | style="border:solid 1px white" |Baudrate | |
| - | + | | style="border:solid 1px white" | 57600 | |
| + | |- | ||
| + | | style="border:solid 1px white" |Data bits | ||
| + | | style="border:solid 1px white" | 8 | ||
| + | |- | ||
| + | | style="border:solid 1px white" |Stop bits | ||
| + | | style="border:solid 1px white" | 1 | ||
| + | |- | ||
| + | | style="border:solid 1px white" |Parity | ||
| + | | style="border:solid 1px white" | None | ||
| + | |} | ||
| - | |||
[[Category:HowTo]] | [[Category:HowTo]] | ||
Revision as of 18:25, 24 March 2006
How to attach a serial port to the Kurbox/KuroboxHG
Please note the adding of a serial port requires soldering onto the main board of the Kurobox and can cause catastrophic failure to the hardware. You have been warned
Locate J1 on the Mainboard after removing it from the case. This should be a 4 pin unpopulated header. To allow one-way serial port traffic (read only) you can just add the 4 pin header and be done. To enable bi-directional serial port activity, you must also add a 10K resistor as described below.
Adding the serial port
| Pin | Signal |
| 1 | Transmit (TX) |
| 2 | Receive (RX) |
| 3 | Power (3.3V)* |
| 4 | Ground (GND) |
Adding the level shifter
The serial port signals from the processor are only 3.3V. For proper RS-232 5V signaling, an RS-232 level shifter needs to be added. These are very common in PDA seial cables also, but can be purchased from Compsys Bench
Item Name: A232DBH3v Max232 3.3v ver. adapter assembled w/hood kit Item Number: A232DBH3v
As an alternative you can make the level shifter cable yourself: Circuit Console Cable.pdf (courtesy Type-G). Components can be found at e.g. Digikey
This should be attached as close as possible to the board. The signals are very weak and wires as short as 2" have been reported to cause data loss across the serial port.
Once you have the level shifter installed you should be able to see console messages via the serial port. To be able to write across the serial port, follow the next steps.
Enabling Write support
To enable write support across the serial port, remove the 10K ohm pullup resistor from R75 and install it , or another 10K ohm pullup resistor, to R76.
Serial Port Settings
| Data | Settings |
| Baudrate | 57600 |
| Data bits | 8 |
| Stop bits | 1 |
| Parity | None |

