WRT160N V3 CSE41

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Thu Dec 10, 2009 17:59    Post subject: Reply with quote
LOM wrote:
barryware wrote:

I have no hands on with this device.. Only a V1. The problem with jtag as I understand was the 8 bit data buss on the V1. I see now that they (Linksys) are also using a serial flash chip on this device. I think the 8 pin do-dad with the white paint spot is the flash chip (not sure).


Yes, that is the serial flash.
The problem with jtag is not only the flash type, none of the new 4716-4718 cpu's responds to jtag.
You can get the chipid but that is all for the moment.


I started a thread asking for router donations for Tornado so he can add support for new routers. I haven't heard but I don't think he has any. The 320 has some type of patented, proprietary protection of the flash chip so that can't be jtagged either.
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7632

PostPosted: Thu Dec 10, 2009 18:08    Post subject: Reply with quote
He still needs a router in order to add 8-bit parallel flash support in tjtag.

He has a router with a 4716 cpu so a donated router with 8-bit flash can be of any cpu type except for 4716-4718 since they are not jtag-able at all for the moment.

_________________
Kernel panic: Aiee, killing interrupt handler!
yellowgreen
DD-WRT Novice


Joined: 09 Dec 2009
Posts: 11
Location: romania

PostPosted: Thu Dec 10, 2009 20:07    Post subject: Reply with quote
how big is ram and flash of this router model ?
can we see from the last picture ?
are some informations somewhere in original software ?
yellowgreen
DD-WRT Novice


Joined: 09 Dec 2009
Posts: 11
Location: romania

PostPosted: Thu Dec 10, 2009 23:25    Post subject: Reply with quote
I put the flash - what quantity of flash and ram dowe have on this model ?

RAM : W9425G6EH-5H
256Mb DDR 16Mx16 4 Banks -5 200 MHz
infos : http://www.winbond-usa.com/en/content/view/123/238/


FLASH : MX25L3205DM2I-12G
( MX25L3205DM2I-12G - 16M-BIT [x 1 / x 2] CMOS SERIAL FLASH - Macronix International )
datasheet : http://pdf1.alldatasheet.com/datasheet-pdf/view/267917/MCNIX/MX25L3205DM2I-12G.html



flash_MX-25L3205DM21-12G.JPG
 Description:
 Filesize:  132.39 KB
 Viewed:  18290 Time(s)

flash_MX-25L3205DM21-12G.JPG



ram-W9425G6EH-5H.jpg
 Description:
 Filesize:  84.43 KB
 Viewed:  18290 Time(s)

ram-W9425G6EH-5H.jpg


yellowgreen
DD-WRT Novice


Joined: 09 Dec 2009
Posts: 11
Location: romania

PostPosted: Thu Dec 10, 2009 23:27    Post subject: Reply with quote
5-point connector : what is that ?


5-connector.jpg
 Description:
 Filesize:  111.22 KB
 Viewed:  18287 Time(s)

5-connector.jpg


Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Fri Dec 11, 2009 5:30    Post subject: Reply with quote
This 5 pin connector is serial, standard linksys pinout.
third brain
DD-WRT Novice


Joined: 11 Dec 2009
Posts: 5

PostPosted: Fri Dec 11, 2009 6:12    Post subject: Reply with quote
Hi yellowgreen,

I see one JTAG problem in the photo of your board; R67 is vacant.
I have a similar WRT160N V3, and there are 5 vacant resistor footprints that connect the provcessor to the JTAG connector footprint.
At your own risk, you could solder jumper wires in place of R64-R68 (most are together on the bottom of the board).
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Fri Dec 11, 2009 6:24    Post subject: Reply with quote
At this moment we can't jtag bcm4716/17/18 - all we can get is cpu id.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7632

PostPosted: Fri Dec 11, 2009 6:39    Post subject: Reply with quote
third brain wrote:
Hi yellowgreen,

I see one JTAG problem in the photo of your board; R67 is vacant.
I have a similar WRT160N V3, and there are 5 vacant resistor footprints that connect the provcessor to the JTAG connector footprint.
At your own risk, you could solder jumper wires in place of R64-R68 (most are together on the bottom of the board).


The problem is not the missing resistors and you should definitely not jumper them.
When they are in place in place they are pull-up resistors for the jtag lines - they are not a missing link to the cpu pins.

_________________
Kernel panic: Aiee, killing interrupt handler!
third brain
DD-WRT Novice


Joined: 11 Dec 2009
Posts: 5

PostPosted: Fri Dec 11, 2009 6:57    Post subject: Reply with quote
LOM,

