In order to configure properly the CRC on ADuCM4050 within the IAR IDE it is necessary to modify following configurations under the Linker section.
- Checksum tab (see figure)
-
- Fill unused code memory must be checked
- Fill pattern end address must be 0x7fb
- "Generate checksum" must be checked
- Checksum size: 4 bytes
- Alignment:4
- Algorithm: CRC32
- Initial value = 0xFFFFFFFF
- Use as input must be unchecked
- Check sum unit size: 32-bit
- Extra Options tab
- Use command line options must be checked
- Add “--keep __checksum"