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.

MSP430F5503: Field Update via USB

Part Number: MSP430F5503
Other Parts Discussed in Thread: MSPBSL

Hi Team,

Please find some customer feedback below.

We use the MSP430F5503 for a project with parameterization via USB-HID and I would like to be able to update the firmware in the field via USB.

For this purpose a bootloader is preinstalled ex factory, which automatically detects some crystal frequencies by means of timer and REFO and initializes USB accordingly - unfortunately the 16MHz for our application are just not there. The variant "8MHz XT2 as reference for FLL to then generate the 16MHz for external peripherals via DCO" would be too tricky for me, I actually only want to compile the USB bootloader for 16MHz.

TI provides the source code (MSPBSL_CustomBSL430_1_02_00_01) in two variants, for CCS and IAR Workbench, but only the latter supports USB and produces binaries <= 2KiB.
Of the published images, unfortunately there is also none that would support other crystal frequencies for this series.
It would certainly be helpful for other users, if TI could provide a variant of BSL (00.08.88.39), which would e.g. support the automatic detection of a selection of other XT2 frequencies than the ones mentioned in SLAU319, without the need for a familiarization with the source code including a new development environment.

Perhaps it could be achieved here in the medium term that more selection of boot loader images and/or a possibility of creating these also over the TI-own compiler becomes available.
Best regards,

Franz

  • Hi Franz,

    Thanks for sharing their feedback. I looked at the USB Field Firmware Updates on MSP430 MCUs app note and was actually impressed with what's available for customers developing applications with USB BSL.

    In the USB PLL Reference Clock section, it mentions there are four supported XT2 frequencies, not just one: 4 MHz, 8 MHz, 12 MHz and 24 MHz. To me, this seems like a good balance of offering a range of frequencies without trying to support all possible frequencies, which depending on the granularity may not be feasible. To add support for a different XT2 frequency, there are clear instructions in the Customize the XT2 Clock Frequency in the MSP430 BSL Code section that describe how to make the necessary changes to the code. The source code may only support IAR but at least it can be used with the free version of IAR.

    Overall, I think what's provided is a good reference that meets the needs of most customers as-is. For those who need a custom frequency, I think there's adequate instructions on how to do that. While I would prefer that all use cases would be supported, the customer shares some responsibility for leveraging these resources to meet their specific requirements.

    Regards,

    James

  • Custom XT2 value (16MHz or any other) can be inserted into original 2 KByte factory TI HID BSL binary. And here is example for 16 MHz, for other USB device...

    e2e.ti.com/.../2144309

**Attention** This is a public forum