[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Parm to application

From: Parthasaradhi Nayani
Subject: Re: [avr-gcc-list] Parm to application
Date: Sun, 26 Aug 2012 06:09:32 -0700 (PDT)

From: Bob Paddock <address@hidden>
Subject: Re: [avr-gcc-list] Parm to application

> Calling main from boot does not sound sane.

>BootLoaders end by jumping (using a call would not be sane) to
>absolute address zero.
>The vector table from address zero takes care of getting to the the
>first .init section and in turn main().

Yes I am doing a jump to 00 from boot loader when I am done. In fact while in boot
loader the vector table is shifted to boot section as I am using some interrupts and before
going to application section, vector table is shifted back to 00. This is working fine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]