This is the mail archive of the ecos-discuss@sourceware.org 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: RedBoot image for Olimex LPC-E2294


On Mon, Oct 19, 2009 at 02:32:36AM -0700, peter_lanius@yahoo.com.au wrote:
> Hi,
> 
> I would like to use RedBoot / eCOS for my new project which is going
> to run on an Olimex LPC-E2294 board. I have built RedBoot as per the
> instructions in Anthony Massa's book (using the 'redboot' template
> for the Olimex board). The whole build went without a hitch, I used
> the Redboot_ROM.ecm configuration options file provided in the eCOS
> 3.0 distribution for the Olimex board.
> 
> I then used CrossWorks to burn the Flash image ('redboot.bin') using
> 0x00000000 as the load address. This seemed to work ok as well and
> when I restarted the board I could connect to RedBoot via
> Hyperterminal. But I do get a warning message:
>  
> FLASH: driver init failed: Invalid FLASH address
> **Warning** FLASH configuration checksum error or invalid key
> Use 'fconfig -i' to [re]initialize database
> No network interfaces found
> 
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version v3_0 - built 19:33:12, Oct 19 2009
> ...
> Platform: Olimex LPC-E2294 development board (ARM7TDMI-S)
> RAM: 0x81000000-0x81100000 [0x8100b560-0x810f1000 available]
> RedBoot>

Hello Peter,

What's board revision do you have?
http://olimex.com/dev/lpc-e2294.html
http://olimex.com/dev/lpc-e2294rb.html

These boards have the different flash parts. eCos v3_0 has HAL for old
(Olimex now says 'obsolete board') Olimex LPC-E2294 board. If you have
the new one, i.e. Olimex LPC-E2294 REV.B board, try this HAL from here
http://bitbucket.org/tickling/olpcx22xx/

> What does the 'Invalid Flash address' message mean? Did I burn
> RedBoot into the wrong location? Should I have used the
> 'redboot.elf' file instead? Should I have modified the
> 'mlt_arm_lpc2xxx_olpce2294_rom.ldi' file (what is in there seems to
> me to also suggest the 0x00000000 start address)?

Old Olimex LPC-E2294 had 28F320C3 Intel flash parts, new boards have
28F160C3. These flash parts have the different device codes, perhaps,
eCos v3_0 flash driver for olpce2294 target cannot identify your chip.


Sergei

> Thanks
> Peter
> 
> 
> 
>       __________________________________________________________________________________
> Get more done like never before with Yahoo!7 Mail.
> Learn more: http://au.overview.mail.yahoo.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]