Can you tell me, what does "unsigned char CODE *" mean in
checksum = calc_checksum ((unsigned char code *) 0, 0x4000);
from "csumex" Keil example.
My c166 compiler can't complile it. What shall I do?
HI Andy !
I just need to check if programm codes in flash was not changed. I have found 2 examples - with all flash checksum (with trash) and only code section checksum (more compact). So I just ask what should I prefer. I have no precise Requirement.
I have no experience in checksum calculation so I ask your opinion. My be someon can post ITS working example for 166. It will be nice :)