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.

Using Bootstrap Loader

Other Parts Discussed in Thread: MSP430F168

Hi everyone,

I am trying to use BSL to download our upgrade  firmware into MSP430f168 via serial port.

As the device is packed the only way that I have access to MCU is UART1 which  is set 19200m, No Parity, 8bits, 1 stop bit.

I am using CCSv4 as compiler can set the output to get .txt file however I am not sure it's the file I need.

I have tried to rest the device and send following BSL command after reset assuming the default setting after reset is 9600, even, 1stop

TO BSL: 80
(Synchronization character sent to the BSL)
FROM BSL: 90  (Acknowledge from BSL)
TO BSL: 80 14 04 04 F0 0F 0E 00 85 E0      (Send Command to read memory from 0x0F00, length 0x000E)
FROM BSL: 80 00 0E 0E F2 13 40 40 00 00 00 00 00 00 02 01 01 01 C0 A2
(Returned values from BSL)

so far no any success , any help and experience is appreciated.

Thanks,

 

 

 

 

 

  • If you are using the TI BSL, they do not use UART0 or UART1. For the F168 chip, they use P1.1 as TXD and P2.2 as RXD. You also need to control TCLK pin and RST pin to invoke BSL. All these are described in Chapter 4 of "MSP430 Programming Via the Bootstrap Loader User's Guide" (slau319a.pdf).

    TI also has a PC program that reads a text file with the MSP430-TXT format and do send the BSL commands you are talking about. The MSP430-TXT format looks like this:


      @1234
      56 78 9A BC DE ...
      ....
      q

    where 1234 is the location, 56 78 9A BC DE ... are the contents, and q is the only thing in the last line.

**Attention** This is a public forum