Re: Startup code





Jack Klein wrote:
> 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?

Of course we do, what do you think? :)

But strictly speaking the startup code as provided by
some compilers provides the minimum code from the reset
until the jump to the main function in C.

.



Relevant Pages

  • RE: Starting RRAS service returned ERROR 80070057?
    ... > the tcp/ip stack. ... > You could reset the ip stack by running the following command: ... > keep in mind that if you perform this command, ... > Best Regards, ...
    (microsoft.public.windows.server.sbs)
  • RE: Deleting 63,886 Blank Rows Under My Data
    ... see this site to reset. ... "Kajuliano" wrote: ... and there are blank cells within the rows I am working on that need to stay ...
    (microsoft.public.excel.misc)
  • Re: "Changing" an HBAs world wide name?
    ... Dpends on what you mean by "change" ... Apparently some HBA's can be changed - STK HBA's on 9940 tape drive can be ... reset so that they have the same wwn as the previous tape drive i.e saves ... Regards ...
    (AIX-L)
  • Parental Controls
    ... This will tell you how to reset your ratings ... Regards ... Phil ...
    (microsoft.public.windowsxp.security_admin)
  • Re: HIPs
    ... I wonder how many times they have had to reset their XX days and counting ... Who else on here suspects the whole thing is going to be scraped, ...
    (uk.legal)