avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] reserve some RAM for bootloader


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] reserve some RAM for bootloader
Date: Thu, 16 Jun 2005 07:20:09 +0200 (MET DST)

Torsten Mohr <address@hidden> wrote:

> Is it possible to just set the start address of .data to a higher
> value than normal for the application?  Would that be just
> sufficient?

Yes, it would.  Of course, you need to resolve the conflicts between
your bootloader and main application manually, in particular you need
to relocate the stack for the main app as by default, the stack starts
right on top.

I'd personally consider it not a very eloquent solution, and rather
implement two completely independent pieces of software.

> Do i also need to add the offset of 0x00800000?

Yes, you need to.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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