Forum Discussion
Hi,
May I know if you update CFM1 and CFM2? Could you provide me the step that you use to update it?
- Shiva6 years ago
New Contributor
Hi,
I am updating CFM1 and then CFM2.
ERASE OPERATION:
Before writing data to CFM1 and CFM2, i am erasing the on chip flash memory(CFM1 & CFM2) by disabling the write protection and giving the sector to be erased and then enabling the write protection.
WRITE OPERATION:
After erase operation i am disabling the write protection of CFM1 sector and giving the starting address, write enable and write data, burst count to '1'(parallel) and continuing this process till it reaches the end address of the CFM1 sector and then enabling the write protection of CFM1 and disabling the write protection of CFM2 and continuing the above process till it reaches the end address of CFM2 and enabling back the write protection.
READ OPERATION:
After write operation i am disabling the respective sectors write protection ,giving the address,burst count to '1'(parallel),read enable and waiting for the readdatavalid and then collecting the data. I am continuing this process by incrementing the address till i receive the entire data.
RECONFIGURATION:
After all these i am triggering the reconfiguration.
In each and every operation i am checking the erase success,write success and read success.
NOTE: Here the read operation is performing only to verify the data.
Regards,
Shiva.