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.

Update firmware over the air using GSM - MSP430

Other Parts Discussed in Thread: MSP430F5419A

Hello,

I have a board with MSP430f5419a and GSM module and i am looking for a way to update the firmware over the air. GSM stack is already working fine and it can send and receive data to  a server using TCP link. The gsm Tx Rx are connected to Port P3.4 and P3.5.   Is there any sample example using which i can do the whole firmware update in my mcu.I am using super loop in main. Do i need to use  any kind of RTOS to perform this task?

  • This can be done. But there are some caveats (like you generally cannot use interrupts).

    TI used to have an app note (that is no longer on their site) that you can find a copy of here: http://www.gaw.ru/pdf/TI/app/msp430/slaa103.pdf

    Also, there are previous threads on this forum:

    http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/19418.aspx?pi67854=1

    is one of them.

  • Generic idea is: you need flash update code which does not change, occupies flash segments you never erase during main firmware update. Other option would be: double the flash size, two copies of software, each includes part that can update other firmware copy, in addition to both firmwares there shall be small bootloader that do CRC checking of firmwares and select/run one that marked active.

  • Or an external (serial) flash which holds two firmware images and a small bootloader in the MSP which decides which firmware should be loaded and executed.

    H.

  • Hi Sunil Shahu,

    Have you successfully implemented the OTA"? I also need to do that so i may need some help from you. Thank You.

**Attention** This is a public forum