Hi Ankur,
Thanks for your reply.
I did an update of CodeWarrior and noticed that the linker file changed from the previous version.
The main difference I noticed is as follows:
Old version linker file :
.p_flash_ROM_data (RX) : ORIGIN = 0x001800, LENGTH = 0x001800 # internal xRAM data mirror
# for pROM-to-xRAM copy
## Data Memory space
.x_internal_RAM_code (RW) : ORIGIN = 0x000000, LENGTH = 0x001800 # alias of 60000 for program space
.x_internal_RAM_data (RW) : ORIGIN = 0x001800, LENGTH = 0x001800 # alias of 60000 for program space
New version linker file:
.p_flash_ROM_data (RX) : ORIGIN = 0x000000, LENGTH = 0x003000 # internal xRAM data mirror
# for pROM-to-xRAM copy
## Data Memory space
#.x_internal_RAM_code (RW) : ORIGIN = 0x000000, LENGTH = 0x001800 # alias of 60000 for program space
.x_internal_RAM_data (RW) : ORIGIN = 0x000000, LENGTH = 0x003000 # alias of 60000 for program space
After this change we did see some improvements. But the data corruption still occurs intermittently and is difficult to catch and debug.
We are currently using 100Mhz clock, could reducing the clock frequency help?
Thanks
Suman