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,498 次查看
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,381 次查看
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 项奖励
回复