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.

MSP430I2020: Does MSP430i2020 can be programmed through UART?

Part Number: MSP430I2020
Other Parts Discussed in Thread: CC2650,

HI TI Team,

Does MSP430i support programming through UART like we do in CC2650(backdoor bootloader). In CC2650 we have defined 1 pin in CCFG file so after power on it checks the pin status and then we can program cc2650 through UART.

  • Hello,

    The MSP430I2020 does not have a built-in bootloader and does not have the same functionality as the CC2650 backdoor bootloader. However, it does have UART capabilities and is able to write data to Flash memory, so it is possible that you can write a custom bootloader that checks to see if the main application should be overwritten, takes in data through UART if it is, writes the data to a separate part of Flash memory, and jumps to the main application.

    Writing a bootloader can become rather involved, but MSPBoot explains the steps to take to create one. This method would take up a few KB of the available memory.

    If your application program is already close to the limit of the I2020 memory size, you might also want to consider using a separate MCU that takes in the UART input and outputs a JTAG interface to program the I2020. The MSP430 Programming Via the JTAG Interface User's Guide describes how to implement that method. Any JTAG device would have access to your device's memory, however.

    Regards,

    Ryan

  • Hi Ryan,

    Thanks for the approach provided by you. We can do this when we are in engineering phase but when we will go to mass production then how we can program the new IC?
    Going through the TI website I got the BSL document for MSP430 and the procedure shared in the document is same as CC2650. I am providing the link below.
    www.ti.com/.../slaa600c.pdf
    Is it applicable for MSP430i2020 also?
  • Since the i2020 does not come with a built-in bootloader, the MCU will need to be programmed initially with JTAG. This can be done by having the JTAG connections on your production board for initial programming using an emulation tool like the MSP-FET, programming MCUs through a compatible Target Development Board before soldering it onto your production board, or finding a supplier that can load a program onto the MCUs before shipping them to you.

    Once the custom bootloader is on the MCU from the initial JTAG programming, you would be able to program the MCUs afterward through UART or another form of communication depending on how your bootloader is implemented.

    Regards,

    Ryan

**Attention** This is a public forum