Part Number: TMS320F28069
Hi,
I need to know that can I copy RAM function into ROM ( memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize)) before calling InitSysCtrl()? I have seen in example that InitSysCtrl() function call first than memcpy().
I have attached code please check this initialization sequence is right?
int main()
{
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);
InitSysCtrl();
Gpio_select();
/* Clear all interrupts and initialize PIE vector table:
Disable CPU interrupts
*/
DINT;
/* Initialize PIE control registers to their default state.
The default state is all PIE interrupts disabled and flags
are cleared.
*/
InitPieCtrl();
.....
.....
}