giovedì, 23 novembre 2017, 12:21 UTC+1

Non risulti loggato.

  • Login
  • Registrazione

Gentile visitatore,
Benvenuto su NAS Forum. Se questa è la tua prima visita, ti chiediamo di leggere la sezione Aiuto. Questa guida ti spiegherà il funzionamento di questa pagina. Prima di poter utilizzare tutte le funzioni di questo software dovrai registrarti. Usa la form di registrazione per registrarti adesso, oppure visualizza maggiori informazioni sul processo di registrazione. Se sei già un utente registrato, allora dovrai solamente procedere con il login da qui.

shaunl

Principiante

Posts: 10

Località: South Africa

1

venerdì, 18 giugno 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

Posts: 1.001

Località: Wien

2

sabato, 19 giugno 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

Principiante

Posts: 10

Località: South Africa

3

lunedì, 21 giugno 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

Posts: 1.001

Località: Wien

4

lunedì, 21 giugno 2010, 13:09

RE: Saves half the time...

Citato

... 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

Principiante

Posts: 10

Località: South Africa

5

lunedì, 21 giugno 2010, 13:33

Chip

The processor is Storlink SL3516

0804

USQHCJQ-000A2

shaunl

Principiante

Posts: 10

Località: South Africa

6

lunedì, 21 giugno 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

Posts: 1.001

Località: Wien

7

lunedì, 21 giugno 2010, 13:50

RE: Chip

Citato

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

Principiante

Posts: 10

Località: South Africa

8

lunedì, 21 giugno 2010, 13:53

looks Identical


shaunl

Principiante

Posts: 10

Località: South Africa

9

martedì, 22 giugno 2010, 15:48

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

Codice sorgente

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

Posts: 1.001

Località: Wien

10

martedì, 22 giugno 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

Principiante

Posts: 10

Località: South Africa

11

mercoledì, 23 giugno 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

Codice sorgente

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

Codice sorgente

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 ?(

Questo post è stato modificato 1 volta(e), ultima modifica di "shaunl" (23/06/2010, 12:24)


HWguru

NAS2000-Team

Posts: 1.001

Località: Wien

12

mercoledì, 23 giugno 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.

Codice sorgente

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

Principiante

Posts: 10

Località: South Africa

13

mercoledì, 23 giugno 2010, 15:43

Debug mode

K. got it working :thumbsup: . It says

Codice sorgente

1
the device is not in debug mode


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

HWguru

NAS2000-Team

Posts: 1.001

Località: Wien

14

mercoledì, 23 giugno 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

Principiante

Posts: 10

Località: South Africa

15

giovedì, 24 giugno 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

Principiante

Posts: 10

Località: South Africa

16

giovedì, 24 giugno 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 ha allegato i seguenti files:
  • Image0029.jpg (190,95 kB - Il file è stato scaricato 40 volte - Ultimo download: 08/11/2016, 13:35)
  • Image0030.jpg (182,46 kB - Il file è stato scaricato 18 volte - Ultimo download: 07/09/2016, 11:43)
  • Image0031.jpg (196,94 kB - Il file è stato scaricato 26 volte - Ultimo download: 07/09/2016, 11:43)

HWguru

NAS2000-Team

Posts: 1.001

Località: Wien

17

giovedì, 24 giugno 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!