This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Fis init" failed on EB40A


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" <pderocco@ix.netcom.com>
To: "eCos Discuss" <ecos-discuss@ecos.sourceware.org>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]