From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17661 invoked by alias); 19 Oct 2009 10:42:38 -0000 Received: (qmail 17633 invoked by uid 22791); 19 Oct 2009 10:42:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f217.google.com (HELO mail-fx0-f217.google.com) (209.85.220.217) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Oct 2009 10:41:13 +0000 Received: by fxm17 with SMTP id 17so236946fxm.46 for ; Mon, 19 Oct 2009 03:41:11 -0700 (PDT) Received: by 10.204.154.69 with SMTP id n5mr4669539bkw.43.1255948871185; Mon, 19 Oct 2009 03:41:11 -0700 (PDT) Received: from localhost ([86.57.137.251]) by mx.google.com with ESMTPS id 14sm585816bwz.5.2009.10.19.03.41.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 03:41:09 -0700 (PDT) Date: Mon, 19 Oct 2009 10:42:00 -0000 From: Sergei Gavrikov To: peter_lanius@yahoo.com.au Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20091019104557.GA19013@sg-ubuntu.local> Mail-Followup-To: peter_lanius@yahoo.com.au, ecos-discuss@ecos.sourceware.org References: <471205.59207.qm@web51906.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <471205.59207.qm@web51906.mail.re2.yahoo.com> 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] RedBoot image for Olimex LPC-E2294 X-SW-Source: 2009-10/txt/msg00116.txt.bz2 On Mon, Oct 19, 2009 at 02:32:36AM -0700, peter_lanius@yahoo.com.au wrote: > Hi, > > I would like to use RedBoot / eCOS for my new project which is going > to run on an Olimex LPC-E2294 board. I have built RedBoot as per the > instructions in Anthony Massa's book (using the 'redboot' template > for the Olimex board). The whole build went without a hitch, I used > the Redboot_ROM.ecm configuration options file provided in the eCOS > 3.0 distribution for the Olimex board. > > I then used CrossWorks to burn the Flash image ('redboot.bin') using > 0x00000000 as the load address. This seemed to work ok as well and > when I restarted the board I could connect to RedBoot via > Hyperterminal. But I do get a warning message: > > FLASH: driver init failed: Invalid FLASH address > **Warning** FLASH configuration checksum error or invalid key > Use 'fconfig -i' to [re]initialize database > No network interfaces found > > RedBoot(tm) bootstrap and debug environment [ROM] > Non-certified release, version v3_0 - built 19:33:12, Oct 19 2009 > ... > Platform: Olimex LPC-E2294 development board (ARM7TDMI-S) > RAM: 0x81000000-0x81100000 [0x8100b560-0x810f1000 available] > RedBoot> Hello Peter, What's board revision do you have? http://olimex.com/dev/lpc-e2294.html http://olimex.com/dev/lpc-e2294rb.html These boards have the different flash parts. eCos v3_0 has HAL for old (Olimex now says 'obsolete board') Olimex LPC-E2294 board. If you have the new one, i.e. Olimex LPC-E2294 REV.B board, try this HAL from here http://bitbucket.org/tickling/olpcx22xx/ > What does the 'Invalid Flash address' message mean? Did I burn > RedBoot into the wrong location? Should I have used the > 'redboot.elf' file instead? Should I have modified the > 'mlt_arm_lpc2xxx_olpce2294_rom.ldi' file (what is in there seems to > me to also suggest the 0x00000000 start address)? Old Olimex LPC-E2294 had 28F320C3 Intel flash parts, new boards have 28F160C3. These flash parts have the different device codes, perhaps, eCos v3_0 flash driver for olpce2294 target cannot identify your chip. Sergei > Thanks > Peter > > > > __________________________________________________________________________________ > Get more done like never before with Yahoo!7 Mail. > Learn more: http://au.overview.mail.yahoo.com/ > > -- > 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