Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > ECC Flash

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



ECC Flash
Moderator:
RKRM

Post Reply
Follow this topic



ECC Flash

trotis85 posted on 13 Feb 2012 2:29 AM PST
Top Contributor
33 Forum Posts

 Hi,

I want to use the ECC Flash space to save user data and dispose of 8KB extra Flash. To do this, I go to the System tab in Psoc Creator, and dissable the tick of Enable Error Correcting Code (ECC).

Therefore, It's supposed that now I have 64KB+8KB = 72KB of Flash, am I right?

Well, why when I program the device appears the typical message in green letters (showed below) and the Flash avaliable seems to be 64KB instead of 72KB? Thanks.

Flash used: 3679 of 65536 bytes (5.6 %).

SRAM used: 85 of 8192 bytes (1.0 %).




Re: ECC Flash

H L posted on 13 Feb 2012 04:13 AM PST
Top Contributor
679 Forum Posts

 That is a interesting question, But I think the extra flash can only be used for data and not program. the size of program flash is still only 65k. I think that also means it is up to the user to make sure the data usage is not exceeded.

 



Re: ECC Flash

trotis85 posted on 13 Feb 2012 04:46 AM PST
Top Contributor
33 Forum Posts

Thank's for your response IIeung.

Then, you mean that you can storage data with the functions of CyWriteRowConfig(Writes the ECC portion of a Flash row), for example, but this data can't be used into program memory, right? So you still having 64KB of memory program Flash.

 



Re: ECC Flash

Bob Marlowe posted on 13 Feb 2012 06:45 AM PST
Top Contributor
1768 Forum Posts

I remember to have read that the ECC could be used as configuration data (only). Isn't there the choice to put tem into ECC (just one line below)?

 

Bob



Re: ECC Flash

U2 posted on 13 Feb 2012 08:15 AM PST
Cypress Employee
589 Forum Posts

All your comments are absolutely right. You get 64K of Flash in the program space. The other 8K of Flash is either used as ECC or is used to store configuration data. You do not have the liberty to use it as normal Flash due to various reasons.






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20