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.

ARM Hex utility in CC 6.2

Other Parts Discussed in Thread: UNIFLASH

Hello, 

I'm trying to generate a .hex file for my project (Tiva TM4C). Inside the properties of my project -> Arm Hex Utility i added the flag --intel. At this point inside the Debug folder i can see this files 

Flashing the first file with the .hex extension using CCS UniFlash it doesn't work. Can someone give me more light about this?

  •  I can tell you what is happening.  I lack the knowledge to tell you how you should change it.  

    I presume the invocation of the armhex utility is something like ...

    armhex --intel UARTBootLoader.out -o UARTBootLoader.hex

    This causes the hex utility to create four output files.  Each file contains one byte from each 32-bit wide memory location.  The first file, named with the -o option, contains the least significant byte.  The next file, automatically named UARTBootLoader.i1, contains the next most significant byte.  And so on.  This is described in the section titled Assigning Output Filenames in the ARM assembly tools manual.  

    I'm sure this is not what you want.  Adding the option --romwidth=32 (described in the same manual) will get you closer, in that it will give you one output file.  However, I'm pretty sure there is yet more you need to do.  But that is where my expertise ends.

    Thanks and regards,

    -George