Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Nov 25, 2014 1:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sun Oct 21, 2007 10:33 pm 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
This is because the original DLC-5 cable does not have TRST and the software drives all the unused pins low. What exactly type of cable do you have? It appears to be a Wiggler cable. That one does have a TRST pin. You can try to give the option /wiggler on the command line. Please note that each cable is different having the pins connected to different parallel port pins. In most cases, there is no way for the software to identify the cable so you have to tell it what type of cable you have. Also, not not all cables are supported by all programs.

Please also note that that -backup:cfe will not work as it is intended for the original WRT45G.

To read the bootloader into a file:
Code:
./debrick -backup:custom /nodma /flash8 /window:bfc00000 /start:bfc00000 /length:40000 /file:ls2_mtd0.bin
To write the bootloader:
Code:
./debrick -flash:custom /nodma /flash8 /window:bfc00000 /start:bfc00000 /length:40000 /file:ls2_mtd0.bin /silent

If you want to read or write other parts of the flash you need to change only the /start and /length parameters. Leave /window alone as it is the flash physical address. All numbers are hex.


Top
 Profile  
 
PostPosted: Mon Oct 22, 2007 12:42 am 
Offline
Newbie
User avatar

Joined: Wed Oct 03, 2007 2:17 am
Posts: 16
I got this one http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&rd=1&item=190159290827&ssPageName=STRK:MEWN:IT&ih=009

I have tried your command lines with and without PIN 1 connected and with and without the "/wiggler"...

Only "1"s... :(


Top
 Profile  
 
PostPosted: Mon Oct 22, 2007 8:19 am 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
The cable is a Wiggler type cable so the switch /wiggler must be given on the command line. As I don't have a Wiggler myself, I can't test that part of the code. However, the eBay entry has all the information about the cable and I will look at the code tonight to see if there is any obvious bug in the Wiggler driver.

Update:

Mystery solved: The cable is functionally equivalent to the Wiggler cable. This means that it has the same signals but, unfortunately, they are driven by different parallel port pins. The debrick utility doesn't know anything about this cable so it will not work with it in its present form. The cable is manufactured by the Canadian company SOC Machines http://www.soc-machines.com.

I am still puzzled by your statement that openwince works with TRST not connected. In my view, it shouldn't work because the EJTAG interface is kept in a reset state by the pull-down resistor connected between the pin 1 of the EJTAG connector and ground. Could you, please, do two things:
  1. post here the output of openwince showing the processor identification sequence
  2. measure the voltage on pin 1 and post the result
Please note that above I have used the term EJTAG and not JTAG. The IDT RC32434 processor used in the LS2 has both. In fact, they share all pins with the exception of TCK. Buffalo chose not to make available the JTAG clock pin so JTAG cannot be used.


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 9:04 pm 
Offline
Newbie
User avatar

Joined: Wed Oct 03, 2007 2:17 am
Posts: 16
This is the output of openwince with TRST disconnected and the lp module present
(I created the necessary files described in the WIKI)

Code:
IR length: 5
Chain length: 1
Device Id: 00000000001000010111000001100111
  Manufacturer: IDT
  Part:         79RC32434
  Stepping:     LS2
  Filename:     /usr/share/jtag/idt/79RC32434/mips


To get this output I have to give Openwince

Code:
cable parallel 0x378 WIGGLER
detect



As far as my generic voltmeter can measure PIN 1 against PIN 2 measures something close to 1,75 Volts

I have then tried to give Openwince some more commands which should print info, I dont know whether they help

Code:
jtag> discovery
Detecting IR length ... 5
Detecting DR length for IR 11111 ... 1
Detecting DR length for IR 00000 ... 1
Detecting DR length for IR 00001 ... 32
Detecting DR length for IR 00010 ... 1
Detecting DR length for IR 00011 ... 32
Detecting DR length for IR 00100 ... 1
Detecting DR length for IR 00101 ... 1
Detecting DR length for IR 00110 ... 1
Detecting DR length for IR 00111 ... 1
Detecting DR length for IR 01000 ... 32
Detecting DR length for IR 01001 ... 32
Detecting DR length for IR 01010 ... 32
Detecting DR length for IR 01011 ... 96
Detecting DR length for IR 01100 ... 1
Detecting DR length for IR 01101 ... 1
Detecting DR length for IR 01110 ... 33
Detecting DR length for IR 01111 ... 1
Detecting DR length for IR 10000 ... 1
Detecting DR length for IR 10001 ... 1
Detecting DR length for IR 10010 ... 1
Detecting DR length for IR 10011 ... 1
Detecting DR length for IR 10100 ... 1
Detecting DR length for IR 10101 ... 1
Detecting DR length for IR 10110 ... 1
Detecting DR length for IR 10111 ... 1
Detecting DR length for IR 11000 ... 1
Detecting DR length for IR 11001 ... 1
Detecting DR length for IR 11010 ... 1
Detecting DR length for IR 11011 ... 1
Detecting DR length for IR 11100 ... 1
Detecting DR length for IR 11101 ... 1
Detecting DR length for IR 11110 ... 1
jtag> detectflash
Error: Bus driver missing.
jtag> print
 No. Manufacturer              Part                 Stepping Instruction          Register 
---------------------------------------------------------------------------------------------
   0 IDT                       79RC32434            LS2      BYPASS               BR       
jtag> dr
0
jtag>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group