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.

MSP430F5527: MSP430 Firmware Upgrade Example hangs

Part Number: MSP430F5527
Other Parts Discussed in Thread: MSP430F5528

Hi there,

I am using the MSP430 Firmware Upgrade Example GUI to flash firmware on my target (http://www.ti.com/lit/an/slaa452c/slaa452c.pdf).  My firmware launches the BSL and then I use the Upgrade GUI to download the new image.  My older firmware built under CCS 5.2 downloads fine, but when downloading a newer version built with CCS 9, the GUI hangs about 70% of the way through the download.  The newer firmware is larger and uses high memory (> 0xFFFF) as well as the lower memory.  I'm suspicious that the hanging problem is related to the use of high memory but don't know for sure.  Do you know of any limitations on the image size that can be loaded through the MSP430 Firmware Upgrade Example GUI?

Tom Herron

  • Tom Herron51 said:
    I'm suspicious that the hanging problem is related to the use of high memory but don't know for sure.  Do you know of any limitations on the image size that can be loaded through the MSP430 Firmware Upgrade Example GUI?

    Using CCS 9.3 and the TI v18.12.4.LTS compiler created a program for a MSP430F5528 which filled:

    - 47028 bytes (97%) of FLASH (low memory)
    - 82092 bytes (98%) of FLASH2 (high memory).

    I was able to successfully program the resulting TI-TXT hex format file:

    I.e. there doesn't appear to be a limitation of the image size.

    Tom Herron51 said:
    My older firmware built under CCS 5.2 downloads fine, but when downloading a newer version built with CCS 9, the GUI hangs about 70% of the way through the download. 

    How did you create file to be downloaded with CCS 9?

    I found that when the MSP430 Hex Utility was enabled in CCS 9 the output format defaults to Extended Tektronix Object Format which generates a .hex file. When I first attempted to load the Extended Tektronix Object Format .hex file then MSP430 Firmware Upgrade Example GUI hung at:

    After selecting the output format as TI-TXT hex format the resulting .txt file was programmed successfully:

  • Chester,

    TI support is amazing!  I am pretty sure you are spot on, but I won't be able to until until after christmas.  When I switched to CCS 9, I forgot that I had replaced the post-build step to generate the hex file with the built-in hex file generation step.  I have set the output format to TI-TXT as you directed, and will confirm when I return from vacation.  Given that you're finding the same hanging behavior with the wrong format, I'm pretty sure this is it, but let's leave this open until I confirm.

    Tom

**Attention** This is a public forum