This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于DSP6437的PCI配置空间



我们的产品,在一台X86架构的服务器上,使用了数十个6437DSP,DSP通过PCI接入X86,现在发现由于6437DSP设置的6个PCI内存空间太大(将近40M),档映射到系统地址空间后占用系统大量地址空间,当插入十几个设备后驱动就无法加载驱动。

我想问是否有办法修改PCI配置空间的6个base bar的大小?因为40M的话的确太大了

  • 请问你使用的是PCI启动么?如果是,而且这个大小是ROM code写死的,就没有办法修改了。

  • 请参考DM6437 PCI User guide 3.2节和3.3节,Window size是可以配置的,如果不需要那么大,可以配小.

    A slave window maps a region in the DSP memory space to a region in the PCI address space. This

    allows a PCI host to access the DSP memory through the PCI address space. A slave window is

    configured with the following registers:

    · PCI slave base address translation register: Configures the starting address of the window in the DSP

    address space.

    · PCI base address register: Configures the starting address of the slave window in the PCI address

    space.

    · PCI base address mask register: Configures the size of the window and prefetchability of the DSP

    memory region being mapped.