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.

CCS/MSP430G2553: Load program using RX and TX in (Bluetooth module HC-05)

Part Number: MSP430G2553
Other Parts Discussed in Thread: MSPBSL

Tool/software: Code Composer Studio

Hi! 

Recently I was given the task of figuring out how to program a project that has a HC-05 Bluetooth module connected to the RX and TX ports in a .MSP430g2553 .

The MSP is already welded in the board and also very small for it to be programmed through the launchpad, so it is supposed to be programmed using the HC-05.

My approach so far has been connecting the HC-05 module to the computer, then figure out the COM port and try to program selecting UART instead of the conventional USB options, but it always freezes when 'Launching debugging session' (even in different computers). I think it's because I can't debug without the launchpad (I don't really know), so then I saw that I can flash it, but at this point I'm really lost. 

Do I need to use another program? A different configuration in CCS?

Any suggestions are welcomed. Thanks!

  • Hey Damian,

    I'm confused on exactly what you are trying to do.  You are trying to program the MSP430G2553 but can't connect directly to it so you are trying to program it via this HC-05 module.  Is that correct?   If so, I'm not sure really sure how that's going to work. 

    I guess there are two options, JTAG/SBW and bootloading.  The MSP430G2553 supports JTAG/SBW programming, but this is not possible via the MSP430's RX/TX connections on the MSP430 or through a BT Module. 

    The MSP450G2553 does have a built-in UART/I2C Bootloader that could be used to program the device, but the HC-05 would have to be the bootloader host and invoke the bootloader and flash in the new code.  This isn't something CCS can do, it will require some custom software on the HC-05.  

    Here is a App note on MSPBoot and shows how to do an Over the Air Update on the MSP430G2553 using a TI radio.  This is basically what you would need to recreate in your system.  https://www.ti.com/lit/an/slaa600d/slaa600d.pdf 

    All collateral on MSP Bootloaders can be found at MSPBSL.

    Thanks,

    JD

  • As I recall, on the G2553 in particular the BSL UART pins aren't the same as the "standard" UART pins. If the chip is already soldered, you probably don't have the right connections.

**Attention** This is a public forum