ATAES132A param2 checksum for Lock command

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When trying to lock the Configuration memory, the chip reports a CRC error.
I'm calculating the CRC for the Lock command over address 0xF040 to 0xF1DF.

 

If I read out the entire configuration memory from the device it matches what I used to calculate the CRC.

 

Any suggestions as to the address range to calculate the checksum over?

 

 

Last Edited: Mon. Sep 4, 2017 - 09:11 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

 

I got the answer from Microchip support. The non-configurable area at address F000 to F03F must be included in the CRC when locking the configuration memory.

 

So the CRC must be calculate over F000 to F1DF.

 

Hope this saves someone some time :)