Hi,
I used a imx6sx-sdb custom board,want to use M4 to access fpga by eim,when I read or wrote(using address range 0x04000000~0x07FFFFF) ,no matter what address I gave, the address collected by FPGA was always 0.but the cs、rw、oe signals were right,and the data on the data bus was also correct.Can anyone knows what is the problem?
Hi jingyang
one can check IOMUXC_GPR_GPR1 register which
configures eim memory between CSn. Test with a9 using
imx6sx-19x19-arm2.dts (it has enabled eim)
linux-imx.git - i.MX Linux Kernel
and if it is working, printf eim registers and reuse them with m4.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,igor
Thanks for your patience! The problem that how CM4 accesses EIM has been solved!