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.

How to create a .out file from multiple discontiguous memory dumps

Hi,

We are trying to generate a COFF file by dumping discontiguous memory where M3 code reside.

I'd like to know how to format the dumps of memory so that it can be stored in COFF format.  Goal here is to store the memory in COFF format  and load it in CCS to view certain parameters for debugging in environments where JTAG connection is not available.

I have read http://www.ti.com/lit/an/spraao8/spraao8.pdf, but would like to know if all this formatting has to be during the dump process, or if there are some tools for this.  Also, it is not clear to me what to specify for the physical and virtual addresses of each section.


Any pointer would be appreciated.

Regards,
Atsuo

  • Kuwahara-san,

    You can use the Memory view to save blocks of memory to a COFF file. Right-click in the view and select 'Save Memory'. When specified for the file name and location, give the file name an extension of *.out. That will save the memory as a COFF file. When you select 'Next', you can the specify the start address of physical memory to save and the size.

    Hope this helps,

    ki

  • Hi Ki,

    Thank you for your response.

    I understand that in CCS, you can save one block of memory per .out file.
    What we want to do is save multiple discontiguous blocks of memory in one .out file in a program (such as in error handling routine).

    Regards,
    Atsuo 

     

  • Atsuo Kuwahara said:
    I understand that in CCS, you can save one block of memory per .out file.

    Ah, yes. You are correct. You can only dump contiguous blocks at a time with CCS. I do not know of a way to do what you wish with CCS. Sorry

    ki