找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8389|回复: 13

请教jtag刷rg100a-aa问题

[复制链接]
发表于 2010-9-27 04:43:43 | 显示全部楼层 |阅读模式
各位:
使用jtag线刷RG100A-AA,使用1.9L版的软件。输入命令为:
brjtag -backup:cfe
brjtag -erase:cfe
brjtag -flash:cfe
但是都是如下显示:
C:\21>brjtag -flash:cfe
        ===============================================
         Broadcom EJTAG Debrick Utility v1.9L-hugebird
        ===============================================
Probing bus ... 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 ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 12000008
MPI register show Flash Access Base Addr : 12000000
Probing Flash at Address: 0x12000000 ...
Detected Chip ID (VenID:DevID = 0000 : 0008)
*** Unknown or NO Flash Chip Detected ***

*** REQUESTED OPERATION IS COMPLETE ***

C:\21>
这是为什么呢?有人帮帮我吗?请给个解决办法吧。
告诉我具体是哪里有问题。
发表于 2010-9-27 06:06:02 | 显示全部楼层
没有认出闪存,开机5秒内试试。
 楼主| 发表于 2010-9-27 18:45:58 | 显示全部楼层
回复 2# paxu5688
是按下电源键之内的5秒钟任意敲一条命令?
发表于 2010-9-27 18:54:14 | 显示全部楼层
上电马上检测试试。

多试几次

再不行需开机短路OE
发表于 2010-9-27 19:12:10 | 显示全部楼层
楼上所言极是。
 楼主| 发表于 2010-9-27 20:32:35 | 显示全部楼层
回复 4# lu431015
OE在哪里?能否告知?
 楼主| 发表于 2010-9-27 21:55:00 | 显示全部楼层
回复 4# lu431015
开机OE接地之后就松开然后刷入cfe就行了吧?没有需要一直将OE接地吧?
发表于 2010-9-27 22:19:08 | 显示全部楼层
是啊 上电几秒后松开,
然后打命令
发表于 2010-9-27 22:21:05 | 显示全部楼层
是啊 上电几秒后松开,
然后打命令
 楼主| 发表于 2010-9-27 23:58:46 | 显示全部楼层
回复 9# lu431015
谢谢,我已经试过开始5秒测试,可以是可以。但是每次只能使用一条命令。每使用一条命令就要从新开机一次。我先使用清除命令将cfe、nvram、kernel给清除了一下。然后我flash了一下CFE。然后重启rg100a-aa之后所有的灯不亮。而且使用TTL线查看如下:
Initializing Arena.
Initializing Devices.
Parallel flash device id 0279 is not supported.

*** Board is not initialized properly ***

Press:  <enter> to use current value
        '-' to go previous parameter
        '.' to clear the current value
        'x' to exit this command
96358VW2         ------- 0
96358VW          ------- 1
96358GWVG        ------- 2
96358MV2G        ------- 3
96358M           ------- 4
96358B           ------- 5
96358BGWE_OEM1   ------- 6
96359PONG        ------- 7
96358SV          ------- 8
Board Id (0-8)                    :  
感觉刷的cfe没用,还有就是在用ttl线配置CFE参数的时候怎么设置到最后都是在刷屏。不知道是配置不正确还是猫的问题。
最后想问一下在刷CFE的时候猫的灯是在闪吗?
最后我将试一下OE接地线的方式来试一下。

如下是我使用的命令以及状态,麻烦帮忙看看是否正常。(如下没用一条命令都是开关一次猫)先谢谢了:
C:\21>brjtag -erase:nvram

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

Probing bus ... 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 ... <Processor 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 (VenID:DevID = 207E : 2101)
*** Found a CFI Compatiable Flash Chip from ST/Numonyx

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

*** You Selected to Erase the NVRAM.BIN ***

=========================
Erasing Routine Started
=========================
Total Blocks to Erase: 1

Erasing block: 128 (addr = 1EFE0000)...Done
=========================
Erasing Routine Complete
=========================
elapsed time: 0 seconds


*** REQUESTED OPERATION IS COMPLETE ***
-------------------------------------------------------------------------------------------------------------
C:\21>brjtag -erase:kernel

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

Probing bus ... 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 ... <Processor 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 (VenID:DevID = 207E : 2101)
*** Found a CFI Compatiable Flash Chip from ST/Numonyx

    - Flash Chip Window Start .... : 1E000000
    - Flash Chip Window Length ... : 01000000
    - Selected Area Start ........ : 1E040000
    - Selected Area Length ....... : 007A0000

*** You Selected to Erase the KERNEL.BIN ***

=========================
Erasing Routine Started
=========================
Total Blocks to Erase: 61

