🔍 搜索帖子 / 资讯 / 芯片型号…
论坛/开源蜂鸟E203/e203 make upload上传失败
e203 make upload上传失败
开源蜂鸟E203 作者 jack 发布于 2020-04-05 14:39(2378 天前) 35682 浏览

解決方法:https://www.rvmcu.com/community-community-topic-id-95-page-1.html

一句话:

e200_opensource/fpga/hbirdkit/script/board.tcl 把 xc7a75tfgg484-2 改成 xc7a100tfgg484-2

全部回复 47
KY
KY1977 天前 · 1 楼
回复 JD:

请问你是怎么解决的?我也遇到了完全相同的问题,尝试了许多办法也没搞定。多谢!

请问解决·了吗?

领主文
领主文2358 天前 · 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的报错大概率是驱动问题了

雷哥
雷哥2358 天前 · 3 楼
回复 领主文:

确实是驱动问题,要不试试驱动精灵一类的。

在确实没有检测到驱动的情况下的报错是这样的 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() 所以有没有可能不是驱动的问题...?

领主文
领主文2359 天前 · 4 楼
回复 雷哥:

我试了一下,也成功检测到是Nuclei了,然而报了完全相同的错

确实是驱动问题,要不试试驱动精灵一类的。

雷哥
雷哥2359 天前 · 5 楼
回复 领主文:

我这属性是Nuclei,和您的不一样诶,可以去芯来科技官网下载驱动,在开发板那个页面有下载链接,用这个再试一下。

我试了一下,也成功检测到是Nuclei了,然而报了完全相同的错

领主文
领主文2359 天前 · 6 楼
回复 雷哥:

重装过好多次了……可以检测到Dual RS232 属性里也能看到是SiFive的

我这属性是Nuclei,和您的不一样诶,可以去芯来科技官网下载驱动,在开发板那个页面有下载链接,用这个再试一下。

雷哥
雷哥2359 天前 · 7 楼
回复 领主文:

您的这个错误提示是驱动问题呢,尝试重装一下驱动,检查一下驱动是否正确安装上了。

重装过好多次了……可以检测到Dual RS232 属性里也能看到是SiFive的

领主文
领主文2359 天前 · 8 楼
回复 雷哥:

类似的问题,调了好多次了,蜂鸟调试器没有问题,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()

您的这个错误提示是驱动问题呢,尝试重装一下驱动,检查一下驱动是否正确安装上了。

雷哥
雷哥2359 天前 · 9 楼
回复 领主文:

好的,那么下载之后串口有输出么

类似的问题,调了好多次了,蜂鸟调试器没有问题,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()

栖梧
栖梧2364 天前 · 10 楼
回复 领主文:

好的,辛苦您了。那么目前是确定了不是fpga型号不对应或者vivado烧的时候flash选择错误是吧,那您等我看看有没有Arty A7开发板,我这里看一下是不是有一样的问题再来给您回复。

是的,FPGA型号是经过Hardware Manager连接后确认的,flash型号和官方教程不同,vivado会自动检测到的板载flash型号为s25fl128sxxxxxx0-spi-x1_x2_x4。非常感谢您的热心帮助!

领主文
领主文2364 天前 · 11 楼
回复 栖梧:

感谢您的提示,我重新确认了并烧写了一遍,依然提示先前的错误

好的,辛苦您了。那么目前是确定了不是fpga型号不对应或者vivado烧的时候flash选择错误是吧,那您等我看看有没有Arty A7开发板,我这里看一下是不是有一样的问题再来给您回复。

栖梧
栖梧2364 天前 · 12 楼
回复 领主文:

这个只能证明烧进去了MCS,但是未必mcs就是对应的,还请您再根据板子fpga型号确认一下

感谢您的提示,我重新确认了并烧写了一遍,依然提示先前的错误

领主文
领主文2364 天前 · 13 楼
回复 栖梧:

嗯嗯是的,我的mcs文件烧写正确了,因为成功把小灯点亮了(默认拉高LED电平,按RESET键后小灯亮,说明软核已经烧写进去)

这个只能证明烧进去了MCS,但是未必mcs就是对应的,还请您再根据板子fpga型号确认一下

栖梧
栖梧2364 天前 · 14 楼
回复 领主文:

如果没有输出的话根据板子上fpga型号和flash型号,和mcs一致,vivado也一致后重新烧一下MCS试一下,也请确保烧进去的时候SDK是完整的。

嗯嗯是的,我的mcs文件烧写正确了,因为成功把小灯点亮了(默认拉高LED电平,按RESET键后小灯亮,说明软核已经烧写进去)

栖梧
栖梧2364 天前 · 15 楼
回复 领主文:

好的,那么下载之后串口有输出么

没有呀,这个问题其实是openocd检测不出jtag,但我的配置文件是读到了的

💡 请 登录 后参与讨论(微信扫码即登录/注册)