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/MSP430F5329: Additional question of MSP Flasher writing Intel file

Part Number: MSP430F5329
Other Parts Discussed in Thread: MSP-FET, MSP430FR2355, UNIFLASH

Tool/software: Code Composer Studio

Hi,

I have additional questions about MSP Flasher.

<Question>

1. Is it necessary to set the bit width to write Intel Hex files with MSP Flasher? (16 bit width)

2. Does the writable bit width change with the MSP-FET driver Ver (MSP430.dll?)?

3. How do I configure CCS to output a 16-bit wide hex file?

<Background>

A 16-bit Intel Hex file could be written with MSP Flasher, but not written 32-bit Intel Hex file with MSP Flahser.
The file output by "Intel Hex format" in the Output Format of CCS seems to be 32 bits.

Is not it possible to set it by CCS?

I also referred to the following E2E thread.

MSP Flasher - length of Intel hex lines when reading

Best regards.
Cruijff

  • Hi Cruijff,

    I believe all you need to do to generate the correct intel hex format is shown here:

  • Hi Dennis

    Customers also seem to have generated in Intel Hex Format like the screen of Dennis.
    However, it seems that MSP Flasher (v1.3.18) outputs an error in the Intel Hex File generated by this method.

    Therefore, I asked 1 to 3 questions.
    Do you know about the cause?

    Cruijff
  • Cruijff said:
    Hi Dennis

    Customers also seem to have generated in Intel Hex Format like the screen of Dennis.
    However, it seems that MSP Flasher (v1.3.18) outputs an error in the Intel Hex File generated by this method.

    Therefore, I asked 1 to 3 questions.
    Do you know about the cause?

    Cruijff

    Could someone post an example of a short .hex file that produces such an error?

  • Hi,

    Can you point out the error name? And upload the Intel Hex File  which cause the error?

    As I use FR2355 as a test, I upload the hex file generated by CCS successfully. And the number of bytes in each line is from 2 to 32.

    Here is the hex file:

    :20800000318006003E4000003EF03F00814E00003F4001001FF3814F02003D4001001DF3FD
    :20802000814D04005E065F020FDE1FD104003FD000A5824F6001315006001001B240805A7E
    :10804000CC010C4310010343FF3F03431C431001C9
    :2080500031400030B0130080B0134C800C43B0133C801C43B013468032D01000FD3F034353
    :04FF8000FFFFFFFF81
    :04FF8400FFFFFFFF7D
    :02FF8800FFFF79
    :02FF8A00FFFF77
    :02FFA000FFFF61
    :02FFCE00688049
    :02FFD000688047
    :02FFD200688045
    :02FFD400688043
    :02FFD600688041
    :02FFD80068803F
    :02FFDA0068803D
    :02FFDC0068803B
    :02FFDE00688039
    :02FFE000688037
    :02FFE200688035
    :02FFE400688033
    :02FFE600688031
    :02FFE80068802F
    :02FFEA0068802D
    :02FFEC0068802B
    :02FFEE00688029
    :02FFF000688027
    :02FFF200688025
    :02FFF400688023
    :02FFF600688021
    :02FFF80068801F
    :02FFFA0068801D
    :02FFFC0068801B
    :02FFFE00508031
    :00000001FF

    Here is my result outputed by MSP flasher:

    C:\ti\MSPFlasher_1.3.19>MSP430Flasher.exe MSP430Flasher.exe -n MSP430FR2355 -m SBW4 -w test.hex -v -z [VCC]
    * -----/|-------------------------------------------------------------------- *
    * / |__ *
    * /_ / MSP Flasher v1.3.19 *
    * | / *
    * -----|/-------------------------------------------------------------------- *
    *
    * Evaluating triggers...done
    * Checking for available FET debuggers:
    * Found USB FET @ COM34 <- Selected
    * Initializing interface @ COM34...done
    * Checking firmware compatibility:
    * FET firmware is up to date.
    * Reading FW version...done
    * Setting VCC to 3000 mV...done
    * Accessing device...done
    * Reading device information...done
    *
    * ----------------------------------------------------------------------------
    * Arguments : MSP430Flasher.exe -n MSP430FR2355 -m SBW4 -w test.hex -v -z [VCC]
    * ----------------------------------------------------------------------------
    * Driver : loaded
    * Dll Version : 31400000
    * FwVersion : 31200000
    * Interface : TIUSB
    * HwVersion : E 5.0
    * JTAG Mode : AUTO
    * Device : MSP430FR2355
    * EEM : Level 5, ClockCntrl 2
    * VCC OFF
    * ----------------------------------------------------------------------------
    * Powering down...done
    * Disconnecting from device...done
    *
    * ----------------------------------------------------------------------------
    * Driver : closed (No error)
    * ----------------------------------------------------------------------------
    */

    Eason

  • Hi,
    Or may be you can use a gui(uniflash) to download the code. It will be much friendly.
    Eason
  • Hi,
    Is there any progress?
    Eason
  • Hi Eason!

    Sorry for my late reply.
    I asked the customer if they would like to post the source file or error screen, but there is no response from them.
    I did feedback to them information from you.

    If I have additional questions, I will post them on the related question.
    Thank you!
    Cruijff
  • Hi Cruijff,

    OK, I will close the thread temporarily. If the customer replies, you can open the thread again or open a new thread.

    Eason

**Attention** This is a public forum