This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with flash driver and cache
- From: Stanislav Meduna <stano at meduna dot org>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 13 Jun 2011 22:35:34 +0200
- Subject: Re: [ECOS] Problem with flash driver and cache
- References: <COL116-W58189BF6264E70D0FE8187DF690@phx.gbl>
On 13.06.2011 22:01, Harley Carmo wrote:
> my application hangs up whenever the macro HAL_FLASH_CACHES_OFF is called
Lucky. A few months ago I spent two days (or nights) hunting
this one...
Do you need the cache at all? If this is a memory mapped flash
you are not executing from and the region is set to uncached
in the MMU, just ifdef them out for your platform. If you do
need it, well, delve into the datasheet and fix the macros...
http://ecos.sourceware.org/ml/ecos-discuss/2011-02/msg00020.html
--
Stano
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss