2003-06-17 07:30 PM
2003-06-17 03:53 AM
Using an ST7Flite09
Is there a way of Reading Rom and Producing a checksum?2003-06-17 05:22 AM
There is no built in method to do this, but it would not be very hard to implement your own program checksum.
If you look in the Flash programming manual they explain the algo they use for the HDFlash devices. Regards Spen2003-06-17 05:35 AM
Hi Andy,
You need to use the Long Indirect Indexed addressing mode. This allows you to set a memory address in RAM, then use the X or Y register as an index from that address. Once 256 bytes are covered, increment the address in RAM until you have covered the memory range required. I can provide demo code if required. regards, Simon Anglia2003-06-17 07:30 PM
Have a look at Application Note 1070 ''ST7 Checksum Selfchecking capabelity''. This application note describes a software technique to determine if the data and program in flash have been corrupted.
Hope this helps Regards, PraveenG