01-25-2023 03:34 AM - edited 01-25-2023 04:04 AM
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.
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.
Many thanks
Sam