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/TMS320F28020: How to generate hex file to load to C2000 series chips?

Part Number: TMS320F28020

Tool/software: Code Composer Studio

Hello everyone,

I am using compiler CCSv7 from TI. I wrote the program for the TMS320F28020 chip by assembly language. But I have trouble exporting to hex file.

I have selected to output hex file by: Properties> Build> C2000 Hex Utility> Enable C2000 Hex Ultility
and: Properties> Build> C2000 Hex Utility> Output Format Options> Output Format: Output Intel hex format (--intel, -i)

But i got hex file at Debug folder differs from the assembly code which I wrote.

My code: 

              .global _start
_start:
              ADD ACC,#4<<#1

and hex file which i reveive: 

:02800000110469
:00000001FF

I think i will reveive file hex have content: 

FF11

0004

as instruction set: ADD ACC,#16bit<<#0..15

1111 1111 0001 SHFT
CCCC CCCC CCCC CCCC

Thank you.