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.

MSP430FR2676: MSP430FR2676 Booloader BSL

Part Number: MSP430FR2676
Other Parts Discussed in Thread: MSP430FR2676

Hi everyone,
I am developing my project on MSP430FR2676 device.
I have some issues with bootloader using BSL module with UART interface. Hope you can support me.
I am following “slau550aa” document. And I have some questions:

1. How to calculate CHECKSUM bytes on frame . On that document, have no mention about this. I found a calculation in “slau319c” document.
   “CHECKSUM = INV [ (B1 + 256 × B2) XOR (B3 + 256 × B4) XOR … XOR (Bn–1 + 256 × Bn) ]
   or
   CKL = INV [ B1 XOR B3 XOR … XOR Bn–1 ]
   CKH = INV [ B2 XOR B4 XOR … XOR Bn ]”
but it doesnot correspond with frame examples in “slau550aa”.

2. With command RX Password, I mean 32bytes password is 32bytes value of interrupt vector (start address 0xFFE0-0xFFFF). So I have to get it from hex file (like TI-txt hex)? If so, for each revesion firmware, that pass may be changed and I have to save it for next update firm ?

3. I use region “information memory” (0x1800-0x19FF) to store user data. If a incorrect password occurs (case may be pw failed or error uart…that I donnot wish), all memory will be erased. So, I want use “BSL Security Mechanism” mentioned at 1.11.2 in usermanual “slau445i” to disable erase feature.
How to define 0xAAAA to both BSL Signature 1 and BSL Signature 2? Can I modify it in my code or manual in hex file?

4. I cannot generate file bin output on CCS. Build return this error

   Option --array is not valid with --memwidth(-memwidth)

   Option --array is not valid with --romwidth(-romwidth)
  The reason I want to use binary file is I may use a device like esp32, it will download file from internet, and store in self memory. Then esp32 will BSL to msp430. Binary file size is smaller than other hex file.
5. Whether I go to correct direction or I had mistake anywhere in my mind?

6. For quickly, if you have a sample code, you can give me as reference.

Hope you give me the answers early!
Thank you so much!

**Attention** This is a public forum