This is the mail archive of the
mailing list for the eCos project.
RE: RFC - fix to at49xxxx crash during erase/program when interrupt happens
- From: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- To: 'Øyvind Harboe' <oyvind dot harboe at zylin dot com>, "Koeller, T." <Thomas dot Koeller at baslerweb dot com>, 'eCos patches' <ecos-patches at sources dot redhat dot com>
- Date: Thu, 14 Aug 2003 16:00:15 +0200
- Subject: RE: RFC - fix to at49xxxx crash during erase/program when interrupt happens
> >This would allow interrupts
> >to continue while erasing flash blocks, if the
> >entire work is done in those handlers and no
> >threads are involved. This is still a severe limitation.
> I'm a bit confused, are you saying that flash programming
> is incompatible with multithreading?
No, I meant to say that the code executed by your threads
would still reside in flash and hence no threads can run
while the flash is being programmed. It is very common,
and generally desirable, to have the interrupt handlers
do as little work as possible, and to delegate as much as
possible to a thread they notify.
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
Tel +49 (4102) 463-390
Fax +49 (4102) 463-46390