You are here

ECC Flash | Cypress Semiconductor

ECC Flash

Summary: 4 Replies, Latest post by U2 on 13 Feb 2012 10:15 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
trotis85's picture
33 posts


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 %).

user_460349's picture
1362 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.


trotis85's picture
33 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.


user_1377889's picture
9292 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)?



uday's picture
Cypress Employee
569 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.

Log in to post new comments.