Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > PSoC1 code protection

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



PSoC1 code protection
Moderator:
ARVI

Post Reply
Follow this topic



PSoC1 code protection

novarex posted on 21 Apr 2010 3:08 AM PST

1 Forum Post

We wish to protect our embedded PSoC1 code against attempts to read the code out of programmed chips and reverse engineer it and copy it to other devices. Can anyone point me to documentation describing the level of code protection and any settings that may be required during device programming in order to ensure that code cannot be read out of programmed PSoC1 devices?

Regards,

David Drori




Re: PSoC1 code protection

psproject posted on 26 May 2010 10:45 AM PST

1 Forum Post

I have the same doubt and I am really SURPRISED that noone has answered this question.
 



Re: PSoC1 code protection

rolf posted on 26 May 2010 11:18 AM PST
Top Contributor
81 Forum Posts

Hi,

PSoC1 Code protection is really easy:

Go to Workspace Explorer and open flashsecurity.txt in your project. You are able to change the protection setting for each block of flash, with the following options:

W: Full: SROM READ     EXTERNAL READ    EXTERNAL WRITE    INTERNAL WRITE
R: Field Upgrade SROM READ     EXTERNAL READ    EXTERNAL WRITE    INTERNAL WRITE
F: Factory   SROM READ   EXTERNAL READ    EXTERNAL WRITE    INTERNAL WRITE
U: Unprotected   SROM READ   EXTERNAL READ    EXTERNAL WRITE    INTERNAL WRITE

The Flash settings will be embedded withing the HEX file and automatically programmed according to while programming.

Regards,
Rolf
 



Re: PSoC1 code protection

PSP posted on 02 Aug 2011 03:09 AM PST

1 Forum Post

 Thaknyou Rolf. This really helps. Other documentation was little confusing.

So we need to keep setting to "w" to prevent theft of our firmware!






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