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: Atmel DataFlash Driver and EB55


Am Mittwoch, 6. Oktober 2004 11:50 schrieben Sie:
> > I think there is a general problem, cause this statement
> > #ifdef CYGNUM_REDBOOT_FLASH_BASE
> >     cyg_flash_info_t info;
> > #endif
> > has no else-tree where a variable calls info is declared when
> > REDBOOT_FLASH_BASE isn't set.
> > Or am I wrong !?
>
> You are correct, the code is broken. I just committed the following
> patch. Do a cvs up for the redboot package.
ok .. I delete the lines before you patch it.
But now I can compile it, but there is another nice error.
When I boot my board (an Phytec which is similar to the eb55 but only differs 
in flash-chip (AM29XXXXX)) and load the new redboot (with flash_v2) on it and 
do a "go" then I get following output :

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version UNKNOWN - built 12:40:52, Oct  6 2004

Platform: Atmel AT91/EB55 (ARM7TDMI)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x04000000-0x04200000, [0x0401cd88-0x04200000] available
FLASH: 0x01000000 - 0x003fffff 64 x 0x10000 blocks
RedBoot>

Ok it boots, but I can't write the flash .. I 've tried such things but 
nothing work.
The Flashbase is ok, but the end of the flash is before the begin.
Normally there is :  FLASH: 0x01000000 - 0x01400000 64 x 0x10000 blocks

perhabs you 've got an idea !?

Sebastian


-- 
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]