Donnerstag, 23. November 2017, 12:21 UTC+1

Sie sind nicht angemeldet.

  • Anmelden
  • Registrieren

Lieber Besucher, herzlich willkommen bei: NAS Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

1

Freitag, 18. Juni 2010, 11:42

Edimax NS-2505 JTAG Re-program

Hiya.

I've got a problem. I flashed my NS-2505 with the Planex ver 1.3.4 and it failed. I attempted a reprogram via the Serial interface, but like most men manuals are a waste of time. Neglected to do the correct sequence so now its stuffed. -RTFM- The lights flash for a split second and a single beep and the----------------------------------------- nothing.

Ive ordered a whole bunch of components to make a JTAG LPT interface (Cause you can`t buy on here) But im not sure what the procedure is to do this reprogram.

My components arrive on Monday the 21st June. I have in the intetrim soldered an old floppy disk cable in to the pin outs on the PCB (as that small form factor connector is too not avalible

here) I followed the layout from here http://mvixcommunity.com/wiki/WDN-2000_Main_Page .

My attempt of the JTAG is attached there is a slightly different version that involves 2 caps accross 2OE to GND and the Vcc [attach]246[/attach]

Can someone please help me.

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

2

Samstag, 19. Juni 2010, 11:34

Hi,
a simplified version of the circuit would also do the job.
[attach]247[/attach]
Always use more than one GND wire for connecting the NAS and the LPT connector.
Connect unused inputs of the HC244 to GND or VCC.

You would find the JTAG pinout at our forum here.

Regards,
HWguru
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

3

Montag, 21. Juni 2010, 12:01

Saves half the time...

Thanks,


Thats much easier. can i use the redboot for the NAS-4220. not sure if this device is similar.

Think i saw that is was in this forum somewere.


Thanks again...

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

4

Montag, 21. Juni 2010, 13:09

RE: Saves half the time...

Zitat

... can i use the redboot for the NAS-4220. not sure if this device is similar.
no

The NAS4220 hardware is different and the bootloader depends on the hardware.
You could even destroy the board if you use a wrong bootloader.

I am not 100% sure, maybe techman can confirm it, if the MvixBox bootloader is the same.

HWguru
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

5

Montag, 21. Juni 2010, 13:33

Chip

The processor is Storlink SL3516

0804

USQHCJQ-000A2

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

6

Montag, 21. Juni 2010, 13:49

What about this

DN-7024 recovery - where's the serial and JTAG port? (10 pin connector) (10 pin connector)

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

7

Montag, 21. Juni 2010, 13:50

RE: Chip

Zitat

The processor is Storlink SL3516
yes, it is used on many nas mainboards.

The connection if the gpio pins and the other hardware like network chips,... is different.

HWguru
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

8

Montag, 21. Juni 2010, 13:53

looks Identical


shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

9

Dienstag, 22. Juni 2010, 15:48

Help please. Made the Jtag. Keep getting this--

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Testing cabletype 1
JTAG-IDCODE: 0x00000000 - not OK
Expected: 0x00526fa1
Bypass-test: 0x00000000 - not OK
Expected: 0xaaab5554

Testing cabletype 2
JTAG-IDCODE: 0xffffffff - not OK
Expected: 0x00526fa1
Bypass-test: 0xffffffff - not OK
Expected: 0xaaab5554

Error:
- No cable detected
- Testdevice not connected

Some errors detected!

Made both of the above cables. niether one works with the NAS flashtool. Do i need to bridge something to test?

Thanks in advance.

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

10

Dienstag, 22. Juni 2010, 15:58

Hi,
do you know the Wiki article?
There you find some hints for bugfixing...

If you have built the "Type 1" adapter I see from the output that you always get 0 (= 0V).
Is VCC and GND connected properly and the NAS switched on?

HWguru.

Note: you should use the "code" button for posting logs.
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

11

Mittwoch, 23. Juni 2010, 12:01

Fixed

Fixed. 8o But now it tells me i have a "Short Detected". But i havent shorted anything. ?(

Without the nas I get

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
Testing cabletype 1
JTAG-IDCODE: 0x00000000  - not OK
  Expected: 0x00526fa1
Bypass-test: 0x5555aaaa  - not OK
  Expected: 0xaaab5554
Testing cabletype 2
JTAG-IDCODE: 0xffffffff  - not OK
  Expected: 0x00526fa1
Bypass-test: 0xffffffff  - not OK
  Expected: 0xaaab5554
Cable type 1 detected.
Short plug detected.


Plug the nas in and it gives me a whole bunch of diffenrent readings then it stops with

Quellcode

1
2
3
4
5
Testing cabletype 1 
JTAG-IDCODE: 0x00000000 - not OK 
Expected: 0x00526fa1 
Bypass-test: 0x0000001e - not OK 
Expected: 0xaaab5554


I`ve checked my earths. I could be my cable is just over 15cm.

Not too sure ?(

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »shaunl« (23. Juni 2010, 12:24)


HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

12

Mittwoch, 23. Juni 2010, 12:52

Cable type 1 detected. Short plug detected.
means that the signal sent through TDO is received on TDI.

We call this "shortplug test"

The tool sends a testpattern on TDO and listens on the two possible TDI pins. This is how we find the cable type you are using.

Quellcode

1
2
Bypass-test: 0x5555aaaa  - not OK
  Expected: 0xaaab5554


We send a 0x5555aaaa pattern.
If TDO/TDI is connected with a wire we receive 0x5555aaaa --> short plug
If there is the CPU between we should receive 0xaaab5554 because the pattern is shifted one bit.

Something must be wrong with your adapter or cabling. Around 15cm cable length should be ok.

Take a Led with some series resistor (some value around 1k Ohm) and run the "LED Test".

HWguru
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

13

Mittwoch, 23. Juni 2010, 15:43

Debug mode

K. got it working :thumbsup: . It says

Quellcode

1
the device is not in debug mode


it only has 10 pins. must i bridge VCC and pin 2 DBREQ ?(

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

14

Mittwoch, 23. Juni 2010, 17:54

must i bridge VCC and pin 2 DBREQ
of course, as written in the guide you have to activate the "debug mode".

What has been wrong with your setup?

HWguru
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

15

Donnerstag, 24. Juni 2010, 08:55

LED Test

:thumbup: Thanks for all the help so far.

Tested with the led. Pin outs were all messed (Prob because of the IC 74HC244n). Will post up the diagram.

Got another prob. Ive used the open Gemini Bootloader image. It works perfectly. 8o

But now I need a kernel, Ramdisk, and app for the NS-2505 and Planex NAS-02SG or WDN-2000

Any Ideas where i can get that?

shaunl

Anfänger

Beiträge: 10

Wohnort: South Africa

16

Donnerstag, 24. Juni 2010, 15:59

Fixed

:thumbsup: All is well. Finished the flash. All i needed to do was install the gemini bootloader and flash the Kernal with the Edimax 0.74 bin file.

Thanks for all of your help. :worthy:



PS. I did however in the interim buy a Dlink DNS-323 (Far better product)
»shaunl« hat folgende Dateien angehängt:
  • Image0029.jpg (190,95 kB - 40 mal heruntergeladen - zuletzt: 8. November 2016, 13:35)
  • Image0030.jpg (182,46 kB - 18 mal heruntergeladen - zuletzt: 7. September 2016, 11:43)
  • Image0031.jpg (196,94 kB - 26 mal heruntergeladen - zuletzt: 7. September 2016, 11:43)

HWguru

NAS2000-Team

Beiträge: 1 001

Wohnort: Wien

17

Donnerstag, 24. Juni 2010, 21:54

Congratulations!

You made a nice three dimensional work :thumbup:

Thx for the pictures and your feedback,
HWguru

solved --> :closed:
Leute ohne Laster haben oft wenige Tugenden...
NAS2000 2.3.2.IB.2.RS.1+Lüfterabschaltung+SSH+do_it+zusätzliche commandline tools+changed root password
1. suchen - lesen - Google - lesen - 1. Fragen gehören ins Forum, dann profitieren alle davon!