I have developed an application that transfers the .hex file over my communication network, then converts it to binary and stores the records first in available high flash memory of which I have plenty of excess. I store everything from .reset_isr thru the end of .text. All works well except when trying to program the .cinit section and only that section. The error code returned is 0xf4. The data read is all 0xffs. The .cinit section is normally placed at 0x002043a8. My high flash programming test has placed it at 0x002443a8 as well as 0x002543a8. Both give me the errors. I have not been able to find an explanation for error code 0xf4. Can anyone offer an explanation?
How is .cinit initially programmed and is it possible to avoid any changes to this section when making application code modifications in the future? In other words, is there a way that I can I just skip programming this section and assume it would normally not change when my application program changes? This would be a work around and may be necessary. Can anyone help, please.
Thanks,
Pat