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.

f240_hex.exe for Windows 7, 64-Bit

Other Parts Discussed in Thread: TMS320LF2406A, CODECOMPOSER

Hello,

we are working with TMS320LF2406A / 2407A processors and in the past we have used a TI utility named "f240_hex.exe" to convert .out files into .hex files. Those .hex files were then used for firmware updates via TI's Serial Flash Programming Utilities (SCI bootloader).

After migrating from Windows XP to Windows 7 (64-Bit), the f240_hex.exe utility now raises an error message due to Windows compatibility issues. The .hex file is not generated. Starting f240_hex.exe in XP compatibility mode doesn't solve the problem.

Is there a newer version or replacement for the f240_hex utility that also works under Windows 7, 64-Bit? 
(I tried CodeComposer Studio's dsphex.exe, but couldn't get the same .hex format as before.) 

Alternatively: Is there a document that describes the conversion algorithm of the f240_hex utility?

Any other ideas?

Any help would be appreciated,

Holger

  • Holger,

    Not sure if this will prove effective or not, but in Windows 7 you can run a program in compatibility mode for Windows XP by right-clicking on the file, selecting properties, and selecting the compatibility tab on the window which appears.  It might help if you can provide a screenshot of the error as well.

    Kris

  • Hi Kris,

    thank you very much for your suggestions and sorry for my late reply. I had a couple of days off.

    Unfortunately, XP compatibility mode does not solve the problem. My OS language is german, so I'm afraid that a screenshot may not be helpful. But, basically, the error message says that this program is not compatible with my Windows version and that I should try to get an update (32-Bit or 64-Bit, according to my OS) from the software manufacturer.

    I think, the next thing I'm going to try is to set up a virtual machine (XP) under Windows 7 and then run the program (f240_hex.exe) in this VM.

    Holger

  • Hi All,

    Was there ever an answer for this, as I have the same issue.   The user interface group wants us all to move to Windows 7 64bit, and I can't get f240_hex.exe to build the DSP 2407A code correctly in this environment.

    Running a Virtual Machine makes our build times huge.. so not an exciting option.

    Thanks for any help.

    -Craig

  • Craig, try using hex2000 which can be found here: C:\ti\ccsv5\tools\compiler\c2000_6.2.5\bin

    Regards,

    Gautam

  • Gautam,

    I tried that... however, I guess I failed to say that I am building the OUT file with CC Studio 3.1.  (Using 2407A DSP)

    When I use the new Hex2000 it says that the Magic number is invalid aborting.

    -CF

     

  • Craig,

    I would recommend posting this question in the Development Tools -> CCS forum.

    I believe you'll get your question answered much more quickly and thoroughly there.


    Thank you,
    Brett

  • All,

    I wrote my own tool in VB6 that makes does the conversion.  I tested it on the 2407A DSP that I use.  You can have the code if you email me... fahrenkr@uic.com

    Wasn't that hard because we only use one type of relocation. 

    Good luck out there.

    -Craig