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.

MSP430 TI hex file format

Hi All,

I want to write my own routine on the device side to update the firmware so I need to know the format details of the hex file. I use the CCS and generate the hex file as following:

%2866A8000044003100B0000C02B0000CB000B000
%1063C80000FFD200
%1063E80000FFD400
..
%1064880000FFFC00
%1064A80000FFFE00
%4E66C8000100003A1900B280003F003F01233F003F011E3A003A003A075A38003C3D3E3FC7CB1C
%4E67E8000100400D0F4B004B6B4B5B005B004B1AEB79390882003F003F00083A00026A2A3A00FB
%4E61A8000100803710B28000B20000B20200B280003F00BF7800BF3402B20000B21000FF033210
%1866F8000100C0FD1C1003FF
%0E826800004400

What are the these lines mean?

Thanks,

Henry Nguyen

  • Hi Henry,

    Intel HEX formatting is described at http://en.wikipedia.org/wiki/Intel_HEX.

  • Hi Henry,

    The format in your example is NOT Intel HEX, it is Extended Tektronix HEX Object Format. Though these look very similar, there are some important differences. You can check description at

    http://www.ti.com/sc/docs/products/micro/msp430/userguid/as_10.pdf

    Serge

  • This format is rather exotic these days. Is there any reason why  you use it?

    You can always use Intel HEX instead which is much better described and a lot broader used in the industry. Just specify Intel HEX to be produced by CCS in project properties. Read more about different output formats produced by CCS at slau131i.pdf "MSP430 Assembly Language Tools v 4.3 User's Guide".

  • Hi Guys,

    I am just ignorant. I got the idea now. By the way I found some TI existing CCS does not have the MSP430 hex utility comes up when I click on the project property, but some do. So in case it's not enable, how do I turn it on?

    Thanks,

    Henry

**Attention** This is a public forum