From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27446 invoked by alias); 2 Dec 2003 10:47:14 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 27438 invoked from network); 2 Dec 2003 10:47:13 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 2 Dec 2003 10:47:13 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1AR83j-0000L7-00; Tue, 02 Dec 2003 11:47:11 +0100 Date: Tue, 02 Dec 2003 10:47:00 -0000 To: Ricardo Andrino Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20031202104711.GD21590@lunn.ch> Mail-Followup-To: Ricardo Andrino , ecos-discuss@ecos.sourceware.org References: <200312021019.hB2AJhQ07852@mailgate5.cinetic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312021019.hB2AJhQ07852@mailgate5.cinetic.de> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] Error in run tests X-SW-Source: 2003-12/txt/msg00021.txt.bz2 On Tue, Dec 02, 2003 at 11:19:43AM +0100, Ricardo Andrino wrote: > Thanks a lot for your fast answer > but i don't understand when you say won't write anything. I want to load my program at address 0x1000000, flash memory and run my program from this memory is it not allowed? > Why does have the board the flash memory? You can run applications from flash, thats not a problem. But the way the test cases are run requires the insertion of breakpoints. You cannot put breakpoints into ROM. So its not possible to run the test automatically. Instead you need to run the test programs manually and manually determine if they have passed/failed. When it comes to real application development, you will find it slow working with your application in Flash. Again you cannot use breakpoints, single steps etc. Its also slow writing the image to flash every time you want to run it. Also, flash's do have a limited number of erase/program cycles. Its best to develop your application in RAM and then once its nearly complete move it to FLASH for testing. It will naturally run slower in FLASH, so you need to be careful about this. Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss