imx6sx-sdb pcie error

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6sx-sdb pcie error

302 Views
lsg5131420
Contributor III

i have a problem  using the imx6sx-sdb board to interfacing with Xiinx Spartan-6 FPGA. I can recognize the FPGA use lspci command .

root@imx6sx_all:~# lspci

00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01)

01:00.0 Memory controller: Xilinx Corporation Default PCIe endpoint ID (rev 26)

root@imx6sx_all:~# lspci -vvv -s 01:0.0

01:00.0 Memory controller: Xilinx Corporation Default PCIe endpoint ID (rev 26)

        Subsystem: Xilinx Corporation Default PCIe endpoint ID

        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-

        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

        Interrupt: pin A routed to IRQ 155

        Region 0: Memory at 08100000 (32-bit, non-prefetchable) [disabled] [size=1K]

i think the 0x0810000 is the FPGA mem space ,so i use memtool to write data to 0x08100000 and failed.

root@imx6sx_all:/unit_tests# ./memtool 08100000=12345678

Writing 32-bit value 0x12345678 to address 0x08100000

root@imx6sx_all:/unit_tests#

root@imx6sx_all:/unit_tests# ./memtool 08100000 1      

E

Reading 0x1 count starting at address 0x08100000

0x08100000:  FFFFFFFF

what's wrong with my operation?

0 Kudos
2 Replies

143 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi shiguang

please look at example showing memtool usage:

i.MX6Q PCIe EP/RC Validation System

Best regards

igor

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

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

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

0 Kudos

143 Views
lsg5131420
Contributor III

Hi igor

thanks for you reply. i read that page before and i think i follow the example operation.

i am newer for imx6sx and pcie.

would you tell me the detailed operation that how to write the ep mem space.

Best regards

shiguang

0 Kudos