Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Hardware checksum for MSP430fr5969

$
0
0
Thank you for the replay, I have checked my code by passing the some values and verified with the CRC calculator in online. i checked by as you suggested to put the seed to the next CRC calculation, value Below are the test scenarios, a) passed '1' (0x31) got the correct value as CRC calculator, b) Passed '2' , and passed the CRC of '1' as seed, i got 0x3DBA from code. i verifed the same by passing '12' at a same time in the CRC calculator. But i am not getting to calculate the CRC to my downloaded file, from where i need to pass the data. file starts as, @5800 5C 52 @5805 FF 01 00 1A 5F FE 5C 0B 5D 01 00 00 00 19 50 05 00 01 00 1A 5F 0C 5D 0B 5D 00 00 00 00 19 50 06 00 01 00 1A 5F 17 5D 0B 5D 00 00 00 00 19 50 07 00 02 00 1A 5F 25 5D 0B 5D 16 00 00 00 18 50 01 00 01 00 3C 5F 2E 5D 0B 5D 01 00 00 00 BC 4D 01 00 03 00 42 5F 0B 5D 0B 5D 02 00 00 00 7E 4D 04 00 00 00 21 5F 40 5D 0B 5D 00 00 00 00 1F 4E 08 00 00 00 21 5F 4B 5D 56 5D 00 00 00 00 0F 4E 10 00 00 00 21 5F 63 5D 6D 5D 00 00 00 00 EB 4D 24 here 5C52 is CRC of the file, from where do i need to pass the data whether from @5800 or from @5805 or FF 01 00. i am got confused here. Please suggest.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>