I want to verify the program at runtime every time it is powered up. Som aplications regarding human safety requires that the processor checks itself for a corrupt program, checks that every used instruction is working ok and checks that every used ram register is working before it can go on with it's safety part of the program. The instruction- and ram-checking is ok but since I can't read the memory with the instructions (Harvard Architecture) I can't do any checksum test. > The only ways I can think of, is to verify the code on the chip with > the HEX file that it was programmed with, using the programmers > 'verify' command. > > If the chip is code protected, you should read back the program > contents after you have programmed it and save it to a file. The data > in this file can be used to verify the software in code protected chips. > > Regards > > Tony ------------------------------------ Ruben Joensson AB Liros Elektronik Box 9124 200 39 Malmoe Sweden Tel +46 40 14 20 80 Mail: ruben@sbbs.se ------------------------------------