织女星开发板下载

Home 论坛 快速上手问题 织女星开发板下载

正在查看 3 帖子:1-3 (共 3 个帖子)
  • 作者
    帖子
  • #1022
    YunkaiBaiYunkaiBai
    参与者

    今天刚在北京路演领了一块织女星开发板,拿到手之后装完环境,准备搞个HelloWorld,build完成之后,Run的时候报错了。

    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: 1000 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 Sep 23 2016 12:14:15
    Info : Hardware version: 1.00
    Info : VTarget = 3.300 V
    Info : clock speed 1000 kHz
    Error: JTAG scan chain interrogation failed: all ones
    Error: Check JTAG interface, timings, target power, etc.
    Error: Trying to use configured scan chain anyway…
    Error: rv32m1.cpu: IR capture error; saw 0x0f not 0x01
    Warn : Bypassing JTAG setup events due to errors
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Couldn’t read the CPU state
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 1 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 2 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 3 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 4 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 5 of 5
    Error: Could not re-establish communication with target
    Error: Error while calling rv32m1_is_cpu_running
    Polling target rv32m1.cpu failed, trying to reexamine
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Couldn’t read the CPU state
    Examination failed, GDB will be halted. Polling again in 100ms
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 1 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 2 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 3 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 4 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 5 of 5
    Error: Could not re-establish communication with target
    Error: Error while calling rv32m1_is_cpu_running
    Polling target rv32m1.cpu failed, trying to reexamine
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Couldn’t read the CPU state
    Examination failed, GDB will be halted. Polling again in 300ms
    Info : Listening on port 3333 for gdb connections
    Started by GNU MCU Eclipse
    Info : Listening on port 6666 for tcl connections
    Info : Listening on port 4444 for telnet connections
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 1 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 2 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 3 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 4 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 5 of 5
    Error: Could not re-establish communication with target
    Error: Error while calling rv32m1_is_cpu_running
    Polling target rv32m1.cpu failed, trying to reexamine
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Couldn’t read the CPU state
    Examination failed, GDB will be halted. Polling again in 700ms
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 1 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 2 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 3 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 4 of 5
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Warn : Debug IF CPU control reg read failure.
    Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
    Info : adv debug unit is configured with option ADBG_USE_HISPEED
    Warn : …attempt 5 of 5
    Error: Could not re-establish communication with target
    Error: Error while calling rv32m1_is_cpu_running
    Polling target rv32m1.cpu failed, trying to reexamine
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Couldn’t read the CPU state
    Examination failed, GDB will be halted. Polling again in 1500ms
    Info : accepting ‘gdb’ connection on tcp/3333
    Warn : Target was in unknown state when halt was requested
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: Impossible to stall the CPU

    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
    Error: Burst read failed
    Error: auto_probe failed
    Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use ‘gdb_memory_map disable’.
    Error: attempted ‘gdb’ connection rejected

     

    上面是报错信息

    板子上的跳线帽该怎么连?

    J6—short

    J8—short

    J9—short

    J10–short

    J12–short

    我按照上面的连接的,有错吗?

    #1036
    HowardHoward
    参与者

    把J8,J9, J10 和J12都断开试试,如果不行,重新修改启动配置,参考《织女星开发板快速入门指南》的第三节启动配置

    #1368
    tangchuan127tangchuan127
    参与者

    解决了吗 请问

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