Part Number: TMS320F28069
I have a project (call it main) created that copies the contents of another project's hex file (call it blinky) into the FLASH areas not in use by project main.
I am using the Flash_Program() and Flash_Verify() routines to verify that the code copied into the FLASH regions is correct.
The final step after the _Program/Verify routines in main is to jump to the code that will start the blinky project. I added the call asm(" LB 0x3EFFFE"); which has the call to basically run the rest of the code that is copied to FLASHC. The way I know this is that when I was debugging blinky the .cmd file has BEGIN associated with the address 0x3EFFFE and I look at the contents of that address and the same data is copied by main.
When I execute this asm call, I get stuck in the ESTOP associated with USER11_ISR.
//
// USER11_ISR - User Defined trap 11
//
__interrupt void
USER11_ISR(void)
{
//
// Insert ISR Code here
//
//
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
//
__asm (" ESTOP0");
for(;;);
}
What am I doing wrong?