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.

HEX55 Tool "-b" Option



Hello,

      I have a question regarding the "-b" option of the HEX55 Tool.  I am using Code Composer Studio Version: 5.1.1.00031.  I have checked the documentation, but I cannot find a format for the file.  I am looking to build a second stage boot loader and will need to pick out the entry point for the code that is loaded into ram, so when the second state loader has completed, it can jump to the start address of the loaded application. Could you please point me to document that would have the format of the file produced by the "-b" option?

     From the bits and pieces I have discoverd in the forum, it seems the first word of the file will contain a value that releates to the memory width.  However, when i use the following HEX55 command, the first word in the resulting file is 0x0000.  Here is the command line I use:

hex55 -boot -v5510:2 -serial8 -exclude vectors -b -o test.out - test.bin

     Could be my problem is in the options used to generate the binary file?

     This is my first time working with Code Composer and the C5502, 

      Thanks for any help or suggestions.

 

Stephen

  • Binary format means the raw bits are copied directly from the input .out file to the output file.

    Stephen Davis said:
    it seems the first word of the file will contain a value that releates to the memory width

    That is just happenstance.  The first word of the output file is whatever word resides at the lowest address in target memory.

    Throughout all of this, uninitialized sections like .bss are ignored.  

    Thanks and regards,

    -George