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.

MSP430F5529: Switch between UART BSL and USB BSL

Part Number: MSP430F5529
Other Parts Discussed in Thread: MSP430F5528, MSP-FET

Hi,

I have got the BSL Scripter program and I am trying to reprogram my MSP430 Launchpad via UART. The Launchpad comes as USB BSL ready. So reprogramming the device via USB is no problem. But it needs to be done via UART.

I am not sure how to make this UART BSL. How do I do it?

Then I would like to switch back to USB BSL so that I can continue to compile and build my program in CCS. Can someone tell how I could switch between the two modes?

  • You are mixing different things.

    If we are talking about MSP430F5529 LP, then it has open software / hardware eZ-FET Lite on board (with MSP430F5528 QFN chip), and program on target device chip (MSP430F5529 LQFP) can be debugged / updated with CCS by SBW interface.

    Hovewer, target device chip is accessible also by separate USB port, and firmware can be updated by factory preloaded USB BSL in combination with BSL scripter from PC side. This factory preloaded USB BSL is stored in device flash (BSL segments) and can be replaced by UART BSL (provided by TI), but in this case BSL hardware must be by your side, because 5529 LP alone is not able to upload program to on board target device by UART BSL. Switching between two BSL's (USB / UART) is only possible by different firmwares (stored in flash BSL segments), and this is not related to LP SBW interface that is used for debugging / updating by CCS.

  • zrno soli said:
    but in this case BSL hardware must be by your side, because 5529 LP alone is not able to upload program to on board target device by UART BSL.

    I'm not sure what you mean. Do you mean connect to the 5529 LP via the UART pins on the board?

    So if I was to create the BSL entry sequence via UART I should be able to reprogram the 5529 LP?

  • MSP-FET can be used as BSL hardware, eZ-FET Lite (5529 LP) not. There is way to use G2 LP (on board USB / UART bridge in combination with target device chip) as BSL hardware (www.ti.com/.../slaa535a.pdf). For hardware must be used extra USB / UART bridge cable / chip.

    My point is that, with using only 5529 LP board / hardware is not possible to flash on board target device (5529) by UART BSL. With this board is possible to update target device by itself (USB BSL) or by on board eZ-FET Lite (SBW).

**Attention** This is a public forum