你好,
我今天升级到SDK 1.2.3。但是,USB视频类的例子不起作用。我遇到了2个问题:
1)Eclipse在构建项目时出错,有关ELF2IMG的信息不正确。我必须使用CMD手动运行它。以下是我使用的命令
CD C:程序文件(x86)CyPress EZ-USB FX3 SDK 1.2 U
tiLELF2IMG
Eff2im.EX-IC:用户 PNP29 WorkStudio UBVIEW类Debug UbVIEToCord.ELF-OC:\用户 PNP29 WorkStudioUBVIEWOCKEYDEBUGUBVIEWORTECH.IMG
2)将ELF转换成IMG后,使用USB控制中心将其加载到FX3上。然而,当我使用
matlab中的图像采集工具箱来查看图像时,Matlab无法识别FX3。在过去(1.2.3)之前,Matlab识别FX3并使用USB视频类IMG文件播放图像(CyPress杯)。
如果有人能给我一些关于如何解决这个问题的建议,我将非常感激。
当做,
馥
以上来自于百度翻译
以下为原文
Hello,
I upgraded to SDK 1.2.3 today. However, the USB Video Class Example doesn't work. There are 2 problems that I've encountered:
1) Eclipse gave an error when building the project, sth about ELF2IMG is not correct. I have to use cmd to run it manually. Here is the commands that I used
cd C:Program Files (x86)CypressEZ-USB FX3 SDK1.2utilelf2img
elf2img.exe -i C:Userspnp29workspaceUSBVideoClassDebugUSBVideoClass.elf -o C:Userspnp29workspaceUSBVideoClassDebugUSBVideoClass.img
2) After converting the elf to img, I loaded it onto FX3 using USB Control Center. However, when I use the Image Acquisition Toolbox in MATLAB to view the images, MATLAB doesn't recognize the FX3. In the past (before 1.2.3), MATLAB recognizes FX3 and play the images (the Cypress Cup) just fine using the USB Video Class img file.
I'll be very grateful if anyone can give me some suggestions on how to fix this issue.
Regards,
Phuc
0