From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26170 invoked by alias); 21 Nov 2006 13:19:56 -0000 Received: (qmail 26155 invoked by uid 22791); 21 Nov 2006 13:19:53 -0000 X-Spam-Status: No, hits=-2.6 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.31) with ESMTP; Tue, 21 Nov 2006 13:19:48 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1GmVXI-0008Lz-00; Tue, 21 Nov 2006 14:19:40 +0100 Date: Tue, 21 Nov 2006 13:19:00 -0000 To: 20061118203849.GC31982@lunn.ch Cc: Andrew Lunn , ecos-devel@ecos.sourceware.org Subject: Re: Flashdriver for TC1796 Message-ID: <20061121131940.GG30460@lunn.ch> References: <200611211203.51912.Rudi.Pfister@informatik.stud.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611211203.51912.Rudi.Pfister@informatik.stud.uni-erlangen.de> User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2006-11/txt/msg00013.txt.bz2 On Tue, Nov 21, 2006 at 12:03:51PM +0100, Rudi Pfister wrote: > Hello, > > I don't want to use the Flash Image System ... > > I want to write programcode to the flash memory of the TC1796. > It should be possible to place the code anywhere in the flash, > e.g. to the program counter start address so the board will start > my application after a reset. So you want to do something like: fis write -b 0x00100000 -f 0x0020000 -l 0x1000 ie write the contents of RAM 0x0010000, length 0x1000 to flash address 0x00200000. This does not need a buffer. > > The eCos design philosophy would be to use CDL. > > Do you mean I should use an option to configure the size of the > buffer and only use the blocks smaller or equal to the buffer > size ? Yes, and also an option to specify where in memory the block should be placed, so you can put it into the external RAM if you want to. Andrew P.S. You mail server is broken somehow. The Reply-to: field is Reply-To: 20061118203849.GC31982@lunn.ch which is not going to work.