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.

hex 55 usage

i have got a loop3.out file which is located in c/ti/loop3. I want to convert this into a boot table format for loading into FLASH to boot the DSP. My hex55.exe file is located in c/ti/c5500/cgtools/bin. I am aware of the commands like -boot; -parallel 16 and others required to generate the table. What i do not know is where to go and in what sequence to type those commands. I have tried to read documents but have not been able to follow. I request somebody to tell me the path in detail in CCS and the procedure to type those commands. I am using CCS version 2.10.00

  • Hi Manish,

    I can help you to use the hex55 tool correctly.

    Please tell me...

    1. Which DSP you are programming
    2. Which type of external memory you would like to boot from
    3. Are you using an EVM (Evaluation Module)?
    4. What version of the cgtools are you using? I see that your CCS version is a little out-dated.

    Typically, the commands for the hex55 tool are held in a .cmd file or called directly from CCS.

    The .cmd file to call hex55 for C5505 DSP looks like this:

    hex55.exe -boot -v5505 -serial8 -b -i COFF.out -o BINARY.bin

    Hex55 details can be found in Section 14.1 Hex Conversion Utility Development Flow of the TMS320C55x Assembly Language Tools User’s Guide

    Best Regards,
    Mark

  • Hi,

    What you'll need to do is write a script file - that script file will take into account boot mode, memory type, CPU type, where the code should be located, i.e. where it starts from and which will include a code entry point - so your design will drive the script file, there will be quite a few CPU registers to set, especially if your using external memory and boot from, for example flash - put it all into filename.cmd, and run hex55 filename.cmd in the cgtools directory. The Assembly users guide in section 14 does actually have all of the information you need, I also found SPRA911C extremely helpful. To burn the program to flash you will also need a flash burn utility -

    Regards

     

     

  • Thanx for responding

    working on C5510A, Flash memory(EMIF) 16 bit asynchronous,I do not know about EVM,version 2.04.

    As I requested you, I know these commands that you wrote, but I do not know where to type these, what to click etc. I am requesting for some "spoon feeding" as I am a novice to C5510 wherein though I have read some documents but not worked practically because of which not able to convert theoretical knowledge to practice

  • Hi, Once you have your filename.out you will need to run  script file in the cgtools\bin directory the dos command line will look something like the following c:\....\cgtools\bin hex55 filename.cmd

    The cmd file is written using a text editor and may look something like

    /***** start ****/

    c:\..\directory\filename.out

    -a                         /* Select ASCII format */
    -boot                      /* Place all initialized sections in image */
    -parallel16                /* Set Flash system memory width */
    -v5510:2                   /* Set processor type */
    -o filename.hex      /* Name hex output file */

    /*****stop*****/

    save the file as filename.cmd

    There are no line gaps in the file above is the poor editor.

    You will need to decided where your program should run from - also- whatever you do in your GEL file you must do in your burn script - including configuration of memory and initialisation of the PLL. To test the boot process you can place delays in the process and toggle port pins such as GPIO to see where the load process is at - you can also look at the Boot mode pins on reset to check they perform as per the boot mode document for the c55x series.