From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15534 invoked by alias); 28 Jul 2005 15:22:52 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 15517 invoked by uid 22791); 28 Jul 2005 15:22:46 -0000 Received: from ams-iport-1.cisco.com (HELO ams-iport-1.cisco.com) (144.254.224.140) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 28 Jul 2005 15:22:46 +0000 Received: from ams-core-1.cisco.com (144.254.224.150) by ams-iport-1.cisco.com with ESMTP; 28 Jul 2005 17:22:44 +0200 Received: from amsterdam.cisco.com (amsterdam.cisco.com [144.254.224.160]) by ams-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id j6SFMaDg010671; Thu, 28 Jul 2005 17:22:36 +0200 (MEST) Received: from dlafauciw2k04 ([10.58.48.13]) by amsterdam.cisco.com (8.12.10/8.12.6) with SMTP id j6SFMYMX023009; Thu, 28 Jul 2005 17:22:34 +0200 (MEST) Message-ID: <001d01c59388$2d8a7090$2101a8c0@emea.cisco.com> From: "Domenico La Fauci" To: "Paul D. DeRocco" , "eCos Discuss" References: Date: Thu, 28 Jul 2005 15:22:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] "Fis init" failed on EB40A X-SW-Source: 2005-07/txt/msg00312.txt.bz2 Hi Paul, sorry but I don't understand what you said. Could you please explain me? Now I have a new version of Redboot for EB40A that works with all of fis commands. The problem that I have now is that the RAM version of redboot works properly but the ROM or ROMRAM version doesn't start. when the board is powered up led D1-D5 are on but no communication the serial line. When I tried to load the ROM version in RAM and launch it, this is the result: RedBoot> fis lis Name FLASH addr Mem addr Length Entry point RedBoot 0x01000000 0x01000000 0x00020000 0x00000000 RedBoot[ROM] 0x01100000 0x01100000 0x00010000 0x02024C00 FIS directory 0x011F0000 0x011F0000 0x0000F000 0x00000000 RedBoot config 0x011FF000 0x011FF000 0x00001000 0x00000000 RedBoot> RedBoot> fis load RedBoot[ROM] -b %{FREEMEMLO} RedBoot> go $T0a0f:a04c0202;0d:eccf0e02;#6d connecting the gdb this is the function where the program is blocked: $ arm-elf-gdb redboot.elf GNU gdb 5.3 (eCosCentric) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"... (gdb) tar rem /dev/ttyS3 Remote debugging using /dev/ttyS3 0x02024ca0 in __remcomOutBuffer () (gdb) l Any idea?? Thanks in advance Jaws ----- Original Message ----- From: "Paul D. DeRocco" To: "eCos Discuss" Sent: Wednesday, July 27, 2005 7:06 PM Subject: RE: [ECOS] "Fis init" failed on EB40A > > From: Jaws > > > > I have some problem with flash and fis commands. > > I' using the EB40A with the redboot versio > > > > RedBoot> version > > > > RedBoot(tm) bootstrap and debug environment [ROM] > > SRI release, ATMEL bootstrap v2.20 - built 11:05:22, Mar 6 2002 > > > > Platform: Atmel AT91/EB40 (AT91R40807 ARM7TDMI) > > Copyright (C) 2000, 2001, Red Hat, Inc. > > > > RAM: 0x00000000-0x00040000, 0x00009b98-0x0002f000 available > > FLASH: 0x01000000 - 0x01200000, 32 blocks of 0x00010000 bytes each. > > RedBoot> > > > > when I tried to make the command "fis init' this is the result: > > > > RedBoot> > > RedBoot> fis init > > About to initialize [format] FLASH image system - are you sure (y/n)? y > > *** Initialize FLASH Image System > > Warning: device contents not erased, some blocks may not be usable > > ... Erase from 0x011f0000-0x01200000: $T0a0f:80018001;0d:e43d0000;#7b > > > > and I have to reset the board. > > Any suggestions? > > Are you running with the two halves of the flash swapped? I'm not sure the > driver is smart enough to deduce that. > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco@ix.netcom.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