General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Dec 12, 2017 4:22 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Update on serial port
PostPosted: Wed Mar 19, 2008 6:50 am 
Offline

Joined: Mon Mar 17, 2008 8:01 pm
Posts: 7
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!


Top
 Profile  
 
PostPosted: Fri Apr 11, 2008 2:29 am 
Offline

Joined: Fri Apr 11, 2008 1:42 am
Posts: 3
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:
change baudrate. 1:38.4k, 2:19.2k, 3:9.6k 4:57.6k 5:115.2k    ATCM

and
Code:
console=ttyS0,115200n8 mem=128M init=/linuxrc


I have no idea if those numbers correspond to serial port baudrates but thought they might.


Top
 Profile  
 
PostPosted: Fri Apr 11, 2008 8:59 am 
Offline

Joined: Thu Mar 06, 2008 12:23 pm
Posts: 58
Location: Vienna
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.


Top
 Profile  
 
PostPosted: Sat Apr 19, 2008 2:03 pm 
Offline

Joined: Fri Apr 11, 2008 1:42 am
Posts: 3
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!


Top
 Profile  
 
PostPosted: Mon Jul 14, 2008 6:34 pm 
Offline

Joined: Sun Jul 06, 2008 10:38 pm
Posts: 6
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:
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


Top
 Profile  
 
PostPosted: Sat Feb 21, 2009 8:04 pm 
Offline

Joined: Sat May 17, 2008 1:08 pm
Posts: 4
Location: Germany
...this is my version ;)

Image


Top
 Profile  
 
PostPosted: Wed Aug 31, 2011 10:44 pm 
Offline

Joined: Mon Aug 29, 2011 8:13 am
Posts: 4
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


Top
 Profile  
 
PostPosted: Thu Sep 01, 2011 11:52 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6086
Should be no problem. It's just 3.3V TTL.

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


Top
 Profile  
 
PostPosted: Thu Sep 01, 2011 12:38 pm 
Offline

Joined: Mon Aug 29, 2011 8:13 am
Posts: 4
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)


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 12:33 pm 
Offline

Joined: Mon Aug 29, 2011 8:13 am
Posts: 4
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!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group