Yahoo Groups archive

Lpc2000

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

Message

Power up sequence

2003-12-04 by skulchak

Hello group,

I am trying to come up with a simple power up sequence
for my application using IAR. So that I could just FLASH
application into the part, and run it from RESET. I am
using NOHAU J-TAG loader.

I just read in the manual "Criterion for the valid user
code". I am not sure if there is a mechanism in IAR or
any other existing compiler for LPC2100 to create a valid
checksum block around interrupt vectors. I could write
a utility to update target binary file and insert a
proper checksum there, or write vectors in assembly and use 
jumps to the fixed secondary jump-table to keep values in 
the interrupt area constant, hence, predictable for the local
checksum.

I just can't believe that things need to be that complex to
power up an embedded processor and pass control to main().

I would highly appreciate any suggestions how to create
a FLASH-based power up sequence.

Regards,

Skulchak.

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.