

解決方法:https://www.rvmcu.com/community-community-topic-id-95-page-1.html
一句话:
e200_opensource/fpga/hbirdkit/script/board.tcl 把 xc7a75tfgg484-2 改成 xc7a100tfgg484-2
在确实没有检测到驱动的情况下的报错是这样的 Info : auto-selecting first available session transport "jtag". To override use 'transport select '. Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: no device found Error: unable to open ftdi device with vid 0403, pid 6010, description 'Dual RS232-HS', serial '*' at bus location '*' Warn : Flash driver of my_first_flash does not support free_driver_priv() 所以有没有可能不是驱动的问题...?
libusb的报错大概率是驱动问题了
确实是驱动问题,要不试试驱动精灵一类的。
在确实没有检测到驱动的情况下的报错是这样的 Info : auto-selecting first available session transport "jtag". To override use 'transport select '. Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: no device found Error: unable to open ftdi device with vid 0403, pid 6010, description 'Dual RS232-HS', serial '*' at bus location '*' Warn : Flash driver of my_first_flash does not support free_driver_priv() 所以有没有可能不是驱动的问题...?
我这属性是Nuclei,和您的不一样诶,可以去芯来科技官网下载驱动,在开发板那个页面有下载链接,用这个再试一下。
我试了一下,也成功检测到是Nuclei了,然而报了完全相同的错
重装过好多次了……可以检测到Dual RS232 属性里也能看到是SiFive的
我这属性是Nuclei,和您的不一样诶,可以去芯来科技官网下载驱动,在开发板那个页面有下载链接,用这个再试一下。
您的这个错误提示是驱动问题呢,尝试重装一下驱动,检查一下驱动是否正确安装上了。
重装过好多次了……可以检测到Dual RS232 属性里也能看到是SiFive的
类似的问题,调了好多次了,蜂鸟调试器没有问题,pc端也识别到了,是官方提供的openocd的问题吗0.0 Info : auto-selecting first available session transport "jtag". To override use 'transport select '. Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND 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: riscv.cpu: IR capture error; saw 0x1f not 0x01 Warn : Bypassing JTAG setup events due to errors Error: Unsupported DTM version: 15 Info : Listening on port 3333 for gdb connections Error: Target not examined yet Error: Unsupported DTM version: 15 Warn : Flash driver of my_first_flash does not support free_driver_priv()
您的这个错误提示是驱动问题呢,尝试重装一下驱动,检查一下驱动是否正确安装上了。
好的,那么下载之后串口有输出么
类似的问题,调了好多次了,蜂鸟调试器没有问题,pc端也识别到了,是官方提供的openocd的问题吗0.0 Info : auto-selecting first available session transport "jtag". To override use 'transport select '. Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND 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: riscv.cpu: IR capture error; saw 0x1f not 0x01 Warn : Bypassing JTAG setup events due to errors Error: Unsupported DTM version: 15 Info : Listening on port 3333 for gdb connections Error: Target not examined yet Error: Unsupported DTM version: 15 Warn : Flash driver of my_first_flash does not support free_driver_priv()
好的,辛苦您了。那么目前是确定了不是fpga型号不对应或者vivado烧的时候flash选择错误是吧,那您等我看看有没有Arty A7开发板,我这里看一下是不是有一样的问题再来给您回复。
是的,FPGA型号是经过Hardware Manager连接后确认的,flash型号和官方教程不同,vivado会自动检测到的板载flash型号为s25fl128sxxxxxx0-spi-x1_x2_x4。非常感谢您的热心帮助!
感谢您的提示,我重新确认了并烧写了一遍,依然提示先前的错误
好的,辛苦您了。那么目前是确定了不是fpga型号不对应或者vivado烧的时候flash选择错误是吧,那您等我看看有没有Arty A7开发板,我这里看一下是不是有一样的问题再来给您回复。
嗯嗯是的,我的mcs文件烧写正确了,因为成功把小灯点亮了(默认拉高LED电平,按RESET键后小灯亮,说明软核已经烧写进去)
这个只能证明烧进去了MCS,但是未必mcs就是对应的,还请您再根据板子fpga型号确认一下
如果没有输出的话根据板子上fpga型号和flash型号,和mcs一致,vivado也一致后重新烧一下MCS试一下,也请确保烧进去的时候SDK是完整的。
嗯嗯是的,我的mcs文件烧写正确了,因为成功把小灯点亮了(默认拉高LED电平,按RESET键后小灯亮,说明软核已经烧写进去)