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.

CC430/MSP430F6137 BSL Flash Write Problem

Other Parts Discussed in Thread: CC430F5137

Hello All,

 

I am currently  working on CC430F5137 BSL for Firmware Update feature.

I am able to 

- enter into BSL mode

- Mass Erase Flash

- Rx Password and Unlock otehr commands

 

But i can not write a new data Block into the Flash.

While giving RX Data Block Command with any dummy data and dummy address like:

 

$80 $08 $00 $10 $00 $3c $00 $31 $40 $00 $5c $6c $f4

 

I am getting following Response:

 

 

00 80 02 00 3B 01 41 D4  

 

Checking out Error code in Documentation, It says: 

 

0x01 :  Flash Write Check Failed. After programming, a CRC is run on the programmed data. If the CRC does not match the expected result, this error is returned.

 

Please let me know if anyone has found similar problem and has a solution for it.

 

Thank you.

  • Great tag list. Your question will likely appear on any tag search, whether it is distantly related to the topic or not at all.

    About the error, well, is your dummy write address inside the flash area at all? I didn't check, but this would certainly give this error. Also, it is possible that you do not provide sufficient supply voltage/current for the flash write operation. The requirements are usually higher than the minimal operation conditions for executing code from flash. The BSL cannot know. Check the datasheet.

**Attention** This is a public forum