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.

TMS320LF2407A: Bootloader Info and Hex file Format

Part Number: TMS320LF2407A

We are using TMS320LF2407A DSP for our application and  wanted to know the process to be followed during the firmware upgrade using the pre-programmed Bootloader.

1. How the .hex file to be generated from .out file for a 64-bit Windows PC?

2. Want to know the exact Format of the hex file that should be used? Should be the same as the f240_hex.exe output?

3. What are steps to be followed after generation of .hex file?

Please respond to our queries.

Regards,

Nirav Bhatt 

  • Nirav,

                  Please answer the following questions carefully: 

    Is this a new project or an existing project that is in production?

    Do you have a working copy of CCS3.3 installed in your PC? 

    1. How the .hex file to be generated from .out file for a 64-bit Windows PC? 2. Want to know the exact Format of the hex file that should be used? Should be the same as the f240_hex.exe output?

    You should be able to use f240_hex.exe. I tried executing f240_hex.exe and serhost1.exe on my Windows10 PC. Neither utility worked. I have a feeling your experience is going to be the same. You may have to try running these tools in compatibility mode. You may want to look at DSPHEX as well. Please refer to http://www.ti.com/lit/spru018 for a description. 

    3. What are steps to be followed after generation of .hex file?

    I am attaching a PDF file that would be helpful. I am also attaching a sample COFF file and the equivalent hex file that you could use to try out programming. This is assuming you are able to get the serial comms tool working between your PC and the target. Please refer to Appendix D of http://www.ti.com/lit/spru357 for a description of the boot-ROM.

     

    sample files.zip

  • I got some helpful tips from a colleague:

    "...I have seen some past forum threads from other customers who can’t get f240_hex.exe on more modern 64 bit systems (XP compatibility mode is not enough). The tools could be 16-bit application that won’t run on 64-bit systems (but it may run on a 32-bit Windows system). One option is to try a 32-bit Windows system (native or VM)...." 

    If you are unable to use our tool, you can use 3P tools. Please take a look at 

    https://www.elprotronic.com/collections/c2000

    https://www.codeskin.com/c2prog-faq