找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4062|回复: 8

hg320砖了,已购入jtag线,但还是不行,求大师们帮忙看看。

[复制链接]
发表于 2013-4-6 22:45:19 | 显示全部楼层 |阅读模式
高手们帮帮忙,谢谢!
我的是MX25L12845EM1 用2.05的brjtag识别为5357
到Erasing block: 2 (addr = 1C010000)...   弹出内存不能为read(试了很多次都这样)
附上操作
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd d:\jtag

C:\Documents and Settings\Administrator>brjtag.exe

        ===============================================
         Broadcom EJTAG Debrick Utility v2.0.5-hugebird
        ===============================================

ABOUT: This program reads/writes flash memory on the Broadcom MIPS(LE)
        Chip and compatible routers via EJTAG using either DMA Access
        routines or PrAcc routines (slower/more compatible). Processor chips
        supported in this version include the following chips:

            Supported Chips
            ---------------
            Broadcom BCM4702
            Broadcom BCM4704
            Broadcom BCM4712
            Broadcom BCM4716
            Broadcom BCM4705|4785
            Broadcom BCM5350
            Broadcom BCM5352
            Broadcom BCM5354
            Broadcom BCM5356
            Broadcom BCM5365
            Broadcom HND Mips 74K(008C)
            Broadcom BCM6345
            Broadcom BCM6338
            Broadcom BCM6348
            Broadcom BCM6358
            Broadcom BCM6368
            Broadcom BCM6816
            Broadcom BCM7401
            PMC-Serria BRECIS MSP2007-CA-A1
            TI TNETD7300GDU(AR7WRD)
            TI TNETV1060GDW

            Supported Cable Types
            ---------------
            ID  Cable Name
            0    Parallel port type(DLC5/WIGGLER)
            1    FT2232C/D based USB cable(OpenMoko,JTAGkey,OpenJTAG)
            2    SEGGAR J-Link EMU(v5.0 or later)
            3    HID-BRJTAG v1.xx(USBASP M8)
            4    HID-BRJTAG v2.xx(STM32F10x/SAM7S)


USAGE: Brjtag /showflashlist
USAGE: Brjtag [parameter] </noreset> </noemw> </nocwd> </nobreak></LE|BE>
                      </notimestamp> </dma> </nodma> </noerase></initcpu>
                      </nompi> </ejslow></waitbrk></srst><wx8></resetcs>
                      </bypass></forcealign></showppb></clearppb></erasechip>
                      </nocfi></forcenoflip></forceflip></spirevert>
                      <window:XXXXXXXX><start:XXXXXXXX> </length:XXXXXXXX>
                      <port:XXX> </instrlen:XX> </fc:XX></skipdetect>
                      </wiggler></cable:X></io2></safemode>
                      </verbose></pause>

            Required Parameter
            ------------------
            -backup:[cfe|tfe|cfe128|nvram|wholeflash|custom|kernel|bsp]
            -erase:[cfe|tfe|cfe128|nvram|wholeflash|custom|kernel|bsp]
            -flash:[cfe|tfe|cfe128|nvram|wholeflash|custom|kernel|bsp]
            -probeonly

            Optional Switches
            -----------------
            /noreset ........... prevent Issuing EJTAG CPU reset
            /noemw ............. prevent Enabling Memory Writes
            /nocwd ............. prevent Clearing CPU Watchdog Timer
            /nobreak ........... prevent Issuing Debug Mode JTAGBRK
            /noerase ........... prevent Forced Erase before Flashing
            /notimestamp ....... prevent Timestamping of Backups
            /dma ............... force use of DMA routines
            /srst .............. force a TAP nSRST reset on starting
            /nodma ............. force use of PRACC routines (No DMA)
            /ejslow............. with low speed ejtag access
            /waitbrk............ wait until CPU enter debug mode
            /wx8 ............... with x8 mode program flash
            /resetcs ........... issue spi controller reset before any op
            /spirev............. reverse data endian on flashing a spi chip
            /initcpu............ load CPU configuration code
            /nompi.............. skip autodect flash base address with MPI Reg
            /LE ................ force operate as Little Endian chip
            /BE ................ force operate as Big Endian chip
            /window:XXXXXXXX ... custom flash window base&probe address(in HEX)
            /start:XXXXXXXX .... custom start location (in HEX)
            /length:XXXXXXXX ... custom length (in HEX)
            /verbose............ scrolling display of data
            /pause.............. pause while CPU is initialized
            /skipdetect ........ skip auto detection of CPU Chip ID
            /instrlen:XX ....... set CPU instruction length manually
            /wiggler ........... use wiggler cable
            /nocfi ............. disable CFI query flash geometry
            /forcenoflip ....... force not flipping CFI queried flash geometry
            /forceflip ......... force flipping CFI queried flash geometry
            /bypass ............ unlock Spansion bypass mode & disable polling
            /forcealign......... force erase address align with block boundary
            /erasechip.......... erase whole chip, only work with -probeonly
            /clearppb........... erase Spansion PPB,only work with -probeonly
            /showppb ........... show flash sector protection status
                                 only work with -probeonly
            /port:XXX........... customize parallel port(default XXX is 378)
                                 only work in Windows version
            /io2 ............... use alternative Parallel port access method
            /cable:x ........... select cable type, x = cable type ID
            /safemode .......... use parallel cable way operate USB, SLOW!
            /fc:XXX = Manual Flash Chip Selection,disable CFI and ID auto match
                      use 'brjtag /showflashlist' show build-in flash list



