Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Keil C51 compiler and PSoC 3

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



Keil C51 compiler and PSoC 3
Moderator:
RBYN

Post Reply
Follow this topic



Keil C51 compiler and PSoC 3

Robert-CY posted on 18 Feb 2011 3:28 PM PST
Cypress Employee
126 Forum Posts

In case somebody does not know, PSoC 3 is based on a C51 core that runs in single cycle execution up to 67 MHz. That is a CPU performance of 67x compared to the original 80C51 running at 12 MHz with 12 cycles / intruction. 

Just for reference, PSoC 5 is based on a Cortex-M3

No device is good without supporting tools that create excellent code. Cypress has teamed up with Keil to provide the best 80C51 C-compiler with the most powerful chip with the 80C51 core on the market. Price for the tool?  IT IS FREE!

You can download PSoC Creator including the Keil C51 compiler from the Cypress website.

You might wonder if there are any restrictions for the compiler and the answer is "Yes"

Yeah, now comes the catch. Well, you can only use this implementation with Cypress PSoC 3 devices and the version is 8.16. The IDE is Creator, not uVision because Creator is what you need to create your own chip.

Hope you like tha fact that you get development tools worth thousands of $$ for free!

If you have any questions about Cypress and Keil, feel free to ask right here in the forum.

Have fun exploring the incredible possibilities that PSoC 3 offers with Creator and the Keil C51 compiler

Cheers, Robert

More information about Keil and PSoC

Keil compiler registration

Keil compiler licensing if one is already installed

Limit of optimization in the free Keil compiler




Re: Keil C51 compiler and PSoC 3

Azlan posted on 21 Feb 2011 08:21 AM PST
Senior Member
12 Forum Posts

 uVision allows setting the code editor font and size where creator does not.



Re: Keil C51 compiler and PSoC 3

marshg1 posted on 07 Mar 2013 01:18 PM PST
Member
5 Forum Posts

The free C51 that comes with PSoC Creator does do some optimization, but it wasn't adequate enough for us so we went ahead and purchased the Keil CA51.  Here is the version that we downloaded from the Keil web page:  C51 V9.51a.  It installs uVision 4.  How do you get PSoC creator to use the C51 compiler in uVision?



Re: Keil C51 compiler and PSoC 3

yfs posted on 20 Mar 2013 05:43 PM PST
Cypress Employee
101 Forum Posts

You can select the compiler from the Project->Build Settings dialog. Pick "DP8051 Keil Generic" from the Toolchain pull-down. Note that you need to do this in every project (a feature to choose your default compiler is on the works).

Picking the compiler from the Build Settings dialog

 

Depending upon where you installed the compiler, you may also need to tell the tool where to find it. In the Tools->Options dialog. Under Project Management / Generic Toolchains add the full path to the compiler.

Setting the location of the generic compiler

Re: Keil C51 compiler and PSoC 3

yfs posted on 20 Mar 2013 05:44 PM PST
Cypress Employee
101 Forum Posts

Here is the image I managed to fail to add to the last post!

 



Re: Keil C51 compiler and PSoC 3

Learn posted on 14 Aug 2013 05:48 PM PST
Member
2 Forum Posts

 I just get Keil license and download and installed the latest version c51v952.exe.

In the PSoc Creator, Tools\Option\Generic Toolchains I put C:\Keil\C51\BIN in DP8051Keil Generic.

But I cannot find C:\Keil\ARM\ARMCC\BIN in my C:\Keil folder

What should I put in ARM MDK Generic ?



Re: Keil C51 compiler and PSoC 3

danaaknight posted on 15 Aug 2013 03:31 AM PST
Top Contributor
3997 Forum Posts

In my installation these paths all empty, looks like a default is in effect.

 

That being said I would think entry should be, based on my distribution, C:\Keil\ARM\BIN

 

Regards, Dana.



Re: Keil C51 compiler and PSoC 3

danaaknight posted on 15 Aug 2013 03:39 AM PST
Top Contributor
3997 Forum Posts

Something about his post does not look right, given this is PSOC 3, which

is not ARM, you might contact author and ask for clarification.

 

Regards, Dana.



Re: Keil C51 compiler and PSoC 3

danaaknight posted on 15 Aug 2013 03:44 AM PST
Top Contributor
3997 Forum Posts

Or contact Robert, thread originator, rtcy@cypress.com, and ask he pass

onto yfs, Mark, include the thread link and ask Mark why he was parametizing

ARM build settings on a PSOC 3.

 

Regards, Dana.



Re: Keil C51 compiler and PSoC 3

zeta posted on 15 Aug 2013 08:41 AM PST
Top Contributor
351 Forum Posts

You will get the C:\Keil\ARM\ARMCC\BIN in your C:\Keil folder when you install the MDK-ARM Microcontroller Development Kit. You could buy a licence or download the lite version.

In the mean time just leave it as it was by default.



Re: Keil C51 compiler and PSoC 3

Learn posted on 15 Aug 2013 09:16 AM PST
Member
2 Forum Posts

 Since my installed folder Keil do not have ARM sub-folder so that I leave this path not selected.

When I compile Creator sample project :Music_Creation, It generate 151 errors: something like:

 L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL: _iAP2_SendPacket

 

How can I resolve these errors? 



Re: Keil C51 compiler and PSoC 3

Bob Marlowe posted on 15 Aug 2013 11:03 AM PST
Top Contributor
3505 Forum Posts

Robert left Cypress one year ago, better try to find someone else or file a technical case.

 

Bob






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: 06/15/20