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.

run the hex2000 conversion utility

Other Parts Discussed in Thread: TMS320F2808, CCSTUDIO

Hello,

I have to invoke the hex2000 conversion utility to convert my *.out file in suitable format for serial boot on a TMS320F2808 device.

In spru513c.pdf (page 235), I have found instructions on how to invoke the hex2000 utility.

example :       hex2000 -t firmware -o firm.lsb -o firm.msb

If I open a command window in my CCS and type the suggested command, I get the message "command "hex2000" not found".

Actually, this command is not included in the summary of commands of the command window, provided in the Help of CCS...

How can I invoke the utility? Maybe do I have to put it in a certain location or inform CCS of the utility location?

Thanks for your help,

Elena

 

  • Elena,

     

    This program should be invoked from the Windows command prompt. You will need to “cd” to your .out file’s location.

     

    For SCI boot with 8-bit your command prompt should show as:

    "C:\CCStudio_v3.3\C2000\cgtools\bin\Hex2000.exe yourfile.out –boot –sci8 –a”

    then this should create an .a00 file as specified

     

    As a reference you may also want to look at spraaq2 which explains the more complicated task of booting to the device with the Flash API then loading a program into FLASH. Granted this app note is for the F281x series, but it could serve as a helpful tool in understanding what is going on.

     

    Thank you,

    Brett Larimore

     

  • Thank you, I have solved my problem.

    with regards,

    Elena

  • Brett,

    1. I did as you instructed Elena (02-27-2009), only with a -I (intel format) option, and received a .i00 file. What should I di different to get a .hex file?

    2. Originally I created a file named Project_hex.cmd in the Project_Path. This file  included the following line:

    fileneme.out –boot –sci8 –I                (fileneme.out is located in Project_Path, near Project_hex.cmd).

    then I typed in the command line:

    C:\CCStudio_v3.3\C2000\cgtools\bin\hex2000.exe Project_Path\Project_hex.cmd.

    No file was created.

    What was wrong?

    Thanks,

    AG.

     

  • AG,

    The .i00 file you received should be an Intel format hexadecimal conversion of your .out file.  I've only ever used the -a option to create an ASCII file hexadecimal file for my  bootloaders.

    SPRU513 (http://focus.ti.com/lit/ug/spru513c/spru513c.pdf) is a useful guide that goes through the Hex2000.exe utility's various options.


    Thank you,
    Brett