Hi
We are using the same scheme in a driver (VPFE) to issue read/writes to and FPGA. Just make sure you lock the kernel, set PINMUX0, do your read/write, then return PINMUX0 and unlock the kernel DMA mode appears to work fine as well Steve Spano FLE -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chendh Sent: Wednesday, November 15, 2006 3:32 AM To: [email protected] Subject: Using both ATA and EMIF hi,everyone I have tried to use both ata and emif, they can be used at the same time.I try to send some control commands via EMIF, while copy some data to ATA hard disk. you can just to use they as follows: 1)change PINMUX0 to enable ATA after kernel boot time 2)when you want to use emif bus to control some device, you can change PINMUX0 to disable ATA and enable EMIF,then do something. 3)after finishing to use emif, change PINMUX0 to enable ATA, now ata is accessible notice: 1)the occasion to change PINMUX0 to enable EMIF is very important, you must ensure ATA has finished one operation, otherwise, may cause errors. I know how to ensure it when access ATA hard disk via PIO mode, but don't known how to do it when access ATA hard disk via DMA or UDMA mode, Can anybody help me? ------------------------------------------ jit chen ANHUI USTC iFLYTEK CO.,LTD Tel: 021-52955071 web: www.iflytek.com
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
