This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Running application from flash + flash filing system?
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Lee Davies <leedavies at comtech dot uk dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 04 Mar 2004 03:12:40 +0000
- Subject: Re: [ECOS] Running application from flash + flash filing system?
- References: <002f01c4014a$d2396140$4500a8c0@comtech.uk.com>
Lee Davies wrote:
I want to use an Atmel AT91FR40162 (2048K internal Flash, 256K internal
RAM) with ECOS.
Due to the slight limitation in RAM I want to run my application from
FLASH, can ECOS do this?
Sure.
If it can, will ECOS still support the file filing system if the
application is flash based?
Hah, see the other thread about this that I replied to earlier talking
about JFFS2 ("Re: JFFS2 success"). But your situation is worse than just
the interrupt vector table. If you're running your whole application out of
flash, then you'll have to make sure your flash functions are in RAM (most
drivers should do this automatically) and be prepared to disable interrupts
the whole time the flash operation is going on.
This will kill your real-time determinism but there's no alternative if
your whole application is in flash.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
>>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss