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.
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 try to run the utility from window prompt, the application does not run (nothing happens).
How can I invoke the utility? Can someone help me?
Thanks for your help,
Elena
Hi Elena,
you have to run hex2000 in this way: hex2000 -i yourfile.out -romwidth 16
Note that the output is a file with .i00 extension (Intel Hex)... you can load this file with C2000prog.
Regards,
Raffaele
Hi Shinoy,
i'm not Elena but if you'd like, let me reply: hex2000.exe is in code generation tool directory, where you have compiler, linker, etc...
Regards,
Raffa
If you did a install of Code Composer v3.3 using all defaults it should be in the directory:
C:\CCStudio_v3.3\C2000\cgtools\bin\
You would need to run it from a Windows command prompt or add the command line as a post-build step in CCS Build Options.
In CCS 3.3 default installation, the hex2000 will be in C:\CCStudio_v3.3\C2000\cgtools\bin
If you have a newer version of the compiler tools installed it will be in the \bin sub-folder of that install location.
1) To invoke it from a command prompt:
- open command prompt
- Type: C:\CCStudio_v3.3\C2000\cgtools\bin\hex2000 -a yourfilename.out
You can specify different options to hex2000 depending on your requirements (the above -a option generates ascii hex format). The supported options and details on the hex converter can be found in Chapter 11 of the C28x Assembly Language Tools Users Guide, http://www.ti.com/lit/spru513
2) To add as a post-build step to CCS 3.3:
- open project in CCS
- go to Project->Build Options, General Tab
- Under Final Build Steps add the line: hex2000 -a yourfilename.out
This will then run as a final build step every time the project is built and will convert the .out file to specified hex format.
Ths a lot, so nice u r.I don't have the target board now,so I can't verify the code generated, how can I show u the code, I didn't find the button to load the file,my option is -sci8, should I write the Key Value before download the code through SCI? And is the code in Bootloader Code Listing in TMS320F28x Boot ROM Peripheral Reference Guidethe (spru095) already in the ROM?
Hi all,
Please excuse me for my amateurish question if it is, as I'm very new to this. Please do let me know also if I'm suppose to post on a new thread instead on continuing on this one as I find the topic discussed here is rather relevant.
I'm currently using the C28346 Dim168 ControlCARD with a Blackhawk USB2000 JTAG (just some backgound info). What I would like to achieve is to load the code into the control card and run it using I2C boot mode.
I've ran the hex2000 utility and located the resultant file (.x00 .x01 .x10 .x11 etc.) at the hex2000 folder. The command I used is location> hex2000 filename.out -i2c8 -i2cpsc 29 -i2cclkh 5 -i2cclkl 10 -a
My questions are:
1)Which Hex Utility Output Format should I assign for the Hex Utility? ASCII-HEX, TI-Tagged or some others?
2)I would like to load the generated file to the onboard EEPROM through the control card I2C interface. How do I do this?
I've tried searching in the TI literature as well as the E2E forum to no avail. If there's existing literature, please kindly point me to the literature.
Hi All,
I have set postbuild step to generate Intel Hex file in CCS4 GUI. It is easy just select from drop down menu.
Petr