wrt55agv2
-
- Junior Member
- Posts: 246
- Joined: Thu Jun 28, 2007 8:49 pm
wrt55agv2
Cannot detect flash on this target. This flash is already defined in the flash.xml
CPU: Atheros AR5312a mips ejtag
Flash: MX29LV320B
USB JTAG NT 0.57
Target: WRT55AGv2
-detect
IDCODE 00000001
Atheros
IMPCODE 40404000
EJTAG V1, V2.0
DMA not supoorted
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 1000,014f[\quote]
(should get 0xC2 0x22A8 according to datasheet)
Test name : WRT55AGv2
Test DLL :
IRLength : 5
Endian : Big
CFE Flash=unknown
<Test>
<Name>WRT55AGv2</Name>
<Cat>Router</Cat>
<Protocol>EJTAG</Protocol>
<Endian>Big</Endian>
<IRLength>5</IRLength>
<DMA>No</DMA>
<ProbTrap>1</ProbTrap>
<Programram>0x80100000</Programram>
<Memorys>
<Memory>
<Name>Ram</Name>
<Type>0</Type>
<Address>0x80000000</Address>
<Size>0x400000</Size>
</Memory>
<Memory>
<Name>CFE</Name>
<Type>1</Type>
<Address>0x1FC00000</Address>
<Size>0x400000</Size>
</Memory>
</Memorys>
</Test>
http://www.dd-wrt.com/phpBB2/viewtopic. ... &start=465
https://dev.openwrt.org/browser/tags/ka ... h?rev=7871
Any ideas?
CPU: Atheros AR5312a mips ejtag
Flash: MX29LV320B
USB JTAG NT 0.57
Target: WRT55AGv2
-detect
IDCODE 00000001
Atheros
IMPCODE 40404000
EJTAG V1, V2.0
DMA not supoorted
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 1000,014f[\quote]
(should get 0xC2 0x22A8 according to datasheet)
Test name : WRT55AGv2
Test DLL :
IRLength : 5
Endian : Big
CFE Flash=unknown
<Test>
<Name>WRT55AGv2</Name>
<Cat>Router</Cat>
<Protocol>EJTAG</Protocol>
<Endian>Big</Endian>
<IRLength>5</IRLength>
<DMA>No</DMA>
<ProbTrap>1</ProbTrap>
<Programram>0x80100000</Programram>
<Memorys>
<Memory>
<Name>Ram</Name>
<Type>0</Type>
<Address>0x80000000</Address>
<Size>0x400000</Size>
</Memory>
<Memory>
<Name>CFE</Name>
<Type>1</Type>
<Address>0x1FC00000</Address>
<Size>0x400000</Size>
</Memory>
</Memorys>
</Test>
http://www.dd-wrt.com/phpBB2/viewtopic. ... &start=465
https://dev.openwrt.org/browser/tags/ka ... h?rev=7871
Any ideas?
-
- Junior Member
- Posts: 5011
- Joined: Sat Dec 27, 2008 3:25 pm
Looks like you have all the information needed to create an XML for that Target.merkin wrote:@usbbdm
There seems to be no reason USBJTAGNT cannot detect flash?
Working fine with tjtag and dlc5 cable.
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."
-
- Junior Member
- Posts: 8973
- Joined: Mon Jul 18, 2005 9:33 pm
Could be one of the two reason.merkin wrote:@usbbdm
There seems to be no reason USBJTAGNT cannot detect flash?
Working fine with tjtag and dlc5 cable.
1. The XML file is not right.
2. Small adjustment of software needed for the CPU. Not the flash
So far it is not cleared to me which is the case. I need to do some study before I can not
say for sure. Which XML template you copied from?
Can you try one of the two?
1.enter debug on mode and detect again.
2.enter trap on mode and try again.
3. Try lower JTAG clock.
from your tjtag experience, looks there is a init sequence needed for XML.
-
- Junior Member
- Posts: 8973
- Joined: Mon Jul 18, 2005 9:33 pm
If you want I can take a look remotely tonight and see if we can fix it that way.merkin wrote:Cannot detect flash on this target. This flash is already defined in the flash.xml
CPU: Atheros AR5312a mips ejtag
Flash: MX29LV320B
USB JTAG NT 0.57
Target: WRT55AGv2
-detect
IDCODE 00000001
Atheros
IMPCODE 40404000
EJTAG V1, V2.0
DMA not supoorted
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 1000,014f[\quote]
(should get 0xC2 0x22A8 according to datasheet)
Test name : WRT55AGv2
Test DLL :
IRLength : 5
Endian : Big
CFE Flash=unknown
<Test>
<Name>WRT55AGv2</Name>
<Cat>Router</Cat>
<Protocol>EJTAG</Protocol>
<Endian>Big</Endian>
<IRLength>5</IRLength>
<DMA>No</DMA>
<ProbTrap>1</ProbTrap>
<Programram>0x80100000</Programram>
<Memorys>
<Memory>
<Name>Ram</Name>
<Type>0</Type>
<Address>0x80000000</Address>
<Size>0x400000</Size>
</Memory>
<Memory>
<Name>CFE</Name>
<Type>1</Type>
<Address>0x1FC00000</Address>
<Size>0x400000</Size>
</Memory>
</Memorys>
</Test>
http://www.dd-wrt.com/phpBB2/viewtopic. ... &start=465
https://dev.openwrt.org/browser/tags/ka ... h?rev=7871
Any ideas?
-
- Junior Member
- Posts: 246
- Joined: Thu Jun 28, 2007 8:49 pm
Sure I will meet you in chat tonight...what time?
I already tried "debug on", "trap on" and "fullpracc 1" modes and slower speed before I ask for help. Nothing detects flash.
It must be memory init in the target xml. I made the target xml myself, but I do not know how to add correct inits. Perhaps you can show example for everyone to learn.
Here is tjtag source http://sourceforge.net/projects/tjtag/f ... 0.2-Final/
I already tried "debug on", "trap on" and "fullpracc 1" modes and slower speed before I ask for help. Nothing detects flash.
It must be memory init in the target xml. I made the target xml myself, but I do not know how to add correct inits. Perhaps you can show example for everyone to learn.
Here is tjtag source http://sourceforge.net/projects/tjtag/f ... 0.2-Final/
-
- Junior Member
- Posts: 8973
- Joined: Mon Jul 18, 2005 9:33 pm
No that is not source code.merkin wrote:Sure I will meet you in chat tonight...what time?
I already tried "debug on", "trap on" and "fullpracc 1" modes and slower speed before I ask for help. Nothing detects flash.
It must be memory init in the target xml. I made the target xml myself, but I do not know how to add correct inits. Perhaps you can show example for everyone to learn.
Here is tjtag source http://sourceforge.net/projects/tjtag/f ... 0.2-Final/
-
- Junior Member
- Posts: 246
- Joined: Thu Jun 28, 2007 8:49 pm
Source is included in this "tjtag" version
http://sourceforge.net/projects/tjtag/f ... urce=files
Also this "zjtag" includes source (same author as tjtag)
http://sourceforge.net/projects/zjtag/? ... ecommended
But I think openwrt firmware has good documentation for ar5312.
https://dev.openwrt.org/browser/tags/ka ... order=name
Apparently you were already offered donation with this cpu.
viewtopic.php?t=6345
Here are two interesting posts about inits for other apps
http://www.dd-wrt.com/phpBB2/viewtopic. ... 86c07c56f8
http://sourceforge.net/mailarchive/foru ... evelopment
Do you still want to try teamviewer?
http://sourceforge.net/projects/tjtag/f ... urce=files
Also this "zjtag" includes source (same author as tjtag)
http://sourceforge.net/projects/zjtag/? ... ecommended
But I think openwrt firmware has good documentation for ar5312.
https://dev.openwrt.org/browser/tags/ka ... order=name
Apparently you were already offered donation with this cpu.
viewtopic.php?t=6345
Here are two interesting posts about inits for other apps
http://www.dd-wrt.com/phpBB2/viewtopic. ... 86c07c56f8
http://sourceforge.net/mailarchive/foru ... evelopment
Do you still want to try teamviewer?
-
- Junior Member
- Posts: 8973
- Joined: Mon Jul 18, 2005 9:33 pm
Why not open AR430W and copy these lines?
<Inits>
<Init>
<Address>0xBC003000</Address>
<Value>0xFFFFFFFF</Value>
</Init>
<Init>
<Address>0xBC003008</Address>
<Value>0x0</Value>
</Init>
<Init>
<Address>0xBC004000</Address>
<Value>0x05551212</Value>
</Init>
<Init>
<Address>0xB8400000</Address>
<Value>0x100E3CE1</Value>
</Init>
</Inits>
<Inits>
<Init>
<Address>0xBC003000</Address>
<Value>0xFFFFFFFF</Value>
</Init>
<Init>
<Address>0xBC003008</Address>
<Value>0x0</Value>
</Init>
<Init>
<Address>0xBC004000</Address>
<Value>0x05551212</Value>
</Init>
<Init>
<Address>0xB8400000</Address>
<Value>0x100E3CE1</Value>
</Init>
</Inits>
Who is online
Users browsing this forum: No registered users and 2 guests