阅读:1285回复:4
如何使用windriver实现Brust Write to PCI9054
我用了p9054_writeblock()函数,可是发现这好象并不是一次Brust传输,因为会产生很多的ADS#信号,而不是只在传输开始产生一次。
我一次Brust Write的数据是128K,不知是否可以? 恳请不吝赐教! |
|
沙发#
发布于:2004-05-13 17:31
用户被禁言,该主题自动屏蔽! |
|
板凳#
发布于:2004-05-13 20:21
可是我给jungo发信问过,他们说可以啊
我问的: May I use P9054_WriteBlock() to perform one Brust Write of 128K Lwords to local? 他回答: Yes, you can. In addition , if you work on a platform that supports 64bit commands (for instance x86 with MMX support),then you can modify the code of P9054_WriteBlock to use WM_SQWORD (64bit write) instead of WM_SDWORD (32bit write). The 9054_WriteBlock() relies on the ability of PCI bus controller to combine writes to successive addresses into a single PCI transaction. If you want to set any relevant bits on your device, you should implement this by yourself. |
|
地板#
发布于:2004-05-19 14:53
用户被禁言,该主题自动屏蔽! |
|
地下室#
发布于:2004-05-24 10:32
理论应该是可以的。 多谢指教! 那么用WinDriver里面给的P9054_DMAReadWriteBlock()这个函数可以产生burst么?我测了一下,好象它默认的是Scatter/Gather方式,而且还是单周期啊? |
|