Terastation Serial console

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 17:53, 27 April 2005 by Bg (Talk | contribs) (added serial port settings)

Jump to: navigation, search

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 decision 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:

seriel 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 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). 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 serial 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, modified

J1 can be used to direclty access the serial console, but it uses 3.3v TTL levels and you need a seperate level shifter. I added some connectors, as I already had a proper level shifter from some oher embedded projects.

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

Speed: 56700
Parity: none
Data Bits: 8
Stop Bits: 1
no flow control

if you power on the, reassemblied, terastation you can see the boot messages.

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

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