From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31237 invoked by alias); 17 Jun 2008 14:46:32 -0000 Received: (qmail 31227 invoked by uid 22791); 17 Jun 2008 14:46:31 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 17 Jun 2008 14:46:09 +0000 Received: by fg-out-1718.google.com with SMTP id 16so3649417fgg.44 for ; Tue, 17 Jun 2008 07:46:06 -0700 (PDT) Received: by 10.86.25.17 with SMTP id 17mr9136670fgy.63.1213713966402; Tue, 17 Jun 2008 07:46:06 -0700 (PDT) Received: from debi27.local.lan ( [212.41.113.171]) by mx.google.com with ESMTPS id l12sm11955788fgb.6.2008.06.17.07.45.58 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Jun 2008 07:46:05 -0700 (PDT) Date: Tue, 17 Jun 2008 15:04:00 -0000 To: "Andrew Lunn" Reply-To: Bob.Brusa@gmail.com Cc: MailingList:ecos-discuss ; Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20080617110026.GD24909@lunn.ch> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080617110026.GD24909@lunn.ch> User-Agent: Opera Mail/9.26 (Linux) From: Robert Brusa 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] no ecm-file for AT91SAM7X-EK X-SW-Source: 2008-06/txt/msg00113.txt.bz2 On Tue, 17 Jun 2008 13:00:26 +0200, Andrew Lunn wrote: > On Tue, Jun 17, 2008 at 11:34:51AM +0200, Robert Brusa wrote: >> Hi >> I want to build Redboot for the AT91SAM7X-EK and found that the >> package/hal/arm/at91/at91sam7x-folder exists, but its contents is >> incomplete (I am talking about the anonymous CVS version which I got a >> few days ago). There is no Redboot_RAM.ecm nor a Redboot_ROM.ecm file - >> as is the case e. g. for the AT91SAM7S. May I use the one of the 7S >> family and where do I find a documentation about the meaning of the >> contents of such an *.ecm-file? > > It never made much sense to me to have redboot on this target. The guy > who ported eCos to SAM7S did however, which is why they exist. For me, > the SAM7{SX} do not have enough RAM and FLASH to use redboot. You don't > have enough RAM to be able to upgrade the FLASH with anything more > than around 40Kbytes of image. It make little sense to use gdb with > redboot since your code is likely to be running from FLASH, not RAM, > so you need hardware breakpoints, not software breakpoints. So you > will be using a JTAG debugger, not a serial port debugger. If you have > a JTAG debugger, you have the ability to download into FLASH as big an > application as you want etc..... > > The SAM7S files will give you a good idea what you need in SAM7X > files. So feel free to create them and contribute them. But first > think, does it make sense for what you want to do? > > Andrew Hi Andrew Well no, I would like to do the job without redboot, but I came to the conclusion, that an application built with eCOS - as e. g. the little expamples that come with eCOS - do not boot without additional support. Now from your comment, I understand, that I should avoid using redboot. Does that also mean that e. g. the hellow eCOS-world application I built from the examples should run? So far it does not. I download it using our JTAG-Debugger. Then I remove the debugger from the target, pressed reset and expected an output on (one of) its serial interfaces. But there is nothing - which could of course have a pletora of reasons..... If I interpret the loader map correctly, the eCOS-version of the simple hello eCOS world requires app. 32 kB of flash. That compares favorably with the 256 kB flash of my (current) target. There is ample space to include more features of eCOS and code of the application program. So with a "naked" eCOS, I would be happy. In a way, my problem with the hello-example is similar to my problem with the test-programs generated by configtool. I have not yet figured out a method how to run them - or they do not work. How to decide? Robert -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss