At 08:30 PM 1/10/06 +0000, carlosahsilva wrote:
>I have made some tests on the Program CheckSum generated by IAR
>compiler and there is realy something fish.
<snip>
> for (long byte = 0; byte < 0x00037FFF-0x00000000; byte++) {
> // Read a byte and sum it
> ValCheckSum += *pby;
> // Increment pointer
> pby++;
> }
Just a thought, are you sure they are using addition for the
checksum. Not, say, xor?
Robert
" 'Freedom' has no meaning of itself. There are always restrictions, be
they legal, genetic, or physical. If you don't believe me, try to chew a
radio signal. " -- Kelvin Throop, III
http://www.aeolusdevelopment.com/Message
Re: [lpc2000] Checksum Problem Part B
2006-01-10 by Robert Adsett