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.

Compiler/TMS320C6678: Is this possible to use dynamic library at C6678 DSP no OS system?

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

Hi Team,

Our customer try to find a solution to dynamic load library at c6678 system.

They don't want to use OS.

If this is possible?  And do you have any guide for this?

thanks!

BR,
Denny

  • Hi Denny,

    Could you please elaborate a little? What library are they trying to use?

    Do you mean that they want to load this library an any time during device operation and "switch it off" (unload) it when it is no longer needed? If this is the case I don't think they can do that. Maybe if they use another processor which is running some kind of OS but this is very complicated design.

    I am looping the design team to elaborate if needed.

    Best Regards,
    Yordan
  • Hi Yordan,

    Maybe there some different library saved at flash not load into ram, customer hope load it and use it dynamically after the app running up.

    BR,
    Denny
  • Dynamic linking with C6000 Compiler has been described in section 8.12 :
    www.ti.com/.../sprui03b.pdf

    Is that what you are looking for?

    Have you also explored the idea of using function pointer. We do this in case where we need to call into function ROM functions. Pre-Define a address for the function and use function pointer to that address to use the function.

    Regards,
    Rahul
  • Denny Yang99373 said:
    Maybe there some different library saved at flash not load into ram, customer hope load it and use it dynamically after the app running up.

    It is possible to have a set of functions loaded at one address in flash, then copied into ram for execution.  You don't need a dynamic library or OS.  See this application note for an example.  Note the package of code which accompanies this article is out-of-date in some respects.  It presumes use of CCS 3.3.  The compiler options it uses are no longer supported.  But the C source, and linker command file, remain good examples to start with.

    Thanks and regards,

    -George