Accessing PCIe through CM7 in IMX8MP #76181
Unanswered
mbahmani90
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Hope you are all well.
I want to access PCIe in CM7 by memory mapping. I am testing with imx8mp_evk in which a WiFi module has been connected to the PCIe.
I can initialize the PCIe in Linux environment an the PCIe status details are:
As you see the memory addresses are
18100000
and18200000
and I can read and write these memory addresses by memory mapping of/dev/mem
in Linux.Then, when I write these addresses in CM7 and read from Linux, the memory values are different from each other!
CM7 Code:
Do you have any idea why it is happening?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions