From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29113 invoked by alias); 29 Jan 2008 08:56:05 -0000 Received: (qmail 29101 invoked by uid 22791); 29 Jan 2008 08:56:04 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.182) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jan 2008 08:55:37 +0000 Received: by py-out-1112.google.com with SMTP id f31so2404161pyh.18 for ; Tue, 29 Jan 2008 00:55:35 -0800 (PST) Received: by 10.142.84.3 with SMTP id h3mr3068408wfb.113.1201596934685; Tue, 29 Jan 2008 00:55:34 -0800 (PST) Received: by 10.143.2.7 with HTTP; Tue, 29 Jan 2008 00:55:34 -0800 (PST) Message-ID: Date: Tue, 29 Jan 2008 12:19:00 -0000 From: "Tom Deconinck" To: "Alois Z." Cc: ecos-discuss@sources.redhat.com In-Reply-To: <20080128171909.64340@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080128160738.64350@gmx.net> <20080128164654.GC10795@lunn.ch> <20080128170611.58540@gmx.net> <20080128170951.GD10795@lunn.ch> <20080128171909.64340@gmx.net> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] RAM Images on AT91SAM7s256 X-SW-Source: 2008-01/txt/msg00200.txt.bz2 Hi, As Andrew stated, you will have to alter the startup code for the RAM image to do the memory remapping so the vectors are located at 0x0. Look at the ROM startup for reference. I've done something similar on a AT91SAM7SE512, I used a BDI2000 JTAG probe to load in my image though. Regards, Tom On Jan 28, 2008 6:19 PM, Alois Z. wrote: > > - > > > > How are you going to get this image into RAM? > > > > > > I thought of useing sam-ba for loading and starting images. > > > > O.K. But you need to find out what RAM sam-ba uses so you can avoid > > it. > > > > > > You also need to make sure that RAM is mapped to address 0x0 as well > > > > as 0x00200000. I know ROM startup does this, but i think RAM startup > > > > probably does not. > > > Is this necessary for the vectors to be at the right place? > > > > Yes. Without this, all your interrupts are not going to work etc. > > > > Andrew > > Thanks that realy helped. So much to learn;-) > Alois > > -- > Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger > > -- > > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss