NSA-310 TDC firmware

Marvell Kirkwood based
Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Fri Jun 22, 2012 1:06 pm

How do I read data (log from nsa310) from serial port with FTDI USB chip?
And can I use it to somehow change the firmware or upgrade with it?

I have USB to TTL-232R, but don't know what I can use it for and how..

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

Re: NSA-310 TDC firmware

Post by Mijzelf » Sat Jun 23, 2012 9:03 am

AFAIK all recent ZyXEL devices have the same 4-minus-1 pin serial interface. Here you can find some information about how to use it.

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Sat Jun 23, 2012 9:25 am

Mijzelf wrote:AFAIK all recent ZyXEL devices have the same 4-minus-1 pin serial interface. Here you can find some information about how to use it.
I have seen that, but it only tells me how to change the pins of the cable, not how to read data and maybe flash a new firmware.
I have TTL-232R built from a FTDI PCB and ready to use.. But if it is possible to flash firmware with it, what application do I use for it?

Code: Select all


U-Boot 1.1.4 (Oct 14 2009 - 20:21:21) Marvell version: 3.4.19

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:No NAND device found!!!
0 MB

That is the only thing I get from serial.. Is NSA dead or ???

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

Re: NSA-310 TDC firmware

Post by Mijzelf » Sat Jun 23, 2012 3:52 pm

No, it's not dead. You see a perfectly working bootloader in action. Yet I don't know what goes wrong. NAND:No NAND device found!!! literally means that no flashrom is found, but the bootloader itself is also on the same flashrom, so it just works.
Maybe it means that the kernel is not found where expected. (What is the history of this box, did you have a bad flash?)

In most cases it's possible to reflash from a working bootloader. Depends on the bootloader capabilities. But it can be hard to find out what should be flashed where. If you flash on the wrong place you could destroy the bootloader, and then the box is really dead. (Well, maybe there is a JTAG somewhere, in that case you could recover the bootloader, but seeing your questions I assume that's beyond your skills)

I suggest you to install Debian, as you're already halfway, and you can boot in Debian without need for flashing.

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Sat Jun 23, 2012 6:23 pm

History: It is TDC HomeDisk.. I had no access to it and tried to flash original firmware without success. And then I flashed it with USB UpgradeKey found in the source files here. Then I tried to flash original firmware with your universal usb_func and it didn't read the USB.
Then I tried with original UpgradeKey again and it didn't want to work.
I was always flashing in the blind, watching the lights etc. cause I do not have access to the webGUI at all.

So I found this TTL and wanted to see what is going on, and found out that there is no NAND.

Now the unit does not boot as before and I can not reset or power down like I could before.
I think that I somehow killed it, cause all lights are on in RED and 1 blue (power) and HDD spins. No buttons work..

Maybe I should just throw it in the garbage :)

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

Re: NSA-310 TDC firmware

Post by Mijzelf » Sat Jun 23, 2012 8:33 pm

Ah, so it's perfectly possible that you had a bad flash.
Pokeras wrote:I think that I somehow killed it, cause all lights are on in RED and 1 blue (power) and HDD spins. No buttons work..
That is to be expected. All those stuff is steered by the Linux kernel, and you've got only the bootloader left.
Pokeras wrote:Maybe I should just throw it in the garbage
Noooo! The bootloader is still alive. Have you read the Debian instructions? The only thing used from the firmware is the bootloader!

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Sun Jun 24, 2012 3:03 am

I red the info about debian, but it is too long and linux is not my strongest side.
I tought that it would be more simple to recover it or flash an other image to it, but it is not.

I was ready to throw it away anyway, but found this topic and it seemed easy enough.

Thanx for all your help Mijzelf.

webzi
Posts: 15
Joined: Wed Mar 30, 2011 2:32 pm

Re: NSA-310 TDC firmware

Post by webzi » Thu Jun 28, 2012 9:29 pm

Don't throw it away.

I just got a bill from TDC, because i didnt return it, to them haha :-D

holantomas
Posts: 1
Joined: Fri Feb 28, 2014 2:44 am

Re: NSA-310 TDC firmware

Post by holantomas » Fri Feb 28, 2014 5:08 am

Hi,
I used this method for flash debian beacause I missed some function. Now my friend tell about new firmware update which now support my missed features and functions. Is here some method to flash original firmware by method like I flashed debian? I don't have TTL to USB.

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

Re: NSA-310 TDC firmware

Post by Mijzelf » Fri Feb 28, 2014 3:19 pm

Recovery mode

I created recovery.sh script which will reset uboot to previous state. Please rename recovery.bak to recovery and reset NAS
After booting and setting uboot it will halt. It's good moment to unplug pendrive, otherwise it will install Linux again.
I guess the recovery won't work automatically when the box boots in Debian, but you should be able to call usb_key_func.sh manually.

Doky
Posts: 13
Joined: Thu Mar 20, 2014 6:28 pm

Re: NSA-310 TDC firmware

Post by Doky » Thu Mar 20, 2014 6:55 pm

Hi i need help :)
I have NSA310 TDC Firmwire...
Original NSA310 firmwire how upgrade?

Video:
http://www.youtube.com/watch?v=s8LMJpVY ... e=youtu.be

kotofei
Posts: 2
Joined: Fri Feb 23, 2018 7:27 am

Re: NSA-310 TDC firmware

Post by kotofei » Fri Feb 23, 2018 7:41 am

Is there actual/2018 y. step-by-step how to instruction for reverting TDC to generic zyxel nsa 310 fw ? Thanx ahead.
Is it possible to determine TDC fw version without JTAG connection?

PS will buy usb-ttl adapter next week

kotofei
Posts: 2
Joined: Fri Feb 23, 2018 7:27 am

Re: NSA-310 TDC firmware

Post by kotofei » Mon Feb 26, 2018 2:55 pm

How to:
1) telnet via telnet backdoor
2) change ID to generic zyxel NSA-310 ID: A203: /zyxel/sbin/mrd_model -s A203
3) write fw NSA310_V4.70(AFK.3)C0 via booting from ffp flash (FAT-16)
4) change login/pwd via zyxel starter utility (actually, there is no need of this starter utility at all)
5) install clean HDD. There is no need for specially cooked HDD
that`s it

PS USB-TTL adapter was NOT used

Post Reply