Tool/software: Code Composer Studio
I am having a strange issue that I just started noticing. I have modified the f28035 flash kernel to flash an application over CAN. The flash kernel sits in sector A of flash, and the application goes in sectors B-H. I am usually able to flash the application via the flash kernel just fine, but every once in a while it fails when trying to the write to 0x3F7FF6, the boot to flash entry point. Whenever I see this failure in my flash kernel, I try to flash it via Code Composer/JTAG and it fails then too. It erases the flash sectors just fine, it even writes to every flash location (basically the entire app) until it gets to 0x3F7FF6 at the end and it fails to write to that spot. I can program the last application that wrote to 0x3F7FF6 just fine, but I can't program a different application. It's like the first application to write to that location locks it until I completely erase all flash sectors and then everything works again....for a while. Is there some weird permission issue when writing to 0x3F7FF6 or something?