Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
I have been done the Multiday Lab WorkShop for the TMS320F28379D LaunchPad and the PieCtrl.c file explicit show the folow line to initialize de PIE RAM:
//--- Initialize the PIE_RAM. There are:
// 32 base vectors + (12 PIE groups * 16 vectors/group) = 224 PIE vectors (448 words).
PieCtrlRegs.PIECTRL.bit.ENPIE = 0; // Disable the PIE
asm(" EALLOW"); // Enable EALLOW protected register access
// Step around the first three 32-bit locations (six 16-bit locations).
// These locations are used by the ROM bootloader during debug.
memcpy((Uint16 *)&PieVectTable+6, (Uint16 *)&PieVectTableInit+6, 448-6);
asm(" EDIS"); // Disable EALLOW protected register access
But in the example provided in the CCSv7 I was not able to find the code for the memory copy.
So the question is where that code is, I mean, where is:
memcpy((Uint16 *)&PieVectTable+6, (Uint16 *)&PieVectTableInit+6, 448-6);
in the example provided?
Or, in another way, is there other way to copy the table vector to the RAM? In this case how is it done?
Thank you in advance,
Pedro A.
I have been done the Mul