Hi @mattmart !
Sorry for the late response!
You can use the memtool but for iMX8M is not defined the macros.
To use the memtool you have to put the direction that you can read/ write instead of the name of the register.
for the register "IOMUXC_SW_MUX_CTL_PAD_GPIO1_IO03" you can do the next:
Best Regards!
Chavira
It looks like it is not supported on i.MX8MM (Mini):
root@imx8mm-icore:/unit_tests# ./memtool IOMUXC.SW_MUX_CTL_PAD_GPIO1_IO03.MUX_MODE
SOC: i.MX8MM
Unknown SOC
Running on BSP built on imx-5.15.71-2.2.0.xml manifest, kirkstone yocto version.
Also, from the memtool source code it looks that only the i.MX8MQ (Quad) is supported.
Thanks,
Matteo
Hi @mattmart !
Sorry for the late response!
You can use the memtool but for iMX8M is not defined the macros.
To use the memtool you have to put the direction that you can read/ write instead of the name of the register.
for the register "IOMUXC_SW_MUX_CTL_PAD_GPIO1_IO03" you can do the next:
Best Regards!
Chavira
Hi @Chavira,
thanks for your response, it is very useful.
However, I am still wondering if the "macros" (register info mappings) will be implemented any time in the future for the other i.MX8M families in addition to the "Quad". I understand it is not an essential feature but still extremely useful during prototyping and debugging.
Thanks,
Matteo
HI @mattmart!
Thank you for contacting NXP Support!
The memtool is supported for iMX8M.
The tools are integrated directly into our bsp.
You can check in the folder /unit_test of our bsp.