I have an application whose program code spans several 16k pages of Banked ROM.
I am trying to use the prm CHECKSUM instruction to calculate a CRC32 value for the program code, however I cannot find the right syntax for the CHECKSUM block to do this.
I have tried the following:
CHECKSUM
CHECKSUM_ENTRY
METHOD_CRC32
OF READ_ONLY 0x4004 TO 0x7FFF, 0xC000 TO 0xFFFF
INTO READ_ONLY 0x4000 SIZE 4
UNDEFINED 0xFF
END
END
and
CHECKSUM
CHECKSUM_ENTRY
METHOD_CRC32
OF READ_ONLY 0x4004 TO 0x7FFF
OF READ_ONLY 0xC000 TO 0xFFFF
INTO READ_ONLY 0x4000 SIZE 4
UNDEFINED 0xFF
END
END
Both generate error message from the linker
I am currently Code Warrior running version 4.5
Any suggestion please?
Steve