Re: Startup code



On 29 Jun 2005 01:58:33 -0700, ravikumar.n@xxxxxxxxxxxxxxxx wrote in
comp.arch.embedded:

>
>
> Hi all,
>
> I am Ravikumar.N, new to embedded systems programming. I have
> heard a term known as "startup Code" that will be executed in all the
> processors.
>
> Please tell me:
> 1) what is the meaning of "startup Code"
> 2) What function it does.
> 3) Who has to write the startup code.
> 4) What should be the contents of a "Startup Code".
>
> With Regards,
> Ravi Kumar.N

What amazes me here, considering all the replies to the OP I see here
so far, is nobody has mentioned one of the most important reasons for
having boot code.

How do you do a complete memory test before calling the C start-up
code that requires at least some memory be working? How do you test
the watchdog chip by forcing a reset?

Don't any of you do serious POST testing of your hardware?

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
.