Problem accessing the Port Logic Registers of PCIe Core when configured as RC.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem accessing the Port Logic Registers of PCIe Core when configured as RC.

跳至解决方案
1,753 次查看
andresgonzalez
Contributor II

Hi iMX communitiy.

We are creating a PCIe driver from scratch for the i.MX 6Solo (this because we need to give PCIe support to a proprietary RTOS). So we are just starting to experiment with the PCIe Core. We were trying to initialize the PCIe core (setting the clocks and setting the core as RC Mode, however we don't have any PCIe endpoint connected yet, we are just trying to setup the core).

The problem is that we are not able to access the Port Logic Registers. When trying to access them the system crashed.

What needs to be done in order to access the Port Logic Registers?. Are these registers accesible as normal memory registers?.

Thanks for your support.

标签 (1)
标记 (1)
1 解答
1,615 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andres

please look at bare-metal SDK, it has PCIe example

(one needs to have external PCIe device connected to Sabre board)

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,616 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andres

please look at bare-metal SDK, it has PCIe example

(one needs to have external PCIe device connected to Sabre board)

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

1,615 次查看
andresgonzalez
Contributor II

Thanks now we are able to access the Port Logic registers. We are using the Nitrogen6 Lite board. I am going to check that example. Thanks.

0 项奖励
回复