Yahoo Groups archive

Lpc2000

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

Message

Re: Vector Checksum not generated in .hex file

2005-01-13 by Leighton Rowe

> > intvect:
> > 
> >         LDR     pc, startaddr
> >         LDR     pc, undefinstaddr
> >         LDR     pc, softintaddr
> >         LDR     pc, preabortaddr
> >         LDR     pc, dataabortaddr
> >         .word   0xb8a06f60
> >         LDR     pc, interruptaddr
> >         LDR     pc, fastintaddr
> > 
> > startaddr:
> >         .word   start
> > 
> > undefinstaddr:
> >         .word   undefined_instruction_routine
> > 
> > softintaddr:
> >         .word   software_interrupt_routine
> > 
> > preabortaddr:
> >         .word   prefetch_abort_routine
> > 
> > dataabortaddr:
> >         .word   data_abort_routine
> > 
> > interruptaddr:
> >         .word   interrupt_routine
> > 
> > fastintaddr:
> >         .word   fast_interrupt_routine
> > 

The Hard Coded way...not bad at all. 

> You can load your HEX file in the the flash utility, generate the 
> checksum (Vector calc button in the flash screen) and save the HEX 
> file back.
> 
> Richard

That's pretty close to what I'm currently doing before updating the 
firmware using IAP calls (not the ISP utility) during code execution.

Both would work for me. Thanks.

Leighton

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.