Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals

jawu_4351971
Level 3
First like given
Level 3

给CX3下载image需要哪些vendor命令,我现在是使用libusb自己做的上位机,没有使用咱们官方的库。请问实现下载功能需要操作,有没有相关的文档?

0 Likes
1 Solution
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

您好,您这边可以参考libcyusb.cpp 其中有cyusb_download_fx3这个函数的源码。

View solution in original post

4 Replies
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

您好,您这边可以参考libcyusb.cpp 其中有cyusb_download_fx3这个函数的源码。

jawu_4351971
Level 3
First like given
Level 3
但是关键的源码看不到,比如这个,dwld_status = m_usbDevice->DownloadFw(filepath,(tgt == FW_TARGET_I2C)?I2CE2PROM:SPIFLASH);

0 Likes
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

你说的这个DownloadFw是在哪个文件里的?

0 Likes
jawu_4351971
Level 3
First like given
Level 3

抱歉,理解错了,已经在git上找到你说的文件,谢谢

0 Likes