Welcome! Log In Create A New Profile

Advanced

NAS326 serial

Posted by Kwekkel 
NAS326 serial
November 21, 2019 05:34AM
Hello,

I would like to get going with Dabian on my NAS326.
Unfortunately, I do not get it completely regarding the serial connection.
In my understanding there is already a header for serial on the mainboard.

Where is it located? Do I have to dismantle the box?
Maybe some pics?

I've already ordered a serial TTl to USB converter.

Thanks.
Re: NAS326 serial
November 21, 2019 05:24PM
Kwekkel,

> Unfortunately, I do not get it completely
> regarding the serial connection.
> In my understanding there is already a header for
> serial on the mainboard.

Yes. You will need to open the case only, no other mods needed. And it will obvious where the header is, it is factory installed.

Let me see if I can find if I have pics (it's been a long time). I will post the pintouts.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: NAS326 serial
November 21, 2019 05:40PM
I've added Note D.2 in the installation instruction to describe serial console pinouts.


D.2. NAS326 Serial console pinouts 


          +----+----+           
          |    |    |
+----+----+----+----+----+
|3.3V| TX | RX |    | GND|
+----+----+----+    +----+

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 11/21/2019 05:41PM by bodhi.
Re: NAS326 serial
November 22, 2019 01:18AM
I've added Note D.3 in the installation instruction to mention that the serial console header picture is attached to the post.



Quote

D.3. NAS325 Serial console header Pic

The Zyxel NAS326 and the NSA325 serial header pinouts and locations are identical on these boards. I've attached the NSA2325 board pic to this post here to show the header location. If anybody has a better pic for NAS326 please post.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: NAS326 serial
November 24, 2019 09:26AM
Hello,

Thank you for your response.

The serial header is was easy to find.
Connected a cp2102 uart. Unfortunately the box then won't boot. It just switches on and hangs.
Only connected rxd, txd,gnd. Whenn pulling off the wires the box boots.

Any ideas?



Edited 1 time(s). Last edit at 11/24/2019 01:36PM by Kwekkel.
Re: NAS326 serial
November 24, 2019 04:25PM
Kwekkel,

> The serial header is was easy to find.
> Connected a cp2102 uart. Unfortunately the box
> then won't boot. It just switches on and hangs.
> Only connected rxd, txd,gnd. Whenn pulling off the
> wires the box boots.
>
> Any ideas?

This is the expected behavior when you have serial console connected, as I mentioned in the installation instruction. The box BootROM senses there is a serial connection so it waits for incoming data. This behavior is particular for this box only (in general, for all boxes, it should be OK to leave seria console connected)

So when serial console is connected and live, we have to nudge it pass the BootROM and make it timeout:

A2. Installation 


1. Start kwboot on the serial console host 

For ARM32 kwboot: 
./kwboot -t -B 115200 /dev/ttyUSB0 -d

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: NAS326 serial
November 25, 2019 01:25PM
Thanks.

Tried this, waited 5 mins but still hanging.
I get more and more the feeling i've got either a defective or i've purcased a wrong uart.

When powering up the nas i do not see any acivity on the rxd/txd leds on the uart. Neither can I stop kwboot with ctrl+c.
Without USB connected , i see activity on the rxd led for a few seconds.

Now I am very in doubt if I have the correct uart.
Re: NAS326 serial
November 25, 2019 04:50PM
Kwekkel,

> When powering up the nas i do not see any acivity
> on the rxd/txd leds on the uart. Neither can I
> stop kwboot with ctrl+c.

It is Ctrl \ C (control backslash c) to exit kwboot.

> Without USB connected , i see activity on the rxd
> led for a few seconds.
>
> Now I am very in doubt if I have the correct uart.

What chip is in the module you have? and did you try to swap TX and RX wires?

Some CP2xxx module have the TX/RX already swapped. So you would need to connect its TX to the box TX, its RX to the box RX.

For all PL3xxx models we need to connect its TX to the box RX, and its RX to the box TX.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: NAS326 serial
November 29, 2019 09:12AM
Hi Bodhi,

Success! purchased a PL2303 and working now.
Text on the terminal was a little rubbish but a shorter usb cable fixed this problem.

Many thanks for your kind support! Perfekt!
Re: NAS326 serial
November 29, 2019 05:02PM
Kwekkel,

Cool! always happy to hear a success story :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: