Difference between revisions of "Terastation Serial console"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
If opening the TeraStation did not void your warenty, this will.
 +
 +
It requires some soldering skills, so practice on a dead mainboard first.
 +
 +
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.
 +
 +
----
 +
 
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.
 
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.
  
Line 13: Line 21:
 
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.
 
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.
  
Removing the SMD resistors already is a pain, so I decided to add three pin-heads/jumper.
+
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.  
  
 
[[Image:Serial_port_hacked.jpg]]
 
[[Image:Serial_port_hacked.jpg]]
Line 25: Line 33:
  
 
The crucial information came from [http://www.geocities.jp/trstat/cons_ssh.html#cons TeraStation �?��?��?��?� - シリアルコンソール�?� SSH].
 
The crucial information came from [http://www.geocities.jp/trstat/cons_ssh.html#cons TeraStation �?��?��?��?� - シリアルコンソール�?� SSH].
 +
 +
 +
--[[User:Bg|Bg]] 13:43, 20 Apr 2005 (CEST)

Revision as of 11:43, 20 April 2005

If opening the TeraStation did not void your warenty, this will.

It requires some soldering skills, so practice on a dead mainboard first.

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.


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.

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:

Serial port orig.jpg

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).

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.

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.

Serial port hacked.jpg

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.



Getting serial access to the system is essential to become root.

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


--Bg 13:43, 20 Apr 2005 (CEST)