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.

PROC_load module dsplink

Other Parts Discussed in Thread: DA8XX

Hi,

I'm trying to implement the PROC module in my application.I have to use the PROC_load() API.In this function ,I have to pass the imagePath argument which gives all infoemation regarding the DSP executable to be loaded to DSP.

There is an include file called loaderdefs.h . 4 structures are defined here . BINLOADER_ImageInfo,  STATICLOADER_ImageInfo , NOLOADER_ImageInfo and COFFLOADER_ImageInfo. How do I decide which structure I have to choose for my application so as to pass an object of this structure as an argument to the PROC_load API.

Regards,

Jose

  • Moving thread to the TI-RTOS forum so that the right experts can look at it.

  • Jose,

    The PROC_load() API does not have any argument of *_ImageInfo type (where * is BINLOADER, COFFLOADER, etc.).

    Are you asking because you see some of the samples pass such a structure to PROC_load()?

    The usual case is to pass a string representing the path to the slave executable.  In investigating this I see there are some sample files that pass a NOLOADER_ImageInfo struct pointer to PROC_load(), but only for DA8XX, and only when the BootMode is NoBoot.  I'm not sure what's behind that, though, and I would suggest that you shouldn't be using any of those ImageInfo types (they're more internal than anything).

    Regards,

    - Rob