Update on serial port

Marvell Orion based
Post Reply
Mathuin
Posts: 7
Joined: Mon Mar 17, 2008 8:01 pm

Update on serial port

Post by Mathuin » Wed Mar 19, 2008 6:50 am

I updated the field report wiki page to include my observations about the serial port on the device. If anyone has any more information, please don't hesitate to add it -- I want to unbrick my box!

jds580s
Posts: 3
Joined: Fri Apr 11, 2008 1:42 am

Re: Update on serial port

Post by jds580s » Fri Apr 11, 2008 2:29 am

I just received my NSA-220 and I'm not much at figuring this stuff out, but just wanted to share what I have found in case it helps the process along.

Looking through the 2.20 firmware .bin file I came across this info:

Code: Select all

change baudrate. 1:38.4k, 2:19.2k, 3:9.6k 4:57.6k 5:115.2k    ATCM
and

Code: Select all

console=ttyS0,115200n8 mem=128M init=/linuxrc
I have no idea if those numbers correspond to serial port baudrates but thought they might.

mindbender
Posts: 58
Joined: Thu Mar 06, 2008 12:23 pm
Location: Vienna
Contact:

Re: Update on serial port

Post by mindbender » Fri Apr 11, 2008 8:59 am

i am quite sure this is the right baudrate.

the only thing needed to actually access serial is a special cable that translates the 3.3V signal to a 5V one.

take a look at
http://nas-central.org/index.php/Genera ... _mandatory

i added some links about which cables (most are usb phonesync cables) can be used for that purpose.

jds580s
Posts: 3
Joined: Fri Apr 11, 2008 1:42 am

Re: Update on serial port

Post by jds580s » Sat Apr 19, 2008 2:03 pm

OK, I received a pair of MAX3232 chips this week and before putting a cable together I wanted to make sure I was working off of the correct diagram since this is the first time through this.

I found this cable diagram
which is for an NSLU2 cable but it seems to be the same issue 3.3v on the board through a MAX3232 chip out to 12v serial
Image

and additional diagram here:
http://www.bwalle.de/docs/nslu2-rs232.pdf

And a step by step here:
http://oinkzwurgl.org/diskstation_rs232

Am I correct in thinking those should that put me on the right track?

I suppose while I'm at it, a basic parts list would be a great help too.

Thanks!

shb
Posts: 6
Joined: Sun Jul 06, 2008 10:38 pm

Re: Update on serial port

Post by shb » Mon Jul 14, 2008 6:34 pm

I used a Max232 IC for my converter.

I get the 5V from a 7805 IC with 9V battery connected.
I guess you should add some capacitors to the voltage regulator but mine works just fine without...

Code: Select all

9v in---[7805]----5v out
           |
  gnd______|______gnd
Remember that all ground wires has to be connected to each other. I once saw one of my former friends only connect ground from the dsub9 connector and not the ground from the source.

Image

Everything works perfectly with firmware v2.20(AFB.0)
115200bps, 8 data bits, none parity, 1 stop bit and no flow control


Image

localhorst24
Posts: 4
Joined: Sat May 17, 2008 1:08 pm
Location: Germany

Re: Update on serial port

Post by localhorst24 » Sat Feb 21, 2009 8:04 pm

...this is my version ;)

Image

Ingramz
Posts: 4
Joined: Mon Aug 29, 2011 8:13 am

Re: Update on serial port

Post by Ingramz » Wed Aug 31, 2011 10:44 pm

Excuse the immense bump but would it be possible to use one of the stripped nokia data cables with the NSA-220 like shown here? http://buffalo.nas-central.org/index.ph ... inkstation

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: Update on serial port

Post by Mijzelf » Thu Sep 01, 2011 11:52 am

Should be no problem. It's just 3.3V TTL.

BTW, I use a FTDI TTL-232R-3V3

Ingramz
Posts: 4
Joined: Mon Aug 29, 2011 8:13 am

Re: Update on serial port

Post by Ingramz » Thu Sep 01, 2011 12:38 pm

Ok, cool. I should have some cd drive audio cables which had those 4 pin connectors. If the statement on FieldReport is correct that the upper voltage pin does not need to be connected then for instance building one out of a nokia datacable and that cd audio cable would cost only about 2€ at max (compared to a 20€ cable, that is probably worth its build quality)

Ingramz
Posts: 4
Joined: Mon Aug 29, 2011 8:13 am

Re: Update on serial port

Post by Ingramz » Wed Sep 14, 2011 12:33 pm

Found my DKU-5 cable from my mailbox. After snipping the nokia port off from the cable I realized that instead of 5 wires there were only 3 like on that tutorial CA-42 had. Despite that those 3 cables are txd rxd and ground. The CD audio cable seems to be the perfect candidate for making this cable (at least when using it with NSA-220). You can cut off the black ground cable from it and use it as a guide to plug it in. Also it looks like those ebay cables have different sort of wiring color combos, so identifying is needed, but it was not too difficult if you check the wiki pictures. When lacking soldering tools, you can twist together the wires and use electrical tape to keep them together (maybe even do this before you start soldering, just in case!)

Post Reply