Hi,
I've got all my code running and I run from flash just fine if I boot from JTAG through Code Composer v4. When I turn off power and try to boot the 2801 doesn't boot.
I read through SPRA958 and noticed in section 4.1 that I need to copy the PIE Vector Table to RAM. I'm not doing this yet that I know (unless it's buried in the TI supplied headers/.c files) so I tried inserting the code shown into my main.c. The compiler came back and stated it couldn't find &PieVectTableInit. I know it's in the PieVect.c file but my main doesn't see it.
Should this code go into the PieVect.c file?
Is this code really needed since I'm already running out of flash when booting from JTAG?
Please help. This is my last problem to solve before I deliver to my customer.
Update:
I just noticed I'm not doing all of section 4.4 (of SPRA958) either unless this also is taken care of by the TI supplied headers/.c files. I have InitFlash in my main.c and InitFlash function in my SysCtrl.c but I don't have the "User's linker command file" stuff in F2801.cmd or Headers_nonBIOS.cmd.
Also, SPRA958 shows:
asm ("RPT #6 || NOP")
My SysCtrl.c has: asm ("RPT # || NOP") Is this an issue?








