[ECOS] programming in FLASH hamper real time operation??

Andrew Lunn andrew@lunn.ch
Fri Nov 28 10:03:00 GMT 2008


On Fri, Nov 28, 2008 at 11:19:15AM +0530, abhishek srivastava wrote:
> sir,
> i got a doubt when i saw larmour's post (Re: Support for LPC2XXX IAP interface) in ecos-patches!
> i am trying to port ecos onto LPC2148 so as to do some realtime application with that.
> as this board doesnot have sufficient RAM, would porting ecos to ROM will hamper the real time property of ecos??

ROM is generally slower than RAM. So running from ROM might slow your
execution speed down a little. However it is deterministic. So the
system will still be as real time, just slower.

The problem comes when you start writing to FLASH while running from
FLASH. Flash controllers don't allow this. You have to stop what you
are doing, and only perform writes to FLASH. You cannot do anything
else. So you loose your real time properties.

So if you can avoid writing to FLASH you should not have to worry.

   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



More information about the Ecos-discuss mailing list