4 Replies Latest reply on Feb 13, 2012 10:15 AM by udayanu_

    ECC Flash



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

        • 1. Re: ECC Flash

           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.

          • 2. Re: ECC Flash

            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.

            • 3. Re: ECC Flash

              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)?





              • 4. Re: ECC Flash

                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.