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.

CCS/TMS320F28379D: Memory browser data and srec 3 record output not matching .

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I am using code composer studio Version: 8.1.0.00011 , for development of F28379D  microcontroller .

My application is starting from flash sector FLASHD i.e from 0x88000 .

When i compile and run it works fine .

I have also enabled hex file generation and selected motorola s3 record generation .

When i compared the hex file with memory window , half of the data was mismatching .

For example for memory location 0x88004 data in meory window was like 

0x88004 : FE06 A844 1E42 0EA8 FF30 FF18 000D 1E46

While in srec 

S32200088004064442A830180D46224644C41A8606024141E1820602424042A9BFC4404D

or

S32200088004 064442A830180D46224644C41A8606024141E1820602424042A9BFC4404D

When compared i found most significant bytes in words in memory window are missing in srec file , like FE,A8,1E,0E,FF are missing in srec .

Any help would be appreciated .

  • I'm not completely certain, but I have a good guess as to what happened.

    You used the option --motorola=3 (or maybe -m3 for short).  The default ROM width is thus set to 8-bits.  As described in the sub-chapter titled Partitioning Data Into Output Files of the C2000 assembly tools manual, this means the high 8-bit bytes are output to one file, and the low 8-bit bytes are output to a different file.  You should see a diagnostic similar to ...

    warning: Data is being written to auto-generated file file.m01

    To avoid the problem, add the option --romwidth=16.

    Thanks and regards,

    -George

  • Thanks a lot George , it resolved the issue .