lala
驱动中牛
驱动中牛
  • 注册日期2001-04-26
  • 最后登录2006-10-18
  • 粉丝0
  • 关注0
  • 积分40分
  • 威望5点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2158回复:2

PCI9054与DSP C6202的问题

楼主#
更多 发布于:2003-10-28 16:27
9054与DSP的XBUS相连,

1。地址映射问题

问要访问DSP的EMIF口连接的SDRAM,
地址是怎么映射的?

根据9054说明书的例子
A 1 MB Local Address Space, 12300000h through
123FFFFFh, is accessible from the PCI Bus at PCI
addresses 78900000h through 789FFFFFh.
a. Local initialization software sets the Range and
Local Base Address registers as follows:
• Range―FFF00000h (1 MB, decode the upper
12 PCI Address bits)
• Local Base Address (Remap)―123XXXXXh
(Local Base Address for PCI-to-Local
accesses) [Space Enable bit(s) must be set to
be recognized by the PCI Host (LAS0BA[0]=1,
LAS1BA[0]=1)]
b. PCI Initialization software writes all ones to the
PCI Base Address, then reads it back again.
• The PCI 9054 returns a value of FFF00000h.
The PCI software then writes to the PCI Base
Address register(s).
• PCI Base Address―789XXXXXh (PCI Base
Address for Access to the Local Address
Space registers, PCIBAR2 and PCIBAR3).


9054的BAR2是Local端的基地址(78900000),
是不是就是说PC机的驱动通过访问这个地址78900000就可以访问存储空间?只要计算好在存储空间上的偏移地址就好了


2。完成DSP和PC机的传输,
我的DSP上的程序需要做什么?
上面初始化中的 Local initialization software sets the Range and Local Base Address registers 是需要在DSP上编程完成的吗?
还有别的什么吗?
有什么例子可以给俺看看吗?那就更谢谢咯 :D
:D拉拉拉,拉拉拉,偶素待业的小青年...
zytzjx
驱动牛犊
驱动牛犊
  • 注册日期2001-12-24
  • 最后登录2018-05-29
  • 粉丝0
  • 关注0
  • 积分13分
  • 威望41点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
  • 社区居民
沙发#
发布于:2003-11-24 14:05
我真是搞不明白,为什么不用DSP6205呢,人家搞好的,我们为什么不用,这样肯定比你种方案要稳定。我就是这样用的。
Wecan
北方有鹿
驱动牛犊
驱动牛犊
  • 注册日期2005-11-15
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分22分
  • 威望155点
  • 贡献值0点
  • 好评度10点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2010-01-31 14:06
en  ,同意上家意见。
用6205好了。
游客

返回顶部