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.

Can IAR program msp430 with hex file?

Other Parts Discussed in Thread: MSP430F2112, MSP430F5309, MSP430F5308, MSP430F5304, MSP430F5310, MSP430F5509, MSP430F5508, MSP430F5505, MSP430F5504, MSP430F5507, MSP430F5506, MSP430F5501, MSP430F5500, MSP430F5503, MSP430F5502, MSP430FE427

I have created a hex file from IAR and was wondering how to program the MSP430 with this file.

I want the MSP430 programmable out in the field without having to have the whole workspace with code to do it.

Can an IAR shell download a hexfile?

  • Hi,

    you can use TI's MSP-FET430UIF (JTAG Interface) or an eZ430 Tool and the software FET-PRO430 Lite from Elpotronic. This software allows to program a hex file to your target.
    You can find the FET-PRO430 Lite software here: http://www.elprotronic.com/download.html

    You should also consider using the BSL (Boot Strap Loader) for this action.

    Rgds
    aBUGSworstnightmare

  • I have an eZ430-F2013 USB stick that I am using for development (Spy-Bi wire 3-wire)  for the MSP430F2112 device.

    Can I use this with the FET-PRO430 Lite? Will it communicate with the TI USB stick?

    Only need to do this a few times to tweek an audio buzzer level in the field.

     

    Thanks.

  • Hi,

    yes! You can! Find the description from the elprotronic website below:

    Rgds
    aBUGSworstnightmare

    Supports in fully TI's PP, USB FETs and EZ430 only.
    Includes TI's MSP-FET430UIF firmware update. Communication via JTAG and Spy-Bi-Wire. Supports all MSP430 microcontrollers.
    New: Added support for MSP430F5304, MSP430F5308, MSP430F5309, MSP430F5310
    MSP430F5500, MSP430F5501, MSP430F5502, MSP430F5503, MSP430F5504, MSP430F5505, MSP430F5506, MSP430F5507, MSP430F5508, MSP430F5509

  • Hi all,

             I am working on MSP430FE427 Energy meter using Demo2. The meter is almost completed and working perfectly. Finally, I activated the LEDs to blink as per the energy value. ( 3200 impulses/ 1kwhr ) . it is working filne for both debug and hex releases. The problem is, for debug file LED Blinks very bright and looks good, for a measurement. whereas, for Hex file, the LED blinks very weak, it is just detectable. How can I increase the brightness of the LEDs. Please help me.

     

    Regards,

    SehuramV

     

  • It looks as if the power supply is different for the two cases.

    If running in debug mode, I can safely assume that the FET is attached to the device. Depending on the PCB, the FET might power the MSP with a higher voltage that you normally do, causing the voltage applied to the diodes and the (hopefully existent) current-limiting resistors to be higher and therefore the diode current. Let's say the diodes have 2V diode voltage, the MSP is normally powered at 3V and there is a resistor of 100Ohm. So the current through the diode will be (3-2)/100 A = 10mA. If the FET sources the circuit with 3.3V when connected, the current will be (3.3-2)/100 = 13mA. Actually the difference will be larger since there is an additional internal voltage drop on the output drivers. Also, LEDs have a nonlinear light output. Up to a certain mnimum they stay off, then the current starts to rise more or less linear. So depending on the valeu of the resistor and the diode type, this may well explain your observation.

    So my suggestion: first check the VCC value (best directly on teh MSP) with or without debugging. If there is really no difference, then we'll see further.

    Note that most voltage regulators only block the current flowing in from their input, but they cannot swallow excess current rushing in from teh output side, so they won't regulate the output side down again.

**Attention** This is a public forum