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.

TMS320F28377S: Confuse about Save memory .out file

Part Number: TMS320F28377S

Dear Expert

1. Plug in the simulator, power on the circuit board, Debug enters the simulation debugging interface, and enter the "Memory Browser" interface, as shown below:

2.

3.

4. The generated file is: 6688.out, and the original file burned into DSP is: F28377D_DCAC_APP_JP_V1.00_Test.out. Visually, the sizes of the two files are completely inconsistent, as shown in the figure below:

5. I do not know why this phenomenon can be caused. Supposedly, the size of the exported.out file will be exactly the same as that of the original. Thank you for your guidance.

  • Hello,

    Please note that the *.out file generated from a COFF memory dump and the *.out file generated from the project build are quite different. The first one is just a raw dump of memory in COFF format. It would be missing the debug symbols in the *.out file generated from the compiler. It would also be a full dump of the specified memory region, including any memory contents not in the *.out file generated by project build. Hence it is not fair to do a straight comparison between the two file.

    Thanks

    ki

  • Dear Ki

    When we were burning the.out file, the program ran abnormally occasionally. When we re-burned the.out file, the program executed normally again. So we want to know if there is any way to verify that the.out file is the same as the original program when the software is compiled.

    BR

  • So we want to know if there is any way to verify that the.out file is the same as the original program when the software is compiled.

    You will not be able to do this by comparing the *.out files. What would be a better option is to generate a raw binary from the compiler generated *.out file and flash that binary to the target. Then if you need to export a binary from the target, it will be easier to compare that with the binary used to flash.

    Thanks

    ki