Is there a demo/example PCIe setup in CodeWarrior for the T1040RDB processor?  I am trying to perform a PCIe transfer from T1040 to a microsemi/actel FPGA and I could use some help setting up CodeWarrior to accomplish this task.  If a design already exist

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is there a demo/example PCIe setup in CodeWarrior for the T1040RDB processor?  I am trying to perform a PCIe transfer from T1040 to a microsemi/actel FPGA and I could use some help setting up CodeWarrior to accomplish this task.  If a design already exist

1,133件の閲覧回数
kirkpatrickburk
Contributor I

I am looking for an example PCIe design in CodeWarrior that I can use to interface with an FPGA.  I am trying to perform writes and reads to FPGA registers as well as be able to DMA from FPGA into T1040RDB.

ラベル(1)
0 件の賞賛
返信
1 返信

1,016件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kirkpatrick Burke,

As we discussed in the service requests, I suggest you refer to u-boot source code to configure your target.

For LAW and outbound windows configuration, please refer to the file drivers/pci/fsl_pci_init.c, please refer to int fsl_pci_init_port and fsl_configure_pcie. For the values assignment, please refer to SET_STD_PCIE_INFO section in arch/powerpc/include/asm/fsl_pci.h. So u-boot has completed all required configurations, CodeWarrior could be used to read these registers values.

In addition, NetComm software(Non OS) based on CodeWarrior including PCIe examples, which could be downloaded from NetComm Software Resources|NXP .


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信