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.

5419 BSL CRC Error



Hi All,

Whenever I try to send an RX password, the MSP430 returns 0x52 (checksum incorrect). Example:

Message:

0x80 0x11 0x00 0x11 0x00 0x00 0x60 0x5c 0x00 0x00 0x00 0x00 0x74 0x5f 0xc2 0x5d 0x00 0x00 0x00 0x5c 0xb2 0x78

response

0x52

I tried calculating CRC using http://www.lammertbies.nl/comm/info/crc-calculation.html, which calculates CRC as 0x78B2

CRC is calculated on the underlined portion.

0x80 0x11 0x00 0x11 0x00 0x00 0x60 0x5c 0x00 0x00 0x00 0x00 0x74 0x5f 0xc2 0x5d 0x00 0x00 0x00 0x5c 0xb2 0x78

UART settings are:

8 bits, even parity, 1 stop bit, 9600 baud.

Has anyone else had a similar problem? Any suggestions?

Sam

 

**Attention** This is a public forum