Difference between revisions of "Serial port"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Buy a TTL/RS232 or TTL/USB interface)
(Added a lower cost USB to TTL cable option)
 
(30 intermediate revisions by 5 users not shown)
Line 30: Line 30:
 
|[[:Category:LSPro|LS-GL]]
 
|[[:Category:LSPro|LS-GL]]
 
| || ||[[Image:LS-Pro.jpg|center|30px]]
 
| || ||[[Image:LS-Pro.jpg|center|30px]]
||  [[Add a Serial port to the ARM9 Linkstation| Use Bottom Slot]]
+
||   
 +
* [[Add a Serial port to the ARM9 Linkstation| Use bottom slot with friction fit connector]]
 +
* [[Use a Nokia Serial Cable on an ARM9 Linkstation| Solder cable directly to circuit board]]
 +
|-
 +
|| '''LS MINI'''<br />
 +
|[[:Category:LS-WSGL/R1|LS-WSGL]] || || ||[[Image:LS_WSGL.jpg|center|30px]]
 +
||  [[Add a Serial port to the LS MINI]]
 +
|-
 +
|| '''LS DUO'''<br />
 +
|[[:Category:LS-WTGL/R1|LS-WTGL]] || || ||[[Image:LS-WTGL-R1.jpg|center|30px]]
 +
||  [[Add a Serial port to the LS DUO]]
 
|-
 
|-
 
|| '''KUROPRO'''
 
|| '''KUROPRO'''
Line 38: Line 48:
 
* [[Add a Serial port to the ARM9 Linkstation| Use bottom Slot]]
 
* [[Add a Serial port to the ARM9 Linkstation| Use bottom Slot]]
 
* [[SCON-KIT/ PRO quick manual | Use daughterboard]]
 
* [[SCON-KIT/ PRO quick manual | Use daughterboard]]
 +
|-
 +
|| '''TERASTATION'''
 +
|[[:category:Terastation|Terastation]]
 +
|  [[Image:TeraStation.jpg|center|27px]] || ||
 +
|| 
 +
* [[Terastation Serial console]]
 +
|-
 +
|| '''TERASTATION PRO V1'''
 +
|[[:category:TerastationProV1|Terastation Pro V1]]
 +
|  [[Image:Ts-pro-1.jpg|center|27px]] || ||
 +
|| 
 +
* [[Serial console TsP]]
 
|}
 
|}
  
 
==Level Shifter==
 
==Level Shifter==
===Build your own TTL/RS232 or TTL/USB interface===
+
 
TTL/RS232 - [[Building a Custom Serial Interface]]
+
All of the Buffalo NAS devices have serial hardware built in, which they use for Linux kernel messages (console) as well as communication with the boot loader.  While normal RS232 uses a nominal 12 volt for communication signals, the NAS's serial hardware signals are at 3.3v.  It is therefore necessary to use a device which provides "level shifting" i.e. translates between the RS232 and 3.3v signal levels. The Terastations have this built in already, as a port designed to communicate with a [[w:Uninterruptible power supply|UPS system]] however you will need to add one to a Linkstation or Kurobox.
TTL/USB - [[Use a cheap phone sync cable with the serial port]]
+
 
===Buy a TTL/RS232 or TTL/USB interface===
+
The cheapest and most widely available level shifters are incorporated into some mobile phone data cables (see below), however slightly more work is required to determine the pin-out of these cables than if you buy some off-the-shelf converter kits.
{| class="wikitable" width="500px"
+
 
 +
===Build your own LVTTL/RS232 or LVTTL/USB interface===
 +
LVTTL/RS232 - [[Building a Custom Serial Interface]]
 +
LVTTL/USB - [[Use a Nokia Serial Cable on an ARM9 Linkstation]]
 +
*  LVTTL/USB - [[Use a cheap phone sync cable with the serial port]]
 +
 
 +
===Buy a LVTTL/RS232 or LVTTL/USB interface===
 +
{| class="wikitable" width="600px"
 
|-
 
|-
 
! |The cheapest TTL/RS232 converter uses a [[wikibooks:Serial Programming:MAX232 Driver Receiver | MAX232]] with two serial channels for standard TTL 3V input.
 
! |The cheapest TTL/RS232 converter uses a [[wikibooks:Serial Programming:MAX232 Driver Receiver | MAX232]] with two serial channels for standard TTL 3V input.
 
! |The cheapest TTL/USB converter uses a chip by FTDI (the same chip is used in the [[SCON-KIT/ PRO quick manual | SCON-KIT]] )
 
! |The cheapest TTL/USB converter uses a chip by FTDI (the same chip is used in the [[SCON-KIT/ PRO quick manual | SCON-KIT]] )
 
|-
 
|-
|| [[Image:ET-MINI_RS232_3V.jpg|200px]]
+
|width="350px" | [[Image:ET-MINI_RS232_3V.jpg|200px]]
|| [[Image:MM232R.jpg|200px]]
+
|width="250px" | [[Image:MM232R.jpg|200px]]
 
|-
 
|-
 
|| This board is made by [http://www.futurlec.com Futurelec], however the order is shipped from Thailand so it takes 2-3 weeks to get it.  
 
|| This board is made by [http://www.futurlec.com Futurelec], however the order is shipped from Thailand so it takes 2-3 weeks to get it.  
 +
 +
You'll also need some headers and connectors
 +
 
|| This cable is made by [http://www.ftdichip.com/ FTDI], but the pinout at the connector end would need to be reassigned. [http://www.ftdichip.com/Documents/DataSheets/Modules/DS_TTL232R.pdf '''Spec Sheet w/ pinout, wire colors & other info''']
 
|| This cable is made by [http://www.ftdichip.com/ FTDI], but the pinout at the connector end would need to be reassigned. [http://www.ftdichip.com/Documents/DataSheets/Modules/DS_TTL232R.pdf '''Spec Sheet w/ pinout, wire colors & other info''']
 
You will also need a 4 pin header
 
You will also need a 4 pin header
 
[[Image:4pinheader.gif]]
 
[[Image:4pinheader.gif]]
* <small>[http://www.mouser.com/search/ProductDetail.aspx?R=929400-01-04virtualkey51750000virtualkey517-929400-01-04 Mouser PN: 517-929400-01-04 ]</small>
+
 
|-
+
|- valign="top"
 
||
 
||
 
<small>
 
<small>
* $4.90 - [http://www.futurlec.com/Mini_RS232_TTL_3V.shtml Futurelec: RS232 to TTL-3V Converter Mini Board]</small>
+
Parts List
 +
* $4.90 - [http://www.futurlec.com/Mini_RS232_TTL_3V.shtml Futurelec: RS232 to TTL-3V Converter Mini Board]
 +
* $0.70 - [http://www.futurlec.com/Connectors/HEADS4.shtml Futurelec: HEADS4 - 4 Pin .100" Straight Male Headers - Single Row]
 +
* $0.15 - [http://www.futurlec.com/Connectors/HDCONNS4pr.shtml Futurelec: HDCONNS4 - 4 Pin .100" Header Connector]
 +
* $0.15 - [http://www.futurlec.com/Connectors/HDCONNS6.shtml Futurelec: HDCONNS6 - 6 Pin .100" Header Connector - Single Row]
 +
* $0.60 - [http://www.futurlec.com/Connectors/HDPINFpr.shtml Futurelec: HDPINF - Female Pin for Header Connector]
 +
* $0.17 - [http://www.futurlec.com/Connectors/POLHDCON4.shtml Futurelec: POLHDCON4 - 4 Pin .100" Polarized Header Connector]
 +
* $0.60 - [http://www.futurlec.com/Connectors/PLHDPIN.shtml Futurelec: PLHDPIN - Crimp Pin for Header Connector]
 +
* $0.55 - [http://www.futurlec.com/Connectors/DSUBSCF9.shtml Futurelec: DSUBSCF9 - 9 Contact Female Solder Cup Connector]
 +
 
 +
</small>
 
||
 
||
 
<small>
 
<small>
* $20.00 - [http://www.mouser.com/search/ProductDetail.aspx?R=TTL-232R-3V3virtualkey62620000virtualkey626-DLP-TTL-232R-3V3  Mouser Part # 626-DLP-TXRX-G]
+
Parts List
* £11.10 - [http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=53&op=catalogue-product_info-null&prodCategoryID=47    TTL-232R-3V3 from the FTDI Chip Shop]</small>
+
* $0.32 - [http://www.mouser.com/search/ProductDetail.aspx?R=929400-01-04virtualkey51750000virtualkey517-929400-01-04 Mouser Part # 517-929400-01-04 ]
 +
* $20.00 - [http://www.mouser.com/search/ProductDetail.aspx?R=TTL-232R-3V3virtualkey62620000virtualkey895-TTL-232R-3V3  Mouser Part # 895-TTL-232R-3V3]
 +
 
 
|-
 
|-
 
! Others
 
! Others
Line 72: Line 116:
 
||
 
||
 
<small>
 
<small>
 +
* $19.00 - [http://www.massmind.org/techref/io/serial/RCL1.htm  the MassMind store] (#RLC-1) 3/5V RX,TX,RTS,CTS, in a tough DB9 Backshell
 
* $19.00 - [http://www.superdroidrobots.com/shop/item.asp?itemid=335&catid=41  SuperDroid Robots] (#MCU-026-172)  
 
* $19.00 - [http://www.superdroidrobots.com/shop/item.asp?itemid=335&catid=41  SuperDroid Robots] (#MCU-026-172)  
 
* $29.00 - [http://www.compsys1.com/workbench/  CompSys] (#A232DBH3v)
 
* $29.00 - [http://www.compsys1.com/workbench/  CompSys] (#A232DBH3v)
* AUD$25.00 - [http://www.digitalnemesis.com/products/rlc1/ Digital Nemesis] RLC-1 3V/5V RS232 Level Converter
 
 
* $23.99 - [http://www.tcniso.net/shop/product.php?productid=3 TCNiSO] RS-232 to TTL V2 Board
 
* $23.99 - [http://www.tcniso.net/shop/product.php?productid=3 TCNiSO] RS-232 to TTL V2 Board
 
</small>
 
</small>
 
||
 
||
 
<small>
 
<small>
 +
* £11.10 - [http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=53&op=catalogue-product_info-null&prodCategoryID=47    TTL-232R-3V3 from the  FTDI Chip Shop]
 +
* $19.95 - [http://www.massmind.org/techref/io/serial/RLC3.htm] Low cost USB to TTL 3/5v
 
* $24.95 - [http://www.compsys1.com/html/usb_rs232.html Compsys:USBP Ver 3 kit] , FTDI based TTL to USB port converter
 
* $24.95 - [http://www.compsys1.com/html/usb_rs232.html Compsys:USBP Ver 3 kit] , FTDI based TTL to USB port converter
 
* ¥ 2,717  - [http://www.amazon.co.jp/%E7%8E%84%E4%BA%BA%E5%BF%97%E5%90%91-KURO-BOX-PRO%E5%B0%82%E7%94%A8%E3%82%B7%E3%83%AA%E3%82%A2%E3%83%AB%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E3%82%AD%E3%83%83%E3%83%88/dp/B000PHWT6Q/ref=sr_1_1/503-9191749-9680738?ie=UTF8&s=electronics&qid=1187410583&sr=8-1  SCON: KURO-BOX/PRO専用シリアルコンソールキット ]
 
* ¥ 2,717  - [http://www.amazon.co.jp/%E7%8E%84%E4%BA%BA%E5%BF%97%E5%90%91-KURO-BOX-PRO%E5%B0%82%E7%94%A8%E3%82%B7%E3%83%AA%E3%82%A2%E3%83%AB%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E3%82%AD%E3%83%83%E3%83%88/dp/B000PHWT6Q/ref=sr_1_1/503-9191749-9680738?ie=UTF8&s=electronics&qid=1187410583&sr=8-1  SCON: KURO-BOX/PRO専用シリアルコンソールキット ]
 +
* ¥ 1,000 - [http://search3.auctions.yahoo.co.jp/jp/search/auc?p=DKU-5&auccat=2084223952 Yahoo!オークション - Nokia DKU-5]
 
</small>
 
</small>
 
|}
 
|}
  
 
{{Disambig}}
 
{{Disambig}}

Latest revision as of 23:08, 25 August 2011

Model Specific Directions

Power-architecture-logo.png MIPS Logo color.png ARM Logo hires.png How to add Serial Access
LS1 HD-HLAN v1
HD-H(G).jpg
For the LS1
KURO/HG KUROBOX
Kuro-box.jpg
For Kuro/HG
HG HD-HGLAN
HD-H(G).jpg
For the HG
LS2 HD-HLAN v2
HD-H(G).jpg
For the LS2
LSPRO
LS-GL
LS-Pro.jpg
LS MINI
LS-WSGL
LS WSGL.jpg
Add a Serial port to the LS MINI
LS DUO
LS-WTGL
LS-WTGL-R1.jpg
Add a Serial port to the LS DUO
KUROPRO KUROBOX Pro
Kuro-box pro.jpg
TERASTATION Terastation
TeraStation.jpg
TERASTATION PRO V1 Terastation Pro V1
Ts-pro-1.jpg

Level Shifter

All of the Buffalo NAS devices have serial hardware built in, which they use for Linux kernel messages (console) as well as communication with the boot loader. While normal RS232 uses a nominal 12 volt for communication signals, the NAS's serial hardware signals are at 3.3v. It is therefore necessary to use a device which provides "level shifting" i.e. translates between the RS232 and 3.3v signal levels. The Terastations have this built in already, as a port designed to communicate with a UPS system however you will need to add one to a Linkstation or Kurobox.

The cheapest and most widely available level shifters are incorporated into some mobile phone data cables (see below), however slightly more work is required to determine the pin-out of these cables than if you buy some off-the-shelf converter kits.

Build your own LVTTL/RS232 or LVTTL/USB interface

Buy a LVTTL/RS232 or LVTTL/USB interface

The cheapest TTL/RS232 converter uses a MAX232 with two serial channels for standard TTL 3V input. The cheapest TTL/USB converter uses a chip by FTDI (the same chip is used in the SCON-KIT )
ET-MINI RS232 3V.jpg MM232R.jpg
This board is made by Futurelec, however the order is shipped from Thailand so it takes 2-3 weeks to get it.

You'll also need some headers and connectors

This cable is made by FTDI, but the pinout at the connector end would need to be reassigned. Spec Sheet w/ pinout, wire colors & other info

You will also need a 4 pin header 4pinheader.gif

Parts List

Parts List

Others Others