This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: function InitPieVectTable() for interrupt vector table initialization。

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Hi,

I would like to ask, in the routine of the Piccolo processor, the function InitPieVectTable() for interrupt vector table initialization, where the source and destination addresses of the vector table need to add 3 (Source = Source + 3, Dest = Dest + 3; ) Where is the source of this plus 3? In contrast, the Delfino series processors do not need ‘plus 3’. Which one can tell you, thank you very much。

  • Z.Z,

    On the F2803x the the first three 32-bit locations (six 16-bit locations) in the PIE block are used by the ROM bootloader during debug, and also by the Flash API algorithms. To learn more, see the F2803x Workshop at:

    processors.wiki.ti.com/.../C2000_Archived_Workshops

    You will find the memcpy in the PieCtrl.c file:

    memcpy((Uint16 *)&PieVectTable+6, (Uint16 *)&PieVectTableInit+6, 256-6);

    Note that in C2000Ware/controlSUITE the memcpy is in the PieVect.c file using Uint32 (rather than Uint16).

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • Z.Z,

    It's been a while since we have heard from you last. Therefore, we are assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken