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.

MSP430G2553: msp430g2553 bootloader

Part Number: MSP430G2553

Dear Josh

we purchased MSP-EXP430G2 tool for developing project. we want to program the application into device(MSP430g2553). for that we got source BSL source(G2xx3_INFO_BSL) from ti website and program the device which on the development tool. we written simple LED blinking application. we followed the procedure as per SLA450E pdf document. we are not successful.

After loading the BSL code into device. 

we done following things

1. Pressed and hold the RESET switch.

2.Then pressed the S2 switch on the tool and release the Reset Switch and then S2 switch.

3.After that application code(TI-TXT) formatted ,dumped through HTERM application .

4. After paused the debugger we save the memory from address (0xFE00) of 255 byte.Now this file sent again through Hterm with checksum byte value.

5. some times it is returned the NACK byte.

6. we tried many times but we are not successed

Please help in this regards

Satya.Ch

TECHNOEDGE

  • Hi Satya,

    It looks like you're trying to create a custom BSL for the MSP430G2553. This device already contains a UART BSL in ROM but sometimes it makes sense to create a custom BSL to use other communication interfaces and allow for easy customization.

    I recommend looking into MSPBoot - Main Memory Bootloader for MSP430 Flash Microcontrollers. This document and accompanying code shows how to setup a bootloader that resides in main memory and is highly customizable. There are examples using the MSP430G2553 with an I2C and UART interface as well. Let me know if you have any questions over this document or the code.

    Best regards,

    Caleb Overbay

  • Hello Satya,

    As Caleb mentioned, the G2553 comes with the bootloader in ROM. If you could provide more details in the tools that you are using it could help us to give more information.

    I got that you are using the H-TERM for the PC application. Which tool you are using to connect the PC with the G2553? Is it a usb-serial converter like CP2102?

    Before we start to communicate with the BSL, the BSL has to be invoked. this has been done by applying what so called: hardware invocation. it is a sequence signal that been implemented in TST and RST pins. If in any case you have two boards MSP-EXP430G2, you can use on of them to be the usb-serial converter based on this application note: www.ti.com/.../slaa535a.pdf and the other one as the target to be programmed.

    Let me know if you need further help.

**Attention** This is a public forum