Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Need help to convert .C code(Keil) for use it with FX2LP.

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



Need help to convert .C code(Keil) for use it with FX2LP.
Moderator:
RSKV

Post Reply
Follow this topic



Need help to convert .C code(Keil) for use it with FX2LP.

electrosys posted on 07 May 2011 1:29 AM PST
Member
4 Forum Posts

Hello Form,

This is a (uVision2 Project) Keil .C code, wrote for W78E516B microcontroller which is fully compatible with standard  8052. I would like to convert this .C code for use it with FX2LP board. I have tried to configure and redefine the (5)Pins so I  could use the FX2LP Pins instead, and I also tried to change the #include files, but I had no luck until now. I would be more then happy if some one could help me with this, and set me on the right direction.

The code is for drive a SPI LCD which has the ST7735 as driver and I have attached to this post.

Thank you




Re: Need help to convert .C code(Keil) for use it with FX2LP.

aasi posted on 08 Jun 2011 03:02 AM PST
Cypress Employee
1090 Forum Posts

Hi Electrosys,

The 8052 is using P2 (Port 2 notation). Changing the syntax to match keil and mapping the port one of the ports (Port A, B, C, D or E) in FX2LP should get you going.

Have you made progress on this or do you still need help?

Regards,

Anand






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.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20