Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Checksum Problem Part B

2006-01-10 by Robert Adsett

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/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.