This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: AT91SAM7X256--flash can not Initialise?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: venice <venice dot uurg at gmail dot com>
- Cc: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 12 Mar 2008 12:29:08 +0100
- Subject: Re: [ECOS] AT91SAM7X256--flash can not Initialise?
- References: <28A4FD4E2F85457E9B91E9A99A9D935C@veniceuurg> <20080312102403.GA30106@lunn.ch> <6B6125D574D6450EA59CE4808655B339@veniceuurg>
>> Are you using combined FIS and CFG in one flash block? The flash
>> blocks are too small for this.
>
> yes,the default option is on and if I turn if off the redboot doesn't work!
Define "does not work".
> The block size of the flash is 256 Bytes, and I have assigned 8 blocks to
> hold the information.
How did you define 8 blocks? Redboot only supports one block for FIS
and one for CONFIG.
> ATMEL has provide tools to program the *.bin to the internal flash but
> sometimes I still need debug my drivers alone.
> Can the MDK implement that function ?
> If I remove the redboot how can I build the eCos ROM application which
> directly boots without using a boot loader?
Redboot is an eCos ROM application which does not require a bootloader.
Just keep the CYG_HAL_STARTUP value at its default of ROM and your
application can then be put directly into flash at 0x00100000 and it
will boot.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss