We have been developing their product with iMX6DualLite.
We make the device driver for PCIexpress.
In i.MX6 Reference Manual ( MX6SDLRM ) 4443 page,
it says that " Since AXI core is async to the core_clk, the iATU registers
may not be updated while operations are in progress on the AXI
Bridge Slave interface. "
In the case of writing to the PCIE_PL_iATURLBA register,
Is it the correct method as follows ?
1. write to the Viewport Register (PCIE_PL_iATUVR).
2. read the Viewport Register (PCIE_PL_iATUVR).
3. if the correct value is read, write to the PCIE_PL_iATURLBA register.
4. if the correct value is NOT read, wait until the correct value is read.
And write to the PCIE_PL_iATURLBA register.