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.

TMS470MF06607: HEX file generation

Part Number: TMS470MF06607
Other Parts Discussed in Thread: UNIFLASH

hi sir,

i am using TMS470MF06607 microcontroller. 

i generate the hex file for my project. but i don't know how to flash the hex file in to my micro controller.

i want to flash only the hex file into my micro controller not the .out file. 

i just mentioned what step i followed to generate the hex file, can you please tell me is it  right way or not ?

steps i followed:

properties -> ARM Hex Utility -> Output Formate Option  

from here i generate the hex file (intel format). after generating i got the 4 types of hex files. like: project.i1  ,   project.i2   ,   project.i3  ,   project.hex  .

from this four hex file which one i want to use for flashing purpose.

1) can you tell me the proper procedure to generate the hex file ??

2) how i want to flash the hex file into the micro ?? i want to flash the hex file alone is it possible ??? possible means how ??

3) is it any flash tool is available to flash the hex file alone into the micro controller ??? is it available means can you please tell how i want to use that flash tool aslo???

can you please provide me the solution for this issue

regards

Arun Kumar.N

  • Why do you not use the .out file for programming? See section 12 of the TI ARM ALTUG for information about the hex conversion utility. The default rom width for Intel format is 8 bits. It created 4 files splitting the 32-bit word into 4 bytes. This is not what you want. Use -romwidth=32. But again, why are you converting to Intel hex format if you don't have a tool to program the device in Intel hex format?

  • hi sir,

    i am developing front end tool for flashing my application code. That front end tool will send byte by byte.
    so i need that HEX file for my application code. can you please tell me how to generate the proper hex file for my application code.

    i have one more queries also. i tried to flash the hex file(what ever i generated) through the uniflash tool , my controller had been dead. now i am changed a new controller can you please tell why it's dead ???

    can you please tell me how i want to generate the hex file for my application code.

    regards
    Arun Kumar.N
  • Did you add "-romwidth=32"? You should then only have a single output file from armhex.exe. What do you mean by "dead"? Can you connect with CCS? You probably have now illegal instructions programmed into the flash, and an illegal instruction at the exception vector causing an infinite "illegal instruction" exception. If you can connect with CCS and change the PC to point to RAM and put a branch to self instruction at that location in RAM, you may be able to recover.