Raptor:Calc Checksum Block

From NewEagleWiki
Revision as of 12:31, 1 September 2016 by 107.4.110.88 (talk) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return to the main Raptor page

Return to CAN page

Raptor CAN Definition

Description

This block is used to calculate the checksum of memory segments in the controller. These checksums can be used to validate that the the data stored in a memory segment has not changed. The block uses the CRC16-CCITT method to calculate the checksum. Due to the computationally intense nature of this algorithm the checksum is calculated incrementally over multiple executions of this block. This means that the Calculate Checksum block must be in a regularly triggered subsystem. The value of the checksum can be read using the Read Checksum block.

The available memory segments are detailed below.

Memory Segments

Segment Description
Constant (FLASH) Variables This memory segment includes all data in the Constant location including calibrations if set to Constant.
NonVolatile (EEPROM) Variables This memory segment includes all data in the NonVolatile location including calibrations is set to NonVolatile.
Calibration Variables This memory segment includes all data in the Calibration location. This does not include all items in the memory location that the calibration is stored in.
Code This memory segment includes all the generated code for the model.