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.

CCS/CCSTUDIO-MSP: Issue compiling MSP430.hex

Part Number: CCSTUDIO-MSP

Tool/software: Code Composer Studio

This thread follows one I've posted on the ALC/DLP forum https://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/advanced_light_control/f/850/t/581168

To sum it up:

1- followed a guide [(page 54) --> http://www.ti.com/lit/ug/dlpu006e/dlpu006e.pdf] to compile some files which should result in a file called MSP430.hex

2- the latest bundle provided was missing a file, which provoked the problems I've experienced

3- TI employee suggested alternative route to compile the file

4- After building the files as suggested, still the MSP430.hex hasn't been created.

Does some one have any clue on what I should do?

Thanks

  • Hi,

    From the other thread I see you built the project fine, but you are only missing the .hex file, is that so?

    If so, the .hex file is created as a post build step. In order to create this post-build step, start by right-clicking on the project and selecting Properties. Then navigate to the tree as shown in the picture of section 4.5 of the link below:

    processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS

    Certain versions of CCS have the drop-down menu that configures the Hex file creation for you, but if yours don't have, you can manually type the instructions shown in the section. For MSP430 you would replace ofd2000 with ofd430 and hex2000 with hex430.

    After that, you have to rebuild your project to create the .hex file.

    Hope this helps,
    Rafael
  • Thank you very much!