Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to compile firmware example

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



How to compile firmware example
Moderator:
RSKV

Post Reply
Follow this topic



How to compile firmware example

ylss posted on 11 Jun 2011 10:26 PM PST
Member
3 Forum Posts

hi

      I install fx3 SDK, but I did not know how to compile firmware  example using ARM-GCC& Eclipse.

     Can you give me some guide how to build our application  using  fx3 sdk.

    Can  you provide manual of ARM-GCC&Eclipse?

 




Re: How to compile firmware example

nxz posted on 15 Jun 2011 10:13 AM PST
Cypress Employee
6 Forum Posts

Hi,

Make sure that you have installed Eclipse IDE, ARM GCC tool chain and FX3 SDK first. Then you can import an example project from the SDK. Select the imported project and go to "Project" menu and select "Build Project".



Re: How to compile firmware example

nxz posted on 15 Jun 2011 10:15 AM PST
Cypress Employee
6 Forum Posts

You can also refer to "Getting Started with FX3 SDK" and "FX3 Programmers Manual" for details. Both documents are provided with the SDK.



Re: How to compile firmware example

glag posted on 01 Oct 2012 01:53 PM PST

1 Forum Post

 I have followed the "Getting Started" Document and the "FX3 Programmers Manual", and I am getting the same, consistent error for all firmware project examples included in SDK 1.2.  Below is a snippet of the error from one of the projects:

**** Build of configuration Debug for project cyfxbulklpauto_cpp ****

cs-make all 

'Building file: ../cyfx_gcc_startup.S'

'Invoking: ARM Sourcery Windows GCC Assembler'

arm-none-eabi-g++ -x assembler-with-cpp -D__CYU3P_TX__=1 -I"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.2\\firmware\u3p_firmware\inc" -Wall -c -fmessage-length=0 -Wno-write-strings -MMD -MP -MF"cyfx_gcc_startup.d" -MT"cyfx_gcc_startup.d" -mcpu=arm926ej-s -mthumb-interwork -g3 -gdwarf-2 -o"cyfx_gcc_startup.o" "../cyfx_gcc_startup.S"

The current directory is invalid.

cs-make: *** [cyfx_gcc_startup.o] Error 1

Any help is greatly appreciated.



Re: How to compile firmware example

Lumpi6 posted on 02 Oct 2012 01:51 AM PST
Top Contributor
183 Forum Posts

Hi,

maybe you do not have started the eclipse under administration rights. Try to start it under admin rights or re-install the FX3 SDK files under an other folder. Not in c: programs(x86).... try a folder which is not under control of windows (e. g. an other partition or create a new folder under C:\cypress\fx3 sdk) and try again.

regards

lumpi






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.