找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8962|回复: 5

求助! 用J-Link V8线和Brjtag软件救回Linksys WRTU54G-TM时遇到问题!

[复制链接]
发表于 2011-10-21 11:44:42 | 显示全部楼层 |阅读模式
本帖最后由 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: [SEGGER]
  Produc Name: [J-Link]
  Serial No  : [000000123456]

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[16], usb read[6],(st=1)
====>v3 return state[1],(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: [SEGGER]
  Produc Name: [J-Link]
  Serial No  : [000000123456]

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大侠
谢谢
 楼主| 发表于 2011-10-21 11:54:10 | 显示全部楼层
请各位大侠帮帮忙!
发表于 2011-10-22 23:07:08 | 显示全部楼层
本帖最后由 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脚。
发表于 2011-10-23 00:49:44 | 显示全部楼层
J-link 1脚接3.3v, TTL的VCC就是3.3V的.14脚不用接
 楼主| 发表于 2011-10-23 12:41:13 | 显示全部楼层
本帖最后由 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是什么意思呢?
再次谢谢大家
发表于 2012-9-8 12:46:38 | 显示全部楼层
我的jlink 不能识别啊
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2026-2-1 03:11 , Processed in 0.021736 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表