Let's take a step back and focus on getting the router to respond. amadian and W1SS, please help me out here.
Here's what the output is on a 30MHz test clock, regardless of /instrlen:
D:\zjtag>zjtag -probeonly /noreset /l1:0 /skipdetect
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 30000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 1
CPU assumed running under LITTLE endian
CPU Chip ID: 11111011011101001011001111101000 (FB74B3E8)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Done
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... DMA Write(x4) Addr = b8000080 Data = ERROR ON WRITE
Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
DMA Write(x2) Addr = 1fc0aaaa Data = ERROR ON WRITE
Detected Chip ID (VenID:DevID = 0000 : FFFF)
DMA Write(x2) Addr = 1fc00000 Data = ERROR ON WRITE
DMA Write(x2) Addr = 1fc00000 Data = ERROR ON WRITE
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
And here's what I get with different test clocks:
D:\zjtag>zjtag -probeonly /noreset /l1:1 /skipdetect
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 15000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 0
CPU assumed running under LITTLE endian
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Done
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 0000 : 0000)
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
D:\zjtag>zjtag -probeonly /noreset /l1:2 /skipdetect
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 10000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 0
CPU assumed running under LITTLE endian
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Done
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 0000 : 0000)
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
D:\zjtag>zjtag -probeonly /noreset /l1:3 /skipdetect
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 7500 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 0
CPU assumed running under LITTLE endian
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Done
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 0000 : 0000)
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
And so it goes. Now here's the interesting part...I turned the router off, and:
D:\zjtag>zjtag -probeonly /noreset /l1:0 /skipdetect
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 30000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 24
CPU assumed running under LITTLE endian
CPU Chip ID: 10000001000000000000000000000001 (81000001)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 10000001000000000000000000000001 (81000001)
- EJTAG Version ....... : Unknown (4 is a reserved value)
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k DINTsup MIPS64
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Skipped
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 0001 : 8100)
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
Very interesting indeed.
And to humor volkan-k:
D:\zjtag>zjtag -probeonly /noreset /skipdetect /noemw /nocwd
==============================================
zJTAG EJTAG Debrick Utility v1.0
==============================================
Set I/O speed to 30000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR chain Length is 1
CPU assumed running under LITTLE endian
CPU Chip ID: 11011011011101001011001111101000 (DB74B3E8)
*** CHIP DETECTION OVERRIDDEN ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Skipped
Enabling Memory Writes ... Skipped
Halting Processor ... <Processor Entered Debug Mode!> ... Done
Clearing Watchdog ... Skipped
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
DMA Write(x2) Addr = 1fc0aaaa Data = ERROR ON WRITE
Detected Chip ID (VenID:DevID = 00FF : 0000)
DMA Write(x2) Addr = 1fc000aa Data = ERROR ON WRITE
DMA Write(x2) Addr = 1fc00000 Data = ERROR ON WRITE
*** Unknown or NO Flash Chip Detected ***
*** REQUESTED OPERATION IS COMPLETE ***
Use of the /nodma switch causes zjtag to crash.
This is what we WANT to see:
Detected IR chain Length is 5
Instruction Length set to 27
CPU Chip ID: 00010000000010001100000101111111 (1008C17F)
CPU Manufacturer :Broadcom(id=17E)
CPU Device ID :008C
CPU Revision :1
Seeing this generally means the CPU has been initialized and should, in theory, accept a flash.