Erasing block: 3 (addr = 1E040000)...Done
Erasing block: 4 (addr = 1E060000)...Done
Erasing block: 5 (addr = 1E080000)...Done
Erasing block: 6 (addr = 1E0A0000)...Done
Erasing block: 7 (addr = 1E0C0000)...Done
Erasing block: 8 (addr = 1E0E0000)...Done
Erasing block: 9 (addr = 1E100000)...Done
Erasing block: 10 (addr = 1E120000)...Done
Erasing block: 11 (addr = 1E140000)...Done
Erasing block: 12 (addr = 1E160000)...Done
Erasing block: 13 (addr = 1E180000)...Done
Erasing block: 14 (addr = 1E1A0000)...Done
Erasing block: 15 (addr = 1E1C0000)...Done
Erasing block: 16 (addr = 1E1E0000)...Done
Erasing block: 17 (addr = 1E200000)...Done
Erasing block: 18 (addr = 1E220000)...Done
Erasing block: 19 (addr = 1E240000)...Done
Erasing block: 20 (addr = 1E260000)...Done
Erasing block: 21 (addr = 1E280000)...Done
Erasing block: 22 (addr = 1E2A0000)...Done
Erasing block: 23 (addr = 1E2C0000)...Done
Erasing block: 24 (addr = 1E2E0000)...Done
Erasing block: 25 (addr = 1E300000)...Done
Erasing block: 26 (addr = 1E320000)...Done
Erasing block: 27 (addr = 1E340000)...Done
Erasing block: 28 (addr = 1E360000)...Done
Erasing block: 29 (addr = 1E380000)...Done
Erasing block: 30 (addr = 1E3A0000)...Done
Erasing block: 31 (addr = 1E3C0000)...Done
Erasing block: 32 (addr = 1E3E0000)...Done
Erasing block: 33 (addr = 1E400000)...Done
Erasing block: 34 (addr = 1E420000)...Done
Erasing block: 35 (addr = 1E440000)...Done
Erasing block: 36 (addr = 1E460000)...Done
Erasing block: 37 (addr = 1E480000)...Done
Erasing block: 38 (addr = 1E4A0000)...Done
Erasing block: 39 (addr = 1E4C0000)...Done
Erasing block: 40 (addr = 1E4E0000)...Done
Erasing block: 41 (addr = 1E500000)...Done
Erasing block: 42 (addr = 1E520000)...Done
Erasing block: 43 (addr = 1E540000)...Done
Erasing block: 44 (addr = 1E560000)...Done
Erasing block: 45 (addr = 1E580000)...Done
Erasing block: 46 (addr = 1E5A0000)...Done
Erasing block: 47 (addr = 1E5C0000)...Done
Erasing block: 48 (addr = 1E5E0000)...Done
Erasing block: 49 (addr = 1E600000)...Done
Erasing block: 50 (addr = 1E620000)...Done
Erasing block: 51 (addr = 1E640000)...Done
Erasing block: 52 (addr = 1E660000)...Done
Erasing block: 53 (addr = 1E680000)...Done
Erasing block: 54 (addr = 1E6A0000)...Done
Erasing block: 55 (addr = 1E6C0000)...Done
Erasing block: 56 (addr = 1E6E0000)...Done
Erasing block: 57 (addr = 1E700000)...Done
Erasing block: 58 (addr = 1E720000)...Done
Erasing block: 59 (addr = 1E740000)...Done
Erasing block: 60 (addr = 1E760000)...Done
Erasing block: 61 (addr = 1E780000)...Done
Erasing block: 62 (addr = 1E7A0000)...Done
Erasing block: 63 (addr = 1E7C0000)...Done
=========================
Erasing Routine Complete
=========================
elapsed time: 31 seconds


*** REQUESTED OPERATION IS COMPLETE ***


C:\21>
-------------------------------------------------------------------------------------------------------------
C:\21>brjtag -erase:cfe

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

Probing bus ... 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 ... <Processor 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 (VenID:DevID = 207E : 2101)
*** Found a CFI Compatiable Flash Chip from ST/Numonyx

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

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

=========================
Erasing Routine Started
=========================
Total Blocks to Erase: 2

Erasing block: 1 (addr = 1E000000)...Done
Erasing block: 2 (addr = 1E020000)...Done
=========================
Erasing Routine Complete
=========================
elapsed time: 1 seconds


*** REQUESTED OPERATION IS COMPLETE ***


C:\21>
-------------------------------------------------------------------------------------------------------------
C:\21>brjtag -flash:cfe

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

Probing bus ... 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 ... <Processor Entered Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 1F00008C
MPI register show Flash Access Base Addr : 1F000000

Probing Flash at Address: 0x1F000000 ...
Detected Chip ID (VenID:DevID = 207E : 2101)
*** Found a CFI Compatiable Flash Chip from ST/Numonyx

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

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

=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 2

Erasing block: 1 (addr = 1F000000)...Done
Erasing block: 2 (addr = 1F020000)...Done

Loading CFE.BIN to Flash Memory...
   0%   bytes = 1152
刷好了如下:
C:\21>brjtag -flash:cfe

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

Probing bus ... 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 ... <Processor Entered Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 1F00008C
MPI register show Flash Access Base Addr : 1F000000

Probing Flash at Address: 0x1F000000 ...
Detected Chip ID (VenID:DevID = 207E : 2101)
*** Found a CFI Compatiable Flash Chip from ST/Numonyx

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

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

=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 2

Erasing block: 1 (addr = 1F000000)...Done
Erasing block: 2 (addr = 1F020000)...Done

Loading CFE.BIN to Flash Memory...
   0%   bytes = 1152
但是重启之后还是……
拜托你了高人。请您指教……
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-17 14:46 , Processed in 0.026450 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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