ECC Flash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
4 Replies
Anonymous
Not applicable

 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.

0 Likes
Anonymous
Not applicable

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.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

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.

0 Likes