程序无法下载:Error: Flash controller is busy

Home 论坛 开发和更新问题 程序无法下载:Error: Flash controller is busy

正在查看 2 帖子:1-2 (共 2 个帖子)
  • 作者
    帖子
  • #2807
    byncebynce
    参与者

    D:\vega\rv32m1_sdk_riscv\boards\rv32m1_vega>openocd -f rv32m1_ri5cy.cfg
    Open On-Chip Debugger 0.10.0+dev-00433-g849f49ca (2019-01-04-07:48)
    Licensed under GNU GPL v2
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    adapter speed: 100 kHz
    srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
    Info : mohor tap selected
    Info : adv debug unit selected
    Info : Option 1 is passed to adv debug unit
    Info : core 0 selected
    Info : add flash_bank rv32m1 rv32m1.flash0
    Info : add flash_bank rv32m1 rv32m1.flash1
    Info : J-Link LPCXpresso V2 compiled Apr 4 2019 16:54:03
    Info : Hardware version: 1.00
    Info : VTarget = 3.300 V
    Info : clock speed 100 kHz
    Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Info : Listening on port 3333 for gdb connections
    Info : Listening on port 6666 for tcl connections
    Info : Listening on port 4444 for telnet connections
    Info : accepting ‘telnet’ connection on tcp/4444
    D:/vega/rv32m1_sdk_riscv/boards/rv32m1_vega
    Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
    ** Programming Started **
    auto erase enabled
    Info : Flash write discontinued at 0x00003092, next section at 0x000fff00
    Error: Flash controller is busy
    Error: failed erasing sectors 0 to 3
    embedded:startup.tcl:477: Error: ** Programming Failed **
    in procedure ‘program’
    in procedure ‘program_error’ called at file “embedded:startup.tcl”, line 536
    at file “embedded:startup.tcl”, line 477

    看着都正常. 为什么无法下载?

    #2808
    byncebynce
    参与者

    Open On-Chip Debugger
    > pwd
    D:/vega/rv32m1_sdk_riscv/boards/rv32m1_vega
    > program h.elf
    JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
    ** Programming Started **
    auto erase enabled
    Flash write discontinued at 0x00003092, next section at 0x000fff00
    Flash controller is busy
    failed erasing sectors 0 to 3
    embedded:startup.tcl:477: Error: ** Programming Failed **
    in procedure ‘program’
    in procedure ‘program_error’ called at file “embedded:startup.tcl”, line 536
    at file “embedded:startup.tcl”, line 477

    可以识别芯片接线应该正确. 但是无法下载,固件也升级为jlink

正在查看 2 帖子:1-2 (共 2 个帖子)
  • 抱歉,回复话题必需登录。