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.

Radio Bootstrap loader for MSP430 through Uart

Other Parts Discussed in Thread: MSP430F247

Hi, Everyone

I am working on a feature that utilizes Bluetooth to do the firmware upgrade. This could be very exciting since it's the most easiest way for customers to update the program.  Our ideal scenario is that customers click one button on the app then the system updates itself. The customer will not need push any button or looking into the tedious user manual...

Since we are using a 'transparent' bluetooth module (which means whatever I send from App, it will send to MCU through UART), the upgrade process can be controlled through the App. Except, however, it requires start sequence to initialize the upgrade process.

I am wondering is there anyway to generate the start sequence? We do have another MCU (a separate MCU for other purpose). It'll be possible to generate the start sequence from that MCU, but this solution let me feel not fail-safe.... 

Welcome any suggestions!

Kevin

  • Your software looks for specific uart data that tells you can do a soft start of the BSL and then just use the Bluetooth as a uart bridge.
    But here comes the tricky part, what if firmware update fails? there is no routine left to invoke the soft start of the bsl.

    To think about:
    Leave a very basic routine in INFO that all Uart data goes through and don't allow mass-erase that deletes this routine.
    So as long the writing back of Reset and USCI vectors don't fail (as you did erase all of main)
  • Tony,

    Yes, I believe a soft start of the BSL is good. I could set some flag in the INFO before start BSL, and restore it when finished. Each time at PUC let the PC points to the BSL program, determining whether enter into BSL depending on that value.

    The problem is I am using MSP430F247. Can I modify the BSL for this specific device? Currently I have no idea how to modify the BSL program for MSP430F247....

    Kevin

**Attention** This is a public forum