Error in USB video class

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

cross mob
Divya_y
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi,
I have been working on the given example for UVC packets
How to Implement an Image Sensor Interface Using EZ-USB FX3 in a USB Video Class (UVC) Framework (cy...

I have done the state machines as per this above link and downloaded the sdk for USB Video Class and created a workspace in eclipse, below is the link where i have downloaded the SDK files
https://www.cypress.com/documentation/development-kitsboards/ez-usb-fx3-hd-720p-camera-kit
https://www.cypress.com/file/158336/download

As I am getting error , please let me know if anyone has the solution for it, below is the error which i have obtained
arm-none-eabi-gcc: error: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\\lib\gcc\arm-none-eabi\4.5.2\libgcc.a: No such file or directory
cs-make: *** [cyfxuvc.elf] Error 1

Thank you

0 Likes
1 Solution

Hello Divya,

I hope you are working with the project downloaded from the following link:

https://www.cypress.com/documentation/development-kitsboards/ez-usb-fx3-hd-720p-camera-kit
https://www.cypress.com/file/158336/download

If yes, then please follow the steps given below:

1. Import the project into EZ-USB Suite

2. Right click on the project and select Properties.

3. Change the default "Other flags" setting in the snapshot given below:

JayakrishnaT_76_0-1631621981978.png

 

to 

-Wl,-d -Wl,--no-wchar-size-warning -Wl,--gc-sections -Wl,--entry,CyU3PFirmwareEntry "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "${ARMGCC_INSTALL_PATH}\arm-none-eabi\lib\libc.a" "${ARMGCC_INSTALL_PATH}\lib\gcc\arm-none-eabi\4.8.1\libgcc.a"

4. After this, click on Apply and then click OK.

5. Please try building the project once again.

I was able to build the project correctly by following the steps mentioned above.

Also, if you are looking for a UVC project based on AN75779, then you can download it directly from the following link:

https://www.cypress.com/documentation/application-notes/an75779-how-implement-image-sensor-interface...

This is the latest project based on AN75779.

Best Regards,
Jayakrishna

View solution in original post

0 Likes
5 Replies
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

Please confirm that you have downloaded the FX3 SDK. The FX3 SDK can be downloaded from the following link:

https://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit

After downloading and installing the SDK, please try to import the project into EZ-USB Suite and try to build the project.

Please let me know if you still face the error after trying the suggestions mentioned above.

Best Regards,
Jayakrishna
0 Likes

Hi,
I have downloaded it from the given link.
To reconfirm i have just uninstalled and once again installed the SDK and imported the project into EZ-USB Suite and tried to build, still i have the same error as said earlier.

Thank you.

Regards,
Divya

0 Likes

Hello Divya,

I hope you are working with the project downloaded from the following link:

https://www.cypress.com/documentation/development-kitsboards/ez-usb-fx3-hd-720p-camera-kit
https://www.cypress.com/file/158336/download

If yes, then please follow the steps given below:

1. Import the project into EZ-USB Suite

2. Right click on the project and select Properties.

3. Change the default "Other flags" setting in the snapshot given below:

JayakrishnaT_76_0-1631621981978.png

 

to 

-Wl,-d -Wl,--no-wchar-size-warning -Wl,--gc-sections -Wl,--entry,CyU3PFirmwareEntry "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "${ARMGCC_INSTALL_PATH}\arm-none-eabi\lib\libc.a" "${ARMGCC_INSTALL_PATH}\lib\gcc\arm-none-eabi\4.8.1\libgcc.a"

4. After this, click on Apply and then click OK.

5. Please try building the project once again.

I was able to build the project correctly by following the steps mentioned above.

Also, if you are looking for a UVC project based on AN75779, then you can download it directly from the following link:

https://www.cypress.com/documentation/application-notes/an75779-how-implement-image-sensor-interface...

This is the latest project based on AN75779.

Best Regards,
Jayakrishna
0 Likes

Hi,
Thank you for your support, the solution worked for me.
And also downloaded the latest project.

Regards,
Divya 

0 Likes

Hello Divya,

We are glad to hear that the issue is fixed.

Best Regards,
Jayakrishna
0 Likes