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.

Suggested Method to Load binary data into RAM from debugger.

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hello,

I am new to DSP development and I am using the OMAP-l138 development kit (LCDK). I want to load a raw binary file into memory during a debugging session in Code Composer v5, so that my code can read from the memory to perform various operations. I wish to allocate a section of memory that will only be used for this purpose. Before executing the code, I want to load the binary data into memory, run the code, which will use the binary data.What would be the best (simplest) way to accomplish this task. 

Thanks

  • Code composer studio allows users to load binary file into memory using Load Memory option provided in the Memory browser. Memory browser tab can be opened up using the View->Memory Bowser option in CCS. Some screenshot for this operation are provided below for reference:

    processors.wiki.ti.com/.../KeystoneII_Boot_Examples

    Note: that example is for a different device but the same applies to OMAPL138 as well.

    The other option is to use file IO option to open the binary file and then read and load the code into the desired memory section.

    Regards,
    Rahul
  • Thank you for you response. How do I specify a section in memory that I can use with Load Memory to put the binary file into? I want to use a section in memory that I can guarantee will not be used by any other process.