CYUSB3KIT-003 firmware link error, libgcc.a version missing.

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

cross mob
Anonymous
Not applicable

Hi Cypress, 

   

I am compiling the reference design but encounter the following error. 

   

It appears the version of the libgcc.a is missing. 

   

What can I do now? 

   

Thank you! 

   

 

   

cs-make all 
'Building target: USBBulkLoopAuto.elf'
'Invoking: ARM Sourcery Windows GCC C Linker'
arm-none-eabi-gcc  ./cyfx_gcc_startup.o ./cyfxbulklpauto.o ./cyfxbulklpdscr.o ./cyfxtx.o   -lD:/Program\ Files\ (x86)/Cypress/ARM\ GCC/lib/gcc/arm-none-eabi/4.8.1 -T"D:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/firmware/common/fx3.ld" -nostartfiles -L"D:\Program Files (x86)\Cypress\ARM GCC\lib\gcc\arm-none-eabi\4.8.1" -Wl,-Map,USBBulkLoopAuto.map -Wl,-d -Wl,--no-wchar-size-warning -Wl,--gc-sections -Wl,--entry,CyU3PFirmwareEntry "D:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "D:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "D:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "\arm-none-eabi\lib\libc.a" "\lib\gcc\arm-none-eabi\\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o"USBBulkLoopAuto.elf"
arm-none-eabi-gcc: error: Files\: No such file or directory
arm-none-eabi-gcc: error: (x86)/Cypress/ARM\: No such file or directory
arm-none-eabi-gcc: error: GCC/lib/gcc/arm-none-eabi/4.8.1: No such file or directory
arm-none-eabi-gcc: error: \arm-none-eabi\lib\libc.a: No such file or directory
arm-none-eabi-gcc: error: \lib\gcc\arm-none-eabi\\libgcc.a: No such file or directory
cs-make: *** [USBBulkLoopAuto.elf] Error 1

0 Likes
3 Replies
Anonymous
Not applicable

I managed to get it right by reinstalling the EZ USB suite. 

0 Likes
Anonymous
Not applicable

Update to the latest SDK(v1.3.3) and check.

0 Likes
Anonymous
Not applicable

Thank you. Reinstalled FX3DVKSetup_revSS.exe and it worked. 

   

Will take the adventure after my schedule is met. 

0 Likes