This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot EB40a problems with flash programming
- From: Laurent GONZALEZ <laurent dot gonzalez at silicomp dot fr>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 22 May 2003 16:31:03 +0200
- Subject: Re: [ECOS] Redboot EB40a problems with flash programming
- Organization: SILICOMP RESEARCH INSTITUTE
- References: <001b01c32066$72118650$73dea8c0@lair>
hello,
just some guesses ...
what about boot sectors in ATMEL's flash (AFAIK, from 0x0 to 0x20000) ? Is the flash driver able to handle them ?
What about the size of redboot ? If it is bigger than 64K it may refuse whatever you want to do at 0x1010000, otherwise it will disappear. (some kind of internal protection)
regards,
On Thu, 22 May 2003 15:31:26 +0200
Øyvind Harboe <oyvind.harboe@zylin.com> wrote:
>
> RedBoot> fis erase -f 0x1010000 -l 0x10000
> ... Erase from 0x01010000-0x01020000: +
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version UNKNOWN - built 12:51:51, May 22 2003
>
> Platform: Atmel AT91/EB40A (ARM7TDMI)
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>
> RAM: 0x00000000-0x00040000, 0x0000a748-0x0003f000 available
> FLASH: 0x01010000 - 0x01200000, 31 blocks of 0x00010000 bytes each.
> RedBoot>
>
> - Just for kicks, I tried to write a bit to flash(there is nothing
> in particular in RAM, just testing), and I got:
>
> RedBoot> fis write -f 0x1010000 -l 0x10000 -b 0x10000
> * CAUTION * about to program FLASH
> at 0x01010000..0x0101ffff from 0x00010000 - continue (y/n)?
> y
> ... Erase from 0x01010000-0x01020000: +
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version UNKNOWN - built 12:51:51, May 22 2003
>
> Platform: Atmel AT91/EB40A (ARM7TDMI)
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>
> RAM: 0x00000000-0x00040000, 0x0000a748-0x0003f000 available
> FLASH: 0x01010000 - 0x01200000, 31 blocks of 0x00010000 bytes each.
> RedBoot>
>
>
> Øyvind
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
--
GONZALEZ Laurent
Silicomp Research Institute
Tel: 04 76 41 66 98
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss