Difference between revisions of "Terastation Serial console"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
If opening the TeraStation did not void your warenty, this will.
+
{{Template:Articles|Terastation}}
  
It requires some soldering skills, so practice on a dead mainboard first.
+
This page describes the hardware modifications needed to convert the TeraStation (original, not Live or any others) UPS serial port to a console port so that you can see the TeraStation's boot messages.  
  
If you add a serial console, it is your own decission and I'm not responsible for any damage. This are just tips on what to do, if you are not sure what I'm talking about, don't try it.
+
If opening the TeraStation did not void your warranty, this will.  Opening the case probably doesn't void your warranty since the manual for the TeraStation gives detailed instructions on how to replace a drive.  However, soldering pin-head/jumpers onto the mainboard is clearly not sanctioned as a necessary end-user activity by the manufacturer.
  
----
+
Enabling the console serial port requires some soldering skills, so practice on a dead mainboard first.
  
As we can see from the [[hardware]] page, the CPU offers two serial ports. The first one is used for the system console, but it's not accessable from outside the box. The seccond one is used to communicate with the XXX microcontroller.
+
If you add a serial console, it is your own decision and I'm not responsible for any damage. These are just tips on what to do, if you are not sure what I'm talking about, don't try it.
  
But there actually is a serial port on the back of the box. Officially it is used to communicate with the UPS.
+
----
  
If we open the box, there is the serial port in lower back corner:
+
As we can see from the [[TS Hardware and Software information]] page, the CPU offers two serial ports. The first one is used for the system console, but it's not accessible from outside the box. The second one is used to communicate with the XXX microcontroller.
  
[[Image:Serial_port_orig.jpg]]
+
But there actually is a serial port on the back of the box. Officially it is used to communicate with the UPS.  If we open the TeraStation, there is a serial port in lower back corner:
 +
 
 +
[[Image:Serial_port_orig.jpg|serial port, unmodified]]
  
 
Close to it is a Sipex3220EE level shifter to convert the 5v (or 3.3v) TTL-levels to RS232.
 
Close to it is a Sipex3220EE level shifter to convert the 5v (or 3.3v) TTL-levels to RS232.
  
If we look closely the three, actually four, pins of the level shifter are connected to middle pin of the three connectors: JP3 (TxD), JP4 (RxD), JP5 (Vcc).
+
If we look closely, we see that the three (actually four) pins of the level shifter are connected to middle pin of the three connectors: JP3 (TxD), JP4 (RxD), JP5 (Vcc).
  
Inorder to connect the system console we must first remove the three 0Ω resistor (R437, R440, R441) and move them to (R438, R439, R442). The Rx line from the CPU is still not connected. We  also have to bridge R76 to connect it. Do '''not''' remove R75, it is a 10kΩ pull-down. If you remove it the input line to the CPU will float and feed random junk to it, not what you want.
+
In order to connect the system console we must first remove the three 0Ω resistor (R437, R440, R441) and move them to (R438, R439, R442). Instead of moving them, we could just remove them and add pin-heads/jumpers to allow simple switching.  
  
Removing the SMD resistors already is a pain, so I decided to add three pin-heads/jumper. You can use them to toggle from seriel console (all jumpers to the left, as shown) and UPS support (the the right). '''Always put the jumpers all to the left or all to the right.''' If you don't you might kill the CPU.  
+
In any case the Rx line from the CPU will still not be connected. We also have to bridge R76 to connect it. Do '''not''' remove R75, it is a 10kΩ pull-down. If you remove it the input line to the CPU will float and feed random junk to it, not what you want.
  
[[Image:Serial_port_hacked.jpg]]
+
If you add pin-heads/jumpers, then you can use them to toggle from serial console (all jumpers to the left, as shown) and UPS support (all to the right). '''Always put the jumpers all to the left or all to the right.''' If you don't you might kill the CPU.  
  
J1 can be used to direclty access the serial console, but it's uses 3.3v TTL levels and you need a seperate level shifter. I added some connectors, as I've a proper level shifter from some oher embedded projects.
+
[[Image:Serial_port_hacked.jpg|serial port, modified]]
  
 +
<small>
 +
J1 can be used to directly access the serial console, but it uses 3.3v TTL levels and you need a separate level shifter. I added some connectors, as I already had a proper level shifter from some other embedded projects. (From memory: Pin1 is <tt>Vcc</tt>, Pin2 is <tt>GND</tt>, Pin3 is <tt>RxD</tt>, Pin4 is <tt>TxD</tt>, but I'd have to check to be sure.)
 +
</small>
  
----
+
With all the jumpers to the left you can now connect your PC to the serial console using a cross-over (null modem) cable. Start your terminal program, configure the serial port to use 57600 8N1, aka:
  
Getting serial access to the system is essential to [[become root]].
+
:Speed: 57600
 +
:Parity: none
 +
:Data Bits: 8
 +
:Stop Bits: 1
 +
:No flow control
  
The crucial information came from [http://www.geocities.jp/trstat/cons_ssh.html#cons TeraStation �?��?��?��?� - シリアルコンソール�?� SSH].
+
If you power on the reassembled TeraStation you can see the [[boot messages]].
  
 +
----
  
--[[User:Bg|Bg]] 13:43, 20 Apr 2005 (CEST)
+
The crucial information came from [http://www.geocities.jp/trstat/cons_ssh.html#cons TeraStation �?��?��?��?� - シリアルコンソール�?� SSH].

Latest revision as of 14:10, 25 March 2011


This page describes the hardware modifications needed to convert the TeraStation (original, not Live or any others) UPS serial port to a console port so that you can see the TeraStation's boot messages.

If opening the TeraStation did not void your warranty, this will. Opening the case probably doesn't void your warranty since the manual for the TeraStation gives detailed instructions on how to replace a drive. However, soldering pin-head/jumpers onto the mainboard is clearly not sanctioned as a necessary end-user activity by the manufacturer.

Enabling the console serial port requires some soldering skills, so practice on a dead mainboard first.

If you add a serial console, it is your own decision and I'm not responsible for any damage. These are just tips on what to do, if you are not sure what I'm talking about, don't try it.


As we can see from the TS Hardware and Software information page, the CPU offers two serial ports. The first one is used for the system console, but it's not accessible from outside the box. The second one is used to communicate with the XXX microcontroller.

But there actually is a serial port on the back of the box. Officially it is used to communicate with the UPS. If we open the TeraStation, there is a serial port in lower back corner:

serial port, unmodified

Close to it is a Sipex3220EE level shifter to convert the 5v (or 3.3v) TTL-levels to RS232.

If we look closely, we see that the three (actually four) pins of the level shifter are connected to middle pin of the three connectors: JP3 (TxD), JP4 (RxD), JP5 (Vcc).

In order to connect the system console we must first remove the three 0Ω resistor (R437, R440, R441) and move them to (R438, R439, R442). Instead of moving them, we could just remove them and add pin-heads/jumpers to allow simple switching.

In any case the Rx line from the CPU will still not be connected. We also have to bridge R76 to connect it. Do not remove R75, it is a 10kΩ pull-down. If you remove it the input line to the CPU will float and feed random junk to it, not what you want.

If you add pin-heads/jumpers, then you can use them to toggle from serial console (all jumpers to the left, as shown) and UPS support (all to the right). Always put the jumpers all to the left or all to the right. If you don't you might kill the CPU.

serial port, modified

J1 can be used to directly access the serial console, but it uses 3.3v TTL levels and you need a separate level shifter. I added some connectors, as I already had a proper level shifter from some other embedded projects. (From memory: Pin1 is Vcc, Pin2 is GND, Pin3 is RxD, Pin4 is TxD, but I'd have to check to be sure.)

With all the jumpers to the left you can now connect your PC to the serial console using a cross-over (null modem) cable. Start your terminal program, configure the serial port to use 57600 8N1, aka:

Speed: 57600
Parity: none
Data Bits: 8
Stop Bits: 1
No flow control

If you power on the reassembled TeraStation you can see the boot messages.


The crucial information came from TeraStation �?��?��?��?� - シリアルコンソール�?� SSH.