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,789件の閲覧回数
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,651件の閲覧回数
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,652件の閲覧回数
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,651件の閲覧回数
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 件の賞賛
返信