I would lije to perform a CRC or Checksum for the FLASH memory of my device, an AVR32UC3, this will be performed by blocks, so I'm thinking that the prototype can be:
uint32_t calculateCRC( uint32_t startAddr, uint32_t endAddr);
- Do the contents of the Flash memory of the AVR32 have 32bit values?
- If i try to do a FULL flash CRC the
startAddrvalue would be 0x0 or 0x80000000?? (due to the program start of the AVR32 is in 0x80000000).
- what could be the value for
endAddrif checking the whole memory?