NOTES: *) '-backup:', '-flash:' and '-erase:', the source filename must exist
           as follows: CFE.BIN, NVRAM.BIN, KERNEL.BIN, WHOLEFLASH.BIN or
           CUSTOM.BIN, BSP.BIN, TFE.BIN(64KB or 1x bottom Sector length CFE)
           CFE128.BIN(128KB CFE)

        *) Brjtag defualt with x16 mode handle Parallel Flash chip. /wx8 switch
           to x8 mode.

        *) Brjtag uses CFI command set to automatically detect flash chip
           parameters. If you have difficulty auto-detecting flash with CFI,
           '/nocfi' convert to original flash detection method. brjtag then use
           detected flash ID query parameters from build-in flash list.
           particularly, you can use '/fc:XX' manually specify flash ID.
           'brjtag /showflashlist' can print build-in flash list

        *) '/forcenoflip' and '/forceflip' can help on some AMD type flash
           detecting sector structure correctly if CFI uses.
           'brjtag -probeonly /verbose' debug flash detection

        *) If you have difficulty with the older bcm47xx chips or when no CFE
           is currently active/operational you may want to try both the
           /noreset and /nobreak command line options together.  Some bcm47xx
           chips *may* always require both these options to function properly.

        *) When using this utility, usually it is best to type the command line
           out, then power up the router, about 0.5 second delay, hit <ENTER>
           quickly to avoid bad CFE code lead to <CPU NOT enter Debug mode>
           or the CPUs watchdog interfering with the EJTAG operations.

        *) /bypass - enables Unlock bypass command for some AMD/Spansion type
           flashes, it also disables polling

        *) /initcpu allow load config code to initialize the CPU. This may help
           BCM6358 prevent from some address non-accessible.

        *) '-probeonly /window:xxxxxxxx /erasechip' allow choose a workable
           sector address to erase whole chip. This may help on a bricked box
           with bad CFE

        *) /forcealign - enable erase sectors if the operation window is not
           aligned with sector boundary. It's risky! but can help erase some
           box NVRAM area whose sector size is larger than NVRAM definition

        *) /ejslow - limit parallel port clock out speed to 500KHz. This wish
           to increase LPT port compatibility for some high clock PC.
           For USB cable this switch can help hit higher clock

        *) /pause - pause while CPU being initialized.
           help handle <CPU NOT enter Debug Mode> via shorting pin method

***************************************************************************
* Flashing the KERNEL or WHOLEFLASH will take a very long time using JTAG *
* via this utility.  You are better off flashing the CFE & NVRAM files    *
* & then using the normal TFTP method to flash the KERNEL via ethernet.   *
***************************************************************************


C:\Documents and Settings\Administrator>brjtag.exe -probeonly

        ===============================================
         Broadcom EJTAG Debrick Utility v2.0.5-hugebird
        ===============================================

Probing bus ... Done

Detected IR Length is 5

CPU Chip ID: 00010101001101010111000101111111 (1535717F)
    CPU Manufature:Broadcom(17E)
    CPU Device ID :5357
    CPU Revision  :1

*** Detected a CPU but not in build-in list ***

*** You can set /skipdetect let operate continue ***



C:\Documents and Settings\Administrator>brjtag -erase:wholeflash

        ===============================================
         Broadcom EJTAG Debrick Utility v2.0.5-hugebird
        ===============================================

Probing bus ... Done

Detected IR Length is 5

CPU assumed running under LITTLE endian

CPU Chip ID: 00010000000010001100000101111111 (1008C17F)
*** Found a Broadcom manufactured HND Mips 74K(008C) REV 01 CPU ***

    - EJTAG IMPCODE ....... : 01100000010000010100000000000000 (60414000)
    - EJTAG Version ....... : 3.1
    - EJTAG DMA Support ... : No
    - EJTAG Implementation flags: R4k ASID_8 MIPS16 NoDMA MIPS32

Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Skipped
Halting Processor ... <Processor Entered Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped

Probing Flash at Address: 0x1FC00000 ...
Detected pFlash Chip ID (VenID:DevID = 00FF : FFFF)
Detected sFlash Chip ID (VenID:DevID = 00C2 : 0017)
*** Found a (16MB) ST SPI compatible Flash Chip from Macronix

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

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

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

Erasing block: 1 (addr = 1C000000)...Done
Erasing block: 2 (addr = 1C010000)...
C:\Documents and Settings\Administrator>

 楼主| 发表于 2013-4-9 16:49:46 | 显示全部楼层
已救砖成功,并刷入最新的236 13.03.15的固件。谢谢大家的帮忙!
发表于 2013-4-16 21:11:45 | 显示全部楼层
买个编程器刷flash
xjingiii 该用户已被删除
发表于 2013-4-22 19:51:56 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2015-2-11 18:10:48 | 显示全部楼层
怎么解决的?
发表于 2015-10-25 19:20:54 | 显示全部楼层
楼主怎样救砖成功。怎么没有说。
发表于 2015-11-5 16:35:57 来自手机 | 显示全部楼层
要在纯dos下才可以刷jtag的,你搞个u盘启动,用电脑公司特别版的iso启动里面的dos模式,jtag命令第一次输入会提示不正确,你先关闭路由器电源,打好刷写的命令,然后回车后马上通电路由器,等大概20分钟就可以刷好
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-4-18 16:22 , Processed in 0.025659 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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