Tool/software:
I am running 2 applications in 2 separate flash locations in my MCU. One is the CAN flash kernal and the other one is the blink application running in flash. I use the kernal to update the blink application when ever I need. I have allocated the flash kernal in the flash A and the blink application in the flash E. in the CAN flash kernal, I have set to jump to the begin point of the blink application once the update is finished after writing the whole application to the flash E (use this command to jump to the specific location ((void(*)())0x3E7FF6)();). when ever a power reset happens while the blink application is running I need to start from the flash kernal and then update the application and jump again. but it doesnt happen. None of the programs are executing after the power reset. I assume that, by changing the _c_int00 value of the blink application and assign the begin address of the flash kernal in sector A will solve this problem. hope to recieve some help on this. If my assumption is correct I would like to know the correct way of cutomizing the _c_int00 value or else wold like to know the propper way to execute the ablove mentioned task to run both kernal and the application properly.
Thank you,
Best Regards,
Ashan