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/TMS320F28335: Flashing through SCIA in f28335

Part Number: TMS320F28335

Tool/software: Code Composer Studio


Hello, I wanted to ask how to flash using C2prog. I have been trying to flash the code into the ROM using C2prog.

I have used the command specified in the C2prog manual for C2000 but it is giving me error as in

fatal error: cannot open input file "hex2000.out": No such file or directory
gmake[1]: *** [Debug/test.hex ./Debug/test.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
gmake: *** [all] Error 2

What should i do to make it correct. Any help is greatly appreciated.

Thanking in ahead of time,

Regards,

Akhil

  • Hi Akhil,

    Can you mention the command you have used to program? Did you give any input file hex2000.out ?

    Thanks,
    Katta
  • I added the below command in the hex utility flags.
    hex2000 -romwidth 16 -memwidth 16 -i -o .\Debug\test.hex .\Debug\test.out
    It was given in the C2prog manual to add this command for the c2000 tools.
    I believe some library is missing. Could you please suggest a way to get this to work?

    Thanks,
    Akhil
  • Hi Akhil,

    You have entered -> hex2000 hex2000 -romwidth 16 -memwidth 16 -i -o .\Debug\test.hex .\Debug\test.out
    instead the command should be just -> hex2000 -romwidth 16 -memwidth 16 -i -o .\Debug\test.hex .\Debug\test.out

    Execute this command from "<TI C2000 Compiler Installation directory>\bin" with the input file 'test.out'
    Provide 'test.hex' path for the output. Hope you are providing the paths as expected.

    Let me know if you face any issue.

    Thanks,
    Katta