def

Topics about unsupported flash in here. Also please go here regularly to update your flash.def
Locked
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

def

Post by dragonmas »

detect
IDCODE 0535217F
Broadcom BCM5352
IMPCODE 800904
DMA supoorted
Found Address= 9fc00000 Intel 28F640J3

what would be added to .def for this router to work with usbjtag?
usbbdm
Junior Member
Posts: 8979
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Is it V4 of WRT54G?
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

Linksys WRT54G-TM / WRT54GL / WRT54GS v3/ DD-WRT Mega
32MB RAM | 8MB Flash|
usbbdm
Junior Member
Posts: 8979
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

In reference to tjtag.c

Test:
Name=WRT54GV3
Memory=Ram,0,0x80000000,0x800000
Memory=CFE,1,0x9c000000,0x40000
Memory=KERNEL,1,0x9c040000,0x7B0000
Memory=NVRAM,1,0x9c7F0000,0x10000
Programram=0x80200000
Endian=Little
IRLength=8
Protocol=EJTAG
DMA=Yes
ProbTrap=1
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

Added this to .def seems program gets confused.
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

detect
IDCODE 0535217F
Broadcom BCM5352
IMPCODE 800904
DMA supoorted

get this and warning box says
check config.
hit ok and get this:
Found Address= 9c000000 Intel 28F640J3

do this:
getram 9c000000 800000

save 9c000000 800000
file seemed to read and save correctly
but comparing to file dumped with tjtagv2 and parallel jtag
I get a few differences?
usbbdm
Junior Member
Posts: 8979
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

can you type configshow?
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

in usbjtag sw?

Found Address= 9c000000 Intel 28F640J3
-configshow
Test name: WRT54GV3
Test DLL: (null)
IRLength: 8
Endian: Endian
CFE Flash=Intel 28F640J3
KERNEL Flash=Intel 28F640J3
NVRAM Flash=Intel 28F640J3
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

I did a dump of a wrt54GSv6 with usbjtag and paralell jtag and did compare both are same.
usbbdm
Junior Member
Posts: 8979
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

OK, I think I know the problem. I copied the CFE def from tjtag. But for 8M flash, the CFE does not ends at the boundary of a block. So you can ignore the error for now. It warns you that the tab def is not at the boundary of a flash block.
When you say error in compare, can you tell me where it is? Is it significant different? Please note I have done the proper endian change when save the file. Normal parallel JTAG do not do that and thus looks funny in binary editor.

Please do not try to program any part of the router yet. I will do more WRT54G router once I release the hNT hardware. (should be very soon).
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

will the new Nt work with our current jtag or will this be a new device?
usbbdm
Junior Member
Posts: 8979
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

It is a new device.
If your flash has 8MB and you found cmpram failed at different place each time. That could be the watchdog and there are two ways to stop this.
1. Disable the watchdog.
2. Read 2MB each time. That will be fast enough before the watchdog kicks in.
dragonmas
Junior Member
Posts: 146
Joined: Fri Sep 30, 2005 4:17 pm

Post by dragonmas »

-cmpram 9c000000 800000
Compare data OK
Locked

Who is online

Users browsing this forum: No registered users and 4 guests