This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
MPC8275 & Data cache invalidation == strange behaviour.
- From: "Vincent Catros" <Vincent dot Catros at elios-informatique dot fr>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 8 Mar 2004 11:53:14 +0100
- Subject: [ECOS] MPC8275 & Data cache invalidation == strange behaviour.
Hello,
Using JFFS2 (and so, FLASH driver) on a MPC8275 board (Motorola PQ2FADS)
we have a strange behaviour.
When the FLASH driver wants to write to the FLASH the
HAL_FLASH_CACHES_OFF macro is called which calls, in turn,
HAL_DCACHE_INVALIDATE_ALL macro.
It seems that calling HAL_DCACHE_INVALIDATE_ALL corrupt the stack
causing some values on this stack to switch to 0x00000000.
Is it a known behaviour?
Do you have any idea to solve that isssue?
Regards.
Vincent CATROS
ELIOS Informatique
http://www.elios-informatique.fr
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss