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.

Initializatin after c_int00(), but before main() ?



Hi Bernie,

The example code you gave in the article, Accessing pixels in a frame on DM643x, seems to have initialization done after c_int00(), but before main(). Is it so? If yes, could you point me to the link or document that describes how to do the trick?

Thanks,

 

  • Unfortunately I do not have my CCS in front of me to verify this but typically this is something that would be done with a user init function that is defined within your DSP/BIOS configuration, in a .tcf file it would show up as:

    TCF File said:

    /*
     * Define an initialization function to be called before hitting main().
     */
    bios.GBL.CALLUSERINITFXN = true;
    bios.GBL.USERINITFXN = prog.extern("my_init_function");

    I am not sure if this exists in the example DM6437 platform tci file or not, but if you open the BIOS configuration in the graphical configuration editor you should be able to find this option (and at a minimum you could add your own).