1 Reply Latest reply on Oct 22, 2016 1:54 AM by Madhu Lakshmipathy

    eclipse debug problem:cyu3device.c:553: undefined reference to `CyU3PToolChainInit'

    1418559882_1880146

      'Building target: slave.elf'
      'Invoking: ARM Sourcery Windows GCC C Linker'
      arm-none-eabi-gcc -T"E:\CYPRESS\firmware\fx3_sdk_1_3_3_src\fx3_sdk_1_3_3_src\sdk\build\fx3.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,slave.map -Wl,-d -Wl,--no-wchar-size-warning -Wl,--entry,CyU3PFirmwareEntry "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "E:\CYPRESS\ARM GCC\\arm-none-eabi\lib\libc.a" "E:\CYPRESS\ARM GCC\\lib\gcc\arm-none-eabi\4.8.1\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o "slave.elf"
      E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3device.o): In function `CyU3PFirmwareEntry':
      e:\views\antioch_fx3_build_view_puri\software\products\usb30\sdk\firmware\src\system/cyu3device.c:553: undefined reference to `CyU3PToolChainInit'
      E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3entry.o): In function `__CyU3PEntryKeep':
      cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x34): undefined reference to `CyU3PUndefinedHandler'
      cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x3c): undefined reference to `CyU3PPrefetchHandler'
      cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x40): undefined reference to `CyU3PAbortHandler'
      E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3system.o): In function `CyU3PSysCheckBootState':
      (i.CyU3PSysCheckBootState+0x54): undefined reference to `CyU3PMemCopy'
      e:/cypress/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: slave.elf: hidden symbol `CyU3PUndefinedHandler' isn't defined
      e:/cypress/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: final link failed: Bad value
      collect2.exe: error: ld returned 1 exit status

         

      How to solve the problem like this?