Yahoo Groups archive

Lpc2000

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

Message

Re: Interrupt Handling (Vector checksum)

2004-11-18 by tom_laffey

Hi Robert,

Did you ever solve the vector table checksum problem?  Like you, I've 
tried the algorithm described in the manual (the one you typed below) 
and the boot code won't start when the file is loaded with IAP.  From 
the description, the checksum covers the first 8 words. 

My application uses IAP for firmware updates, so long-term dependency 
on the Philips downloader is not an option.

Thanks,

Tom



--- In lpc2000@yahoogroups.com, Robert Wood <robert.wood@a...> wrote:
> >> What toolchain are you using ? <<
> 
> Crossworks.
> 
> >> Depending on toolchain, I could send you the modfied startup 
file  
> directly.. <<
> 
> The datasheet says:
> 
> "The reserved ARM interrupt vector location (0x0000 0014) should 
contain the 2 
> s complement of the check-sum of the remaining interrupt vectors. 
This causes 
> the checksum of all of the vectors together to be 0."
> 
> So, I'm thinking it shouldn't be that difficult to actually work 
out, but I'm 
> don't understand whether it's just talking about the first few 
memory 
> locations, all the interrupt vectors, both, or something else 
again. 
> 
> I should work out how to calculate it really, as there's every 
chance I'll 
> want to mod it again!

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.