Re: Startup code
- From: "Jet Morgan" <jm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 11:06:09 +0100
<ravikumar.n@xxxxxxxxxxxxxxxx> wrote in message
news:1120035513.007515.3740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> 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".
Sounds like a homework question to me.
"startup code" is a fragment of program that gets the "environment"
ready for use by (typically) a higher level language: setting
up chip-selects, bus widths, processor options, stack pointers
(all the stuff that doesn't really fit in to the way e.g. C works).
Startup code will be specific to the particular processor that
you are using, and will be specific to the way the processor
is connected to the other devices in your design. You have to write it.
Richard [in PE12]
.
- Follow-Ups:
- Re: Startup code
- From: Meindert Sprang
- Re: Startup code
- References:
- Startup code
- From: ravikumar . n
- Startup code
- Prev by Date: Re: CLIL source code from book "Firmware demystified"
- Next by Date: Re: Startup code
- Previous by thread: Startup code
- Next by thread: Re: Startup code
- Index(es):
Relevant Pages
|