AnsweredAssumed Answered

burning data into Flash

Question asked by andrei luchuk on Aug 15, 2012
Latest reply on Jan 24, 2013 by Paolo Vagnoni

What I need is a CRC burned into flash so that I may check against it at run-time. How can I accomplish this?


So far I've been able to complete a 16-bit CRC using the on-chip CRC module, and the linker CRC, however they give me different values. I can obtain the checksum calculted by the CRC module with debug by looking at the registers. If i could place this value in flash during burning of the program, I can check against it at run-time. Either that, or get matching values between the two CRC algorythms. 


I am using CodeWarrior 10.2 with PT addon to program the MC9S08PT60 on the TWR board.