Hi Daniel,
In the flash program, sourceBuffer is used to demonstrate writing to p-Flash and FlexRAM.

For your Information: I have captured below screenshots after running the complete program in debug mode and when execution is at the end of main().
With reference to writing sourceBuffer to 6th sector(6*4096 = 0x00006000) of p-Flash, everything works good.

Below is the screenshot captured after writing some values to FlexRAM.

According to you EEE operation will take place in background and whenever data is written to FlexRAM it will update E-Flash. But in below screenshot, I don't see the values updated in E-Flash. This is my doubt.
But when board is rebooted above values are available in FlexRAM at same memory locations :smileyhappy:

I would like to write a log file(10KB size) which goes beyond FlexRAM size. In this case to which address of E-flash is log written ?
If EEPROM backup size is more than 4KB, then what part of E-flash is copied to FlexRAM ?
I understand E-flash size is 64KB, I want to make use of complete E-flash for saving critical data as EEPROM backup. Please guide.
Thanks
Mohan