Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

 Hello everybody

   

 

   

i am trying to use cyfxbulkstream for debugging. I followed FX3 programmers manual Chapter 12 on setting up the j-link debugger. Now when i try to build the project i get this errors

   

 

   

**** Build of configuration Debug for project USBBulkStreams ****

   

cs-make all 

   

'Building target: USBBulkStreams.elf'

   

'Invoking: ARM Sourcery Windows GCC C Linker'

   

arm-none-eabi-gcc  ./cyfx_gcc_startup.o ./cyfxbulkdscr.o ./cyfxbulkstreams.o ./cyfxtx.o    -T"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\firmware\common\fx3.ld" -nostartfiles -Wl,-Map,USBBulkStreams.map -Wl,-d -Wl,--no-wchar-size-warning -Wl,--entry,CyU3PFirmwareEntry "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a"  "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\lib\gcc\arm-none-eabi\4.5.2\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o"USBBulkStreams.elf"

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':

   

sbrkr.c:(.text+0x18): undefined reference to `_sbrk'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-writer.o): In function `_write_r':

   

writer.c:(.text+0x20): undefined reference to `_write'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-closer.o): In function `_close_r':

   

closer.c:(.text+0x18): undefined reference to `_close'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-fstatr.o): In function `_fstat_r':

   

fstatr.c:(.text+0x1c): undefined reference to `_fstat'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-isattyr.o): In function `_isatty_r':

   

isattyr.c:(.text+0x18): undefined reference to `_isatty'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-lseekr.o): In function `_lseek_r':

   

lseekr.c:(.text+0x20): undefined reference to `_lseek'

   

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-readr.o): In function `_read_r':

   

readr.c:(.text+0x20): undefined reference to `_read'

   

collect2: ld returned 1 exit status

   

cs-make: *** [USBBulkStreams.elf] Error 1

   

Do you have any idea what is wrong. I am missing something?

   

 

   

Regards

0 Likes
1 Reply
Anonymous
Not applicable

Meanwhile, I would reccomend you to create a tech support case, so that one of our engineer will help you regarding this.

   

Thanks,

   

sai krishna.

0 Likes