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.

GEL_MemorySave()

Hi,

 I am using GEL_MemorySave() to save a block of data from a particular address to a file. I have noticed that the function GEL_MemorySave() does not allow to save the file as a .bin file.

Does anyone know how I can save the file as .bin using this GEL function?

 

Thanks

  • Hello,

    GEL does not support load/saving data of binary file formats. If you are using CCSv4 or greater, I recommend using Debug Server Scripting. There are APIs for loading/saving memory using binary file (memory.loadRaw() and memory.saveRaw() ).

    Thanks

    ki

  • Hello Ki,

    Thanks for mentioning about Debug Server Scripting (DSS).

    I have never used DSS before, however I have managed to make it up and running on my system after reading from the TI wiki.  

    But, I want to know is there any documentation which mentions about the key list of functions we need to mention in the script . By functions, I mean the how to setup target configuration file, setup of environment etc..

    Thanks

    Jaspreet

     

  • Jaspreet,

    All the DSS documentation is mentioned on the wiki. Really, it is just the DSS wiki page and the API guide that comes with the product. I really recommend opening up the DSS examples in a text editor and walking through the script. The script is well commented and you should be able to get an idea of the key functions needed to create a basic script.

    Thanks

    ki

  • Hello Ki,

    I have read some of the example files such as Loadti and the wiki you mentioned. However, in the Rhino Debugger there is no option for creating a new script.

    Also, is it possible that CCS Debug and DSS can work together because I want to debug the main program from CCS and use DSS just for loading and saving the data.

    Sincerely,

    Jaspreet

  • Jaspreet Kaur Bhambra said:
    However, in the Rhino Debugger there is no option for creating a new script.

    Rhino is just a very basic debugger. Creating a new script fro Rhino is not supported. It is useful for just debugging existing scripts

    Jaspreet Kaur Bhambra said:
    Also, is it possible that CCS Debug and DSS can work together because I want to debug the main program from CCS and use DSS just for loading and saving the data.

    Yes, see:

    http://processors.wiki.ti.com/index.php/Debugging_Your_DSS_Script_Using_CCS

    Thanks

    ki