找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10306|回复: 5

【已解决】j-link 接rg100a-aa jtag口,识别不出cpu

[复制链接]
本帖最后由 stonefive 于 2011-3-5 20:41 编辑

感谢帮助我的朋友!
确认是jlink版本问题,或者说需要特别设置(不要问我,我也不会)
现在使用版本信息如下
------------------------
Firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48


这两天想把j-link用起来,却遇到不少问题

先是j-link没有反应,后来刷了firmware可以好了
安装了jlink 425a驱动,usblib

高兴的使用H大的Brjtag 1.9o 测试
可以识别 j-link,但不能识别6358的cpu

情况如下
-----------------------------------------------
G:\CNC\tools\brjtag1.9o\win32>brjtag.exe -probeonly /cable:2

        ===============================================
         Broadcom EJTAG Debrick Utility v1.9o-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 = 3.364V

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 (3)
Jlink TLR reset error (76)
Probing bus ... ====>usb write[16], usb read[-116],(st=1)
====>v3 return state[76],(8)


USB Port R/W error occur! Please reduce buffer size with /L5:1000 and try again.




jlink commander 下面显示情况
------------------------------------
SEGGER J-Link Commander V4.25a ('?' for help)
Compiled Mar  2 2011 12:24:56
DLL version V4.25a, compiled Mar  2 2011 12:24:38
Firmware: J-Link ARM V8 compiled Jan 31 2011 18:34:52
Hardware: V8.00
S/N: 805306163
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
J-Link>f
Firmware: J-Link ARM V8 compiled Jan 31 2011 18:34:52
Hardware: V8.00

J-Link>st
VTarget=0.000V
ITarget=-1599mA
TCK=0 TDI=0 TDO=0 TMS=0 TRES=1 TRST=0
Supported JTAG speeds:
- 48 MHz/n, (n>=4). => 12000kHz, 9600kHz, 8000kHz, ...
- Adaptive clocking
J-Link>hwinfo
HWInfo[00] = Target power is enabled
HWInfo[02] = -1573mA    (ITarget)
HWInfo[03] = 0mA        (ITargetPeak)
HWInfo[04] = 0mA        (ITargetPeakOperation)
HWInfo[10] = 0ms        (ITargetMaxTime0)
HWInfo[11] = 0ms        (ITargetMaxTime1)
HWInfo[12] = 0ms        (ITargetMaxTime2)
J-Link>


打开猫后(jtag pin1接了vcc)
--------------------------------
SEGGER J-Link Commander V4.25a ('?' for help)
Compiled Mar  2 2011 12:24:56
DLL version V4.25a, compiled Mar  2 2011 12:24:38
Firmware: J-Link ARM V8 compiled Jan 31 2011 18:34:52
Hardware: V8.00
S/N: 805306163
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.287V
Info: TotalIRLen = 5, IRPrint = 0x01

WARNING: CPU core not found.
No devices found on JTAG chain. Trying to find device on SWD.

WARNING: CPU core not found.
No device found on SWD.
Did not find any core.
Info: TotalIRLen = 5, IRPrint = 0x01

WARNING: CPU core not found.
No devices found on JTAG chain. Trying to find device on SWD.

WARNING: CPU core not found.
No device found on SWD.
Did not find any core.
J-Link>st
VTarget=3.287V
ITarget=0mA
TCK=1 TDI=0 TDO=1 TMS=0 TRES=1 TRST=1
Supported JTAG speeds:
- 48 MHz/n, (n>=4). => 12000kHz, 9600kHz, 8000kHz, ...
- Adaptive clocking
J-Link>


经指点,更换了旧版本的firmware,成功识别出cpu。
----------------------------------------------------------------
G:\>brjtag.exe -backup:cfe /cable:2

        ===============================================
         Broadcom EJTAG Debrick Utility v1.9o-hugebird
        ===============================================


  Open USB device: 0x1366:0101
  Vendor Name: [SEGGER]
  Produc Name: [J-Link]
  Serial No  : [000805306163]

Jlink get cap error (-116)
Set I/O speed to 3000 KHz
Detected target Vref = 0.0V

USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!

Probing bus ... >>>JL det insta =                       FFFFFF21
                        00280680
Done

Detected IR Length is 5

CPU assumed running under BIG endian

CPU Chip ID: 00000110001101011000000101111111 (0635817F)
*** Found a Broadcom manufactured BCM6358 REV 01 CPU ***

    - EJTAG IMPCODE ....... : 00000000100000011000100100000100 (00818904)
    - EJTAG Version ....... : 1 or 2.0
    - EJTAG DMA Support ... : Yes
    - EJTAG Implementation flags: R4k MIPS16 MIPS32

Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Done
Halting Processor ... <rocessor Entered Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 1E00000C
MPI register show Flash Access Base Addr : 1E000000

Probing Flash at Address: 0x1E000000 ...
Detected Chip ID (VenIDevID = 017E : 2101)
*** Found a Spansion S29GL128N/P Uni  (16MB) Flash Chip from AMD/Spansion

    - Flash Chip Window Start .... : 1E000000
    - Flash Chip Window Length ... : 01000000
    - Selected Area Start ........ : 1E000000
    - Selected Area Length ....... : 00040000

*** You Selected to Backup the CFE.BIN ***

=========================
Backup Routine Started
=========================

Saving CFE.BIN.SAVED_20110305_192418 to Disk...
Done  (CFE.BIN.SAVED_20110305_192418 saved to Disk OK)

bytes written: 262144
=========================
Backup Routine Complete
=========================
elapsed time: 13 seconds


*** REQUESTED OPERATION IS COMPLETE ***
我的恩山、我的无线 The best wifi forum is right here.
换J-link驱动看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
2# ccpoint


用过 410e 424b 425a
请问我的线序对吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 stonefive 于 2011-11-24 12:47 编辑

补遗:
感谢帮助我的朋友!
确认是jlink版本问题,或者需要特别设置(不要问我,我也不会)。

现在使用版本信息如下
------------------------
Firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48

接线顺序如下
-----------------
rg100a -- jlink
vcc-1
3-5
5-13
7-7
9-9
gnd-gnd

成功备份cfe和wholeflash
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

stonefive 发表于 2011-11-24 12:46
补遗:
感谢帮助我的朋友!
确认是jlink版本问题,或者需要特别设置(不要问我,我也不会)。

我刚刚备份没有接vcc一直没有成功..看了你的,接成功了..谢啦..
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

found a cfi comlatiable flash
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 08:57

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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