Please provide your valuable inputs here.!
As per section 8.4(AN11983) EEE driver copies data from FlexNVM to FlexRAM...When it will be happened...? and in which scenario this copying done, whether in after every reset or after every Write operation or after SETRAM command execution...?
Here my doubt is after copying data from FlexNVM to FlexRAM calculating 1st CRC on EEDATA. Later performing SETRAM command to switching from EERAM to SRAM, again switching back from SRAM to EERAM…what is the use of this switching...?
I understood because of switching from SRAM to FlexRAM data copied once again from FlexNVM to FlexRAM...Please correct if any mistake here. In this case also Same data copying to EERAM. what is the use of calculating 2nd CRC on same data...?
Please provide detailed description for the section 8.4.
Thanks in Advance.!
the data are copied from FlexNVM to FlexRAM after each reset if you have configured this during partition. This can be configured in FCCOB register, bit 0:
Second option is to use SETRAM command. If you use SETRAM command to configure the RAM as EEE RAM, the FTFC controller will copy the data. When you use the SETRAM command to configure the RAM as system RAM, the FTFC will write all FlexRAM with 0xFF.
And this can be used for checking: in first step, data are copied from FlexNVM to FlexRAM automatically after reset (if configured during partitioning) or you are supposed to use SETRAM command as described above. Now check the data using CRC. Then configure the FlexRAM as system RAM and then back to EEE RAM. This will cause that data are loaded again. Check "new" data using CRC again. If the CRCs are identical, data were copied correctly. If CRCs are different, it means that something went wrong during first or second copy down and the procedure should be repeated.