求助! 用J-Link V8线和Brjtag软件救回Linksys WRTU54G-TM时遇到问题!
本帖最后由 astralstorm 于 2011-10-21 11:49 编辑求助! 用J-Link V8线和Brjtag软件救回Linksys WRTU54G-TM时遇到问题!
路由器是 LinkSys wrtu54-tm CPU为 infineon ADM8668FX A12闪存为 8M flash(MX29LV640DBTC-90G)
Brjtag里如果输入:
brjtag -probeonly
出来的结果是
C:\brjtag>brjtag -probeonly
===============================================
Broadcom EJTAG Debrick Utility v2.0.5-hugebird
===============================================
WinIo sys driver initialization error!
输入brjtag -probeonly /cable:2 /fc:107时结果为
===============================================
Broadcom EJTAG Debrick Utility v2.0.5-hugebird
===============================================
Open USB device: 0x1366:0101
Vendor Name:
Produc Name:
Serial No:
Initializing J-Link HW Ver. 8.0
Set I/O speed to 3000 KHz
Detected target Vref = 0.679V
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Jlink TLR reset error (1)
Probing bus ... ====>usb write, usb read,(st=1)
====>v3 return state,(5)
USB Port R/W error occur! Please reduce buffer size with /L5:1000 and try again.
板子上的jtag孔共有14个孔,在网上搜索的排序是
1 nTRST GND 2
3 TDI GND 4
5 TDO GND 6
7 TMS GND 8
9 TCK GND 10
11 nSRST 12
13 DINT VREF 14
我只接了1,3,5,7,9和6脚 ,第一脚我是接到了Jlink的VTref脚上 不知道对不对? Vref脚要不要接呢? 接到哪里?
还有感觉Detected target Vref = 0.679V 有点不对头! 不应该是3.3V吗? J-Link盒子上的灯这时是绿的
如果把第一脚不接到Jlink的VTref脚上时J-Link盒子上的灯是红的,而且输入命令后结果是:
C:\brjtag>brjtag -probeonly /cable:2
===============================================
Broadcom EJTAG Debrick Utility v2.0.5-hugebird
===============================================
Open USB device: 0x1366:0101
Vendor Name:
Produc Name:
Serial No:
Initializing J-Link HW Ver. 8.0
Set I/O speed to 3000 KHz
Detected target Vref = 1.824V
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 Length is 0
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** Unknown or NO CPU Chip ID Detected ***
*** Possible Causes:
1) Router/Modem is not Connected.
2) Router/Modem is not Powered On.
3) Improper JTAG Cable.
4) Unrecognized CPU Chip ID.
请各位好心人帮忙,特别是hugebird大侠
谢谢 请各位大侠帮帮忙! 本帖最后由 zengcf 于 2011-10-22 23:18 编辑
接线顺序如下
JTAG<────>J-link
3<────>5
5<────>13
7<────>7
9<────>9
GND<────>GND
VCC<────>1
J-link需要VCC,可从TTL接口取VCC到J-link 1脚。 J-link 1脚接3.3v, TTL的VCC就是3.3V的.14脚不用接 本帖最后由 astralstorm 于 2011-10-23 12:48 编辑
太感谢各位好心人了,已经刷了 uboot固件了,flash里没有系统只有uboot固件,就卡在uboot界面了,lan口不通,无法用tftp刷机,DHCP也无法分配IP,该怎么办呢?
printenv
bootdelay=1
baudrate=115200
bootfile=vmlinuz-8668
kernel_addr=0xb0040000
netdev=adm1
baudrate=115200
flash_flash=bootm $(kernel_addr)
update_kernel=erase $(kernel_addr) b05effff;tftpboot $(kernel_addr) $(bootfile)
update_loader=erase b0000000 b000ffff;tftpboot b0000000 u-boot.img
update_2nd=erase b0600000 b07fffff;tftpboot b0600000 vmlinuz-8668-recovery
tftp_boot=tftpboot 600000 $(bootfile);bootm 80600000
bootargs_rd=load_ramdisk=/dev/ram0 rw root=/dev/ram0 console=/dev/ttyS0
bootargs=rootfstype=squashfs root=/dev/mtdblock1 console=/dev/ttyS0
ethact=adm8668_net
netretry=no
if_pingable=ping $(serverip)
if_tftp_success=tftpboot 600000 $(bootfile)
do_upgrade=erase $(kernel_addr) +$(filesize); cp.b $(fileaddr) $(kernel_addr) $(filesize)
bootcmd=run if_pingable if_tftp_success do_upgrade; bootm $(kernel_addr)
ethaddr=00-26-f2-ae-fd-45
ipaddr=192.168.0.1
serverip=192.168.0.2
stdin=serial
stdout=serial
stderr=serial
Environment size: 923/1020 bytes
ADM8668 #
这里的
ethaddr=00-26-f2-ae-fd-45
ipaddr=192.168.0.1
serverip=192.168.0.2都是我定义的,可还是找不到lan口,怎么让它认出lan口呢?
ADM8668 # ping 192.168.0.1
TX error status2 = 0x04000008
Using adm8668_net device
ping failed; host 192.168.0.1 is not alive
这里的 TX error status2 = 0x04000008是什么意思呢?
再次谢谢大家
我的jlink 不能识别啊
页:
[1]