[deleted]
No problem. You are always welcome.
joecop67
I donated the $5 through PayPal this morning but have not got an email with the instruction for download.
What program do I use on my pc to enter the commands? I've used putty with serial but I can't find any info on what to use for jtag.
joecop67
I have read that but I can't seem to find what to open, a window, a box or something, to enter the necessary commands.
I'm sure it's because I'm incompetent.
joecop67
Finally got everything hooked up. When I do -probeonly I get
================================================
EJTAG Debrick Utility v3.0.2.1 Tornado-MOD
================================================
Selected port = 0x378
Detected IR chain length = 0
Number of device(s) = 0
Probing bus ... Done
Instruction Length set to 5
CPU Chip ID: 11111111111111111111111111111111 (FFFFFFFF)
*** Unknown or NO CPU Chip ID Detected ***
*** Possible Causes:
1) Device is not Connected.
2) Device is not Powered On.
3) Improper JTAG Cable.
4) Unrecognized CPU Chip ID.
[deleted]
TJTAG-Troubleshooting wrote:
1. Bad soldering - One of the most common reasons that your jtag doesn't work is due to bad soldering, especially in making sure the header is soldered in properly. Check your work with a multimeter. Many routers have jtag holes in the pcb filled with solder. Many damage the pcb by trying to clean the holes. Be careful, use lots of flux, and solder wick to remove the solder from the board. Some soldering irons have a pcb tip that will fit right through the holes and can make the job easier.
2. Putting the connection on backward - Make sure you have the cable connected to the header properly and not upside down.
3. Interference - Electrical interference can cause a bad flash with tjtag. Even having your computer monitor too close can cause bad information and ruin the flash.
4. Cable too long - Similar to electrical interference. You want your cable to be about 6 inches (15,24 cm) in length.
joecop67
I give up on it.
[deleted]
Did you try following steps;
5. JTAG interface activation - TRST pin on the router's JTAG port should be connected to VCC via a 100 ohm resistor. The cpu, when router starts, wants to see this pin as a low level and there is a pull-down resistor for that on the circuit board. Applying VCC to the TRST pin via resistor will notify the cpu that the jtag interface is activated. Some routers can manage without TRST pin in high state, others just refuse to work unless there is a high level on the TRST pin.
6. Watchdog - If your hardware has a watchdog, then you must ensure that it does not reset the CPU when the JTAG wants to halt it. If the watchdog resets the CPU you would typically get a "CPU not halted" type of error. If the CPU has an internal watchdog circuit, on some CPUs it is automatically "paused" when the JTAG halts the CPU. But on others, that doesn't happen, and you need to ensure the watchdog is disabled while doing JTAG debugging. If your circuit has a watchdog circuit that is external to the CPU, then typically you need to be able to disable it in some way (typically the hardware designer provides some sort of switch/jumper on the board to do so).
joecop67
Thanks, but that is beyond my skill level. I appreciate the help though.
joecop67
I tried tftp. The router is not recognized at all by the PC.
[deleted]
Did you assign static IP address to your PC ? You need to have a static ip set up on your computers Ethernet card.
joecop67
Yes, I did all the easiest things first, including serial console. Here s the log. I can't break in no matter how many times I press control c.
This is the output from the srial connection.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.05.30 18:27:10 =~=~=~=~=~=~=~=~=~=~=~=
0)
Found an ST compatible serial flash with 256 64KB blocks; total size 16MB
sflash_cfe_probe: flash type ST, nparts 4
sflash_cfe_probe: idx 0, name boot, descr ST Serial flash offset 00000000 size 256KB
sflash_cfe_probe: idx 1, name trx, descr ST Serial flash offset 00040000 size 1KB
sflash_cfe_probe: idx 2, name os, descr ST Serial flash offset 0004001C size 16068KB
sflash_cfe_probe: idx 3, name nvram, descr ST Serial flash offset 00FF1000 size 60KB
sflash_cfe_probe: flash type ST, nparts 3
sflash_cfe_probe: idx 0, name boot, descr ST Serial flash offset 00000000 size 256KB
sflash_cfe_probe: idx 1, name trx, descr ST Serial flash offset 00040000 size 16068KB
sflash_cfe_probe: idx 2, name nvram, descr ST Serial flash offset 00FF1000 size 60KB
sflash_cfe_probe: flash type ST, nparts 0
CPU type 0x19740: 480MHz
Tot mem: 65536 KBytes
CFE mem: 0x80700000 - 0x8079EA40 (649792)
Data: 0x80734000 - 0x80737FE0 (16352)
BSS: 0x80737FE0 - 0x80738A40 (2656)
Heap: 0x80738A40 - 0x8079CA40 (409600)
Stack: 0x8079CA40 - 0x8079EA40 (8192)
Text: 0x80700000 - 0x80734000 (212992)
board_final_init: commit=0, restore_defaults=0Boot version: v5.2
The boot is CFE
mac_init(): Find mac in location 0
Nothing...
country_init(): Find country code in location 0
The country is same
**Exception 8: EPC=80718DDC, Cause=80008008 (TLBMissRd)
RA=80718DE4, VAddr=0000000C
0 ($00) = 00000000 AT ($01) = 80730000
v0 ($02) = 00000000 v1 ($03) = 00000000
a0 ($04) = 80739A80 a1 ($05) = 8072E345
a2 ($06) = 00000001 a3 ($07) = 00000003
t0 ($0 = 00000000 t1 ($09) = 00000000
t2 ($10) = 807337EC t3 ($11) = 00000000
t4 ($12) = 66000023 t5 ($13) = 48534C46
t6 ($14) = 9FC036BC t7 ($15) = DFD3D77F
s0 ($16) = 00000000 s1 ($17) = 8072E32C
s2 ($1 = 8072E2E4 s3 ($19) = 8072E2F0
s4 ($20) = 8079E800 s5 ($21) = 8079E800
s6 ($22) = 19A14716 s7 ($23) = 00000001
t8 ($24) = 04000000 t9 ($25) = 00000000
k0 ($26) = 00000000 k1 ($27) = 00000000
gp ($2 = 8073C000 sp ($29) = 8079E7D8
fp ($30) = 00000000 ra ($31) = 80718DE4
CFE version 2010.09.20.0 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Nov 12 11:01:26 CST 2010 (lzh@team2-complier)
Copyright (C) 2000-2008 Broadcom Corporation.