From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7986 invoked by alias); 27 Sep 2009 16:37:33 -0000 Received: (qmail 7975 invoked by uid 22791); 27 Sep 2009 16:37:32 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Sep 2009 16:37:25 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1MrwkU-0005A7-00; Sun, 27 Sep 2009 18:37:22 +0200 Date: Sun, 27 Sep 2009 16:37:00 -0000 From: Andrew Lunn To: Mandeep Sandhu Cc: ecos-discuss Message-ID: <20090927163722.GV16067@lunn.ch> Mail-Followup-To: Mandeep Sandhu , ecos-discuss References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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] Running code from on-chip flash X-SW-Source: 2009-09/txt/msg00252.txt.bz2 On Sun, Sep 27, 2009 at 08:57:59AM +0530, Mandeep Sandhu wrote: > Hi all, > > I'm going to be using a real hardware for the first time (with ECOS). > The h/w is the Atmel AT91SAM7X512 SoC. > > In order to save RAM, i'll be running the code from the on-chip flash > itself (512KB). > > Now is it true that if my code resides on the flash, I will not be > able to write to it? Wrong. You just need to be careful where you write. The AT91SAM7X512 is also a bit easier since it has two controllers, so you could have one controller for code and the other for data. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss