Hello ,
Apologies for late reply. I cannot share complete project but basically I am trying to create .c, .h files for customized RCW and load RCW to particular location 0x40000000. I have created section in linker command file for RCW with address 0x40000000. If I change location from 0x40000000 to 0x40160000 in linker file then I can see complete RCW loaded in the Flash at 0x40160000. But with exact same procedure it doesn't get loaded at 0x40000000 or I am not able to see difference because for trial purpose I am loading exactly same RCW stored in memory. In case I change RCW, I will have to change CRC which I do not want to do at this moment. I also tried to load RCW at consecutive location starting from 0x40000000 but that also is not successful. Please suggest what is the that I am missing in this process.
I am creating code warrior project and using trace32 debugger to load elf file.
Please find attached .c, .h files for RCW. Let me know if you need anything else.
Thanks & Regards
Chitra Amzarewale