Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > fx3 j-link debugging

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



fx3 j-link debugging
Moderator:
RSKV

Post Reply
Follow this topic



fx3 j-link debugging

m_pasovic posted on 19 Jul 2012 11:18 AM PST
Senior Member
11 Forum Posts

 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

 

 

 

 




Re: fx3 j-link debugging

RSKV posted on 20 Jul 2012 08:40 AM PST
Cypress Employee
655 Forum Posts

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.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.