Sorry for not being clear. My board is 3763-01010103R (like yellowgreen's). What board are you working on?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7632

PostPosted: Fri Dec 11, 2009 7:11    Post subject: Reply with quote
third brain wrote:
LOM,

Sorry for not being clear. My board is 3763-01010103R (like yellowgreen's).


yellowgreens board is from what I can see the new version ending in 105R, you have the previous version.

The jtag resistors on yours (and almost any Linksys router) has one of its end connected to a pin and the other end connected to +3.3V, so they are pullup resistors.

One pin, pin1 in the jtag connector should have a resistor connected to ground,a pulldown resistor which usually is around 1Kohm.

Take a close look at your circuit board and tell me if the there is any interruption in the trace from a jtag pin to the cpu.
Check the side of the (missing) resistor which is not connected to a jtag pin, it is connected to the 3.3V plane, right?

_________________
Kernel panic: Aiee, killing interrupt handler!
third brain
DD-WRT Novice


Joined: 11 Dec 2009
Posts: 5

PostPosted: Fri Dec 11, 2009 8:01    Post subject: Reply with quote
LOM,

I stand corrected regarding the board number. (Sorry yellowgreen)
However, this may still apply to a range of board numers.

Yes, I do mean the vacant resistor footprints interrupt the traces between the CPU and the JTAG connector.

As a side note, I also noticed that pin 1 of the JTAG (I assume this is TRST) is pulled down with a 4.7K resistor. My Xilinx Jtag cable that worked so well on my WRT54G2 V1 is not expected to work on this WRT160N V3, without seperately adding a stiff pullup (300 ohms or less) between pin 1 and 3.3v during the JTAG activity. With TRST held low, the JTAG test functions are disabled. I suppose that the CPU ID could not likely be read out in such a case, but I may get around to testing this before too long.
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Fri Dec 11, 2009 8:35    Post subject: Reply with quote
I'm always using 100 Ohm to pull up ntrst.

This is from wrt310nv2 with same cpu (BCM4716B0KFBG)


Code:
C:\Work\TJTAG>tjtag -probeonly

==============================================
 EJTAG Debrick Utility v3.0 RC1 Tornado-MOD
==============================================

Probing bus ... Done

Instruction Length set to 5

CPU Chip ID: 00000000000010101000000101111111 (000A817F)
*** Unknown or NO CPU Chip ID Detected ***




root@DD-WRT:~# cat /proc/cpuinfo
system type             : Broadcom BCMB83A chip rev 0
processor               : 0
cpu model               : MIPS 74K V4.9
BogoMIPS                : 149.91
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : yes
ASEs implemented        : mips16 dsp
shadow register sets    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

dcache hits             : 2147483648
dcache misses           : 3737114364
icache hits             : 2147483648
icache misses           : 4225103830
instructions            : 2147483648
root@DD-WRT:~# 
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7632

PostPosted: Fri Dec 11, 2009 8:37    Post subject: Reply with quote
third brain wrote:


Yes, I do mean the vacant resistor footprints interrupt the traces between the CPU and the JTAG connector.

As a side note, I also noticed that pin 1 of the JTAG (I assume this is TRST) is pulled down with a 4.7K resistor. My Xilinx Jtag cable that worked so well on my WRT54G2 V1 is not expected to work on this WRT160N V3, without seperately adding a stiff pullup (300 ohms or less) between pin 1 and 3.3v during the JTAG activity. With TRST held low, the JTAG test functions are disabled. I suppose that the CPU ID could not likely be read out in such a case, but I may get around to testing this before too long.


I want to have proof before I believe it Smile
Take out your multimeter and do an ohm measurement,
one side of the resistor will conduct to a jtag pin.
Does the other side of the resistor conduct to the big copper plane?

I did the mistake half a year ago assuming the resistors where links between the jtag pins and the cpu, I even suggested a user here to jumper the missing resistor which he thought had fell off.

I have looked at lots of router pcb photos after that and they all have the resistors connected as pull-ups, except for the pin1 which is a pull-down.

If you look at yellowgreens photo you see that the pin1 pull-down resistor is on the upper side of the pcb and connected to the big copper plane which is ground on this side.
The pull-up resistors are likely to be on the other side of the pcb where the copper plane is +3.3V

As you mention, it would not been possible to get a cpu id if the missing resistors were intended to be links between jtag pins and cpu pins.

I think we are getting quite a bit of topic for this thread now, I hope a friendly mod can split it into a new thread where we can continue the discussion.

_________________
Kernel panic: Aiee, killing interrupt handler!
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Fri Dec 11, 2009 8:40    Post subject: Reply with quote
Most new routers don't have the resistors any more... and jtag works regardless.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum