This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]