VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

CRC Configuration Help - VeriStand 2021 R3

Hello, 

 

I'm trying to configure a CRC within VeriStand but I don't seem to be having much luck with it. My limited knowledge of this subject matter probably isn't helping either. But here it goes...

 

The CRC type is Polynomial Register = X16+ X12 + X5 +1 (0x1021) Seed Register: 0xFFFF

 

I convert 0x1021 to decimal and insert into the Polynomial box below. I also set initial CRC to 0xFFFF. 

 

Sam_Reynolds_0-1674638195771.png

 

Then I configure the Outgoing frame CRC settings. However, I'm not sure what is meant by the First and Last Included byte. The VeriStand help file doesn't seem to provide much information either. The CRC is stored in the last two bytes of the Frame which I've attached an image of also.  

 

I've tried running with a number of different settings for the First and Last included bytes, but I don't see anything being calculated in the CRC when deploying to the target.  Any information and confirmation on what the First and Last bytes should be set to would be greatly appreciated. 

 

Sam_Reynolds_7-1674639219501.png

 

Sam_Reynolds_5-1674638787641.png

 

 

 

Many thanks


Sam

 

 

 

 

0 Kudos
Message 1 of 1
(1,201 Views)