This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
PXA and DMA: Cache control
- From: "Andrea Pellegrini" <andreapellegrini at tele2 dot it>
- To: <ecos-devel at sources dot redhat dot com>
- Date: Tue, 8 Feb 2005 18:32:42 +0100
- Subject: PXA and DMA: Cache control
Hi guys!
I'm working for a driver for my AC97 peripheral in a board provided with a
Xscale PXA255.
I use DMA in descriptor mode and all works well when I debug but it doesn't
work in when it runs. Of course there's a problem about cache.
I tryed to disable it with the commands:
HAL_DCACHE_SYNC();
hal_delay_us(100000);
HAL_DCACHE_DISABLE();
but nothing seems working.
Nobody knows how to resolv my problem.
Thank's
Andrea