RISC-V MCU中文社区

【求助】 [求助] MCU200T开发板下载程序时openocd报错

发表于 开源蜂鸟E203 2023-12-01 03:06:16
7
3002
1

操作系统版本:ubuntu 20.04 Desktop
IDE版本:NucleiStudio IDE 202310 Lin64
开发板型号:MCU-200T

我使用vivado将E203的mcs文件(确认在编译时指定了MCU200T)烧录到FPGA后。使用NucleiStudio将helloworld示例下载到板卡,有如下报错

Info : Using libusb driver
Info : clock speed 1000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)
Info : [riscv.cpu] Found 0 triggers
halted at 0x200000b2 due to debug interrupt
Info : Examined RISCV core; XLEN=32, misa=0x40001105
[riscv.cpu] Target successfully examined.
Info : starting gdb server for riscv.cpu on 3333
Info : Listening on port 3333 for gdb connections
Error: Device ID 0x1e200a6d is not known as FESPI capable
Error: auto_probe failed

hello world程序的编译没有报错,编译选项如下:

在论坛中没有搜索到相同的问题,刚开始接触硬件开发,请各位大佬帮忙解答!
非常感谢

喜欢1
用户评论 (7)
  • switch

    2024-01-09 18:55:10 switch 1#

    海风

    非常感谢,关于“  Device ID 0x1e200a6d is not known as FESPI capable”的报错目前解决了,但是仍旧无法顺利下载程序,后续又出现新的报错如下:


    ```

    Info : Using libusb driver

    Info : clock speed 1000 kHz

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    Info : [riscv.cpu] Found 0 triggers

    halted at 0x20000240 due to debug interrupt

    Info : Examined RISCV core; XLEN=32, misa=0x40001105

    [riscv.cpu] Target successfully examined.

    Info : starting gdb server for riscv.cpu on 3333

    Info : Listening on port 3333 for gdb connections

    Info : Valid NUSPI on device Nuclei SoC SPI Flash at address 0x20000000 with spictrl regbase at 0x10014000

    Info : Nuclei SPI controller version 0x00000000

    Info : Found flash device 'gd gd25q32c' (ID 0x001640c8)

    cleared protection for sectors 0 through 63 on flash bank 0


    Started by GNU MCU Eclipse

    Info : Listening on port 6666 for tcl connections

    Info : Listening on port 4444 for telnet connections

    Info : accepting 'gdb' connection on tcp/3333

    Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    Error: TODO: debug_execution is true

    Error: Failed to execute algorithm at 0x80000000: -4

    Error: error writing to flash at address 0x20000000 at offset 0x00000000

    halted at 0x20000240 due to debug interrupt

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    halted at 0x20000240 due to debug interrupt

    Info : dropped 'gdb' connection

    shutdown command invoked

    ```

    你好,问一下,你有解决这个问题吗,我现在也遇到了相同的问题

  • 海风

    2023-12-05 17:45:53 海风 2#

    admin

    因为openocd变更,您需要修改一下hbird_sdk/SoC/hbirdv2/Board/mcu200t/openocd_hbirdv2.cfg中25行,将fespi改成nuspi


    非常感谢,关于“  Device ID 0x1e200a6d is not known as FESPI capable”的报错目前解决了,但是仍旧无法顺利下载程序,后续又出现新的报错如下:


    ```

    Info : Using libusb driver

    Info : clock speed 1000 kHz

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    Info : [riscv.cpu] Found 0 triggers

    halted at 0x20000240 due to debug interrupt

    Info : Examined RISCV core; XLEN=32, misa=0x40001105

    [riscv.cpu] Target successfully examined.

    Info : starting gdb server for riscv.cpu on 3333

    Info : Listening on port 3333 for gdb connections

    Info : Valid NUSPI on device Nuclei SoC SPI Flash at address 0x20000000 with spictrl regbase at 0x10014000

    Info : Nuclei SPI controller version 0x00000000

    Info : Found flash device 'gd gd25q32c' (ID 0x001640c8)

    cleared protection for sectors 0 through 63 on flash bank 0


    Started by GNU MCU Eclipse

    Info : Listening on port 6666 for tcl connections

    Info : Listening on port 4444 for telnet connections

    Info : accepting 'gdb' connection on tcp/3333

    Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    Error: TODO: debug_execution is true

    Error: Failed to execute algorithm at 0x80000000: -4

    Error: error writing to flash at address 0x20000000 at offset 0x00000000

    halted at 0x20000240 due to debug interrupt

    Info : JTAG tap: riscv.cpu tap/device found: 0x1e200a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0xe200, ver: 0x1)

    halted at 0x20000240 due to debug interrupt

    halted at 0x20000240 due to debug interrupt

    Info : dropped 'gdb' connection

    shutdown command invoked

    ```

  • admin

    2023-12-05 10:39:50 admin 3#

    因为openocd变更,您需要修改一下hbird_sdk/SoC/hbirdv2/Board/mcu200t/openocd_hbirdv2.cfg中25行,将fespi改成nuspi


  • dongyong

    2023-12-04 16:40:17 dongyong 4#

    换到windows下试试,我没遇到过  Device ID 0x1e200a6d is not known as FESPI capable



    The error message "Device ID 0x1e200a6d is not known as FESPI capable" suggests that the device with the given ID is not recognized as having FESPI (Fast External Serial Peripheral Interface) capability. FESPI is a high-speed interface for connecting external flash memory to microcontrollers or other embedded systems.  

  • 海风

    2023-12-02 00:49:43 海风 5#

    在ubuntu中启动NucleiStudio有如下报错,是否有影响

    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.config.elf.debug for element type Configuration.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.toolchain.elf.debug for element type ToolChain.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.targetPlatform for element type TargetPlatform.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.config.elf.release for element type Configuration.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.toolchain.elf.release for element type ToolChain.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnumcueclipse.managedbuild.cross.riscv.targetPlatform for element type TargetPlatform.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug for element type Configuration.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedbuild.cross.toolchain.elf.debug for element type ToolChain.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedbuild.cross.config.elf.release for element type Configuration.
    
    Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedbuild.cross.toolchain.elf.release for element type ToolChain.
    
    Toolchain 'RISC-V Nuclei GCC' has custom ID '393615029' instead of '3901352267'
    Toolchain 'xPack GNU RISC-V Embedded GCC' has custom ID '2273142913' instead of '2273142912'
    
    (NucleiStudio:4388): Gtk-CRITICAL **: 00:46:45.368: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
    Update Check...
    Tool custom variable initialization...

  • 海风

    2023-12-02 00:43:34 海风 6#

    小白two

    之前有出现过类似的情况,在vivado烧写完后,断开烧写器连接,再连接蜂鸟烧写器下程序。试试能不能解决你的问题。

    我试过。特意在vivodo烧写完以后,断开下载器。然后链接蜂鸟的调试器下程序,但还是这个报错。

  • 小白two

    2023-12-01 11:44:02 小白two 7#

    之前有出现过类似的情况,在vivado烧写完后,断开烧写器连接,再连接蜂鸟烧写器下程序。试试能不能解决你的问题。

海风

海风 实名认证

懒的都不写签名

积分
问答
粉丝
关注
  • RV-STAR 开发板
  • RISC-V处理器设计系列课程
  • 培养RISC-V大学土壤 共建RISC-V教育生态
RV-STAR 开发板