This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: The basics
Andrew Lunn wrote:
>
> You can do field updates so long as you use redboot to do it. The
> application cannot update its self if you have redboot in ROM. With
> that situation there is a danger the application will jump into ROM
> because of an incoming ethernet packet etc. This causes a read from
> FLASH while its in write mode and a crash....
>
> If you want the application to be able to update itself, you cannot
> have Redboot running in ROM. RAM is OK.
Or you can disable all interrupts, and make sure you don't call any
functions that would call into RedBoot (you have the source!).
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine