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/MSP432P401R: Hex file generation options for Uniflash

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi,

I am having problems generating a MSP432 hex file image that will work with Uniflash. I have set the memory width and rom width to 32, and selected Output Intel hex format. My application doesn't run though when I load the hex file. My application runs when I load the out file. I am using a MSP430FET with a MSP-FET-432Adapter.

What other options do I need to set to get the Intel hex file to work?

Thanks,

Jeffrey

  • Hello Jeffrey,

    As far as I understand you want to program the MSP432P401R using MSP430FET and Uniflash. I don't see any option on hex file programming with Uniflash v4.

    Which version of Uniflash are you using?

    How are you generating the hex file?

    Thanks,
    Sai
  • Hi Sai,

    To generate the hex file, I am using CCS ARM Hex utility. I selected "Output Intel hex format (--intel, -i)" as the output format.

    I am currently using Uniflash version 4.3.1.1835, MSP430FET, and a MSP-FET-432ADPTR.

    I also need to support BSL method for field upgrades.

    Thanks,

    Jeffrey

  • Hello Jeffery,

    I tried the same setting, as you have shown above, to generate the .hex file and can confirm that the application is not running as expected on the LaunchPad.

    As you have mentioned, the hex file generated is the problem. I will try to find out the right configuration.

    Thanks,
    Sai
  • Hello Jeffery,

    The correct configuration is to set the memory width and rom width to 8. I tried this setting with the "gpio_toggle_output" example and it works.

    So the parameters passed to the ARM Hex Utility are: --memwidth=8 --romwidth=8 --intel

    Thanks,
    Sai

**Attention** This is a public forum