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

Reply via email to