This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RFC - fix to at49xxxx crash during erase/program when interrupthappens
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <jani at iv dot ro>, "'eCos patches'" <ecos-patches at sources dot redhat dot com>
- Date: Thu, 14 Aug 2003 20:55:40 +0200
- Subject: Re: RFC - fix to at49xxxx crash during erase/program when interrupthappens
>Another solution depending on your app size and
>particular at49 flash is to have the app in one
>erase region and the data to be modified in the other.
>I've done this with an at49 which had 128K (app) +
>up to 1M (data) as the two separately runnable/programmable
>regions.
The problem with using the two flash planes is that it
is not a very orthogonal solution.
I've got my flash split into three: bootloader, application
and JFFS2. The JFFS2 area is large enough that it derails this
scheme.
It would be nice if a scheme to deal with this issue was a bit more
broadly applicable than just the at49xxxx.
Øyvind