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.

TMS320C6678: How to use xdc.runtime Startup

Part Number: TMS320C6678

Hi all,

I searched and saw that we can add some function to execute before main() function, such as using the xdc.runtime Startup as below:

      var Startup = xdc.useModule('xdc.runtime.Startup');
      Startup.resetFxn = "&myResetFxn";

My questions are that:

  1. Where I can define the funtion myResetFxn?
  2. In the function myResetFxn, can I use some structure defined by TI (such as some structure defined in (cslr_xmc.h)?

Thanks a lot.

Chanh