memtool support for i.MX8MM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

memtool support for i.MX8MM

跳至解决方案
1,075 次查看
mattmart
Contributor II

Hi,

It looks like that memtool, among all the i.MX8M family processors, only supports the i.MX8MQ one [ref].

Are there any plans to extend memtool support to the other i.MX8M processors such as i.MX8MM?

Thanks,
Matteo

标记 (4)
0 项奖励
1 解答
992 次查看
Chavira
NXP TechSupport
NXP TechSupport

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:

Chavira_1-1688493725516.png

 

Chavira_0-1688493683827.png

 

Best Regards!

Chavira

 

在原帖中查看解决方案

0 项奖励
4 回复数
1,026 次查看
mattmart
Contributor II

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

 

0 项奖励
993 次查看
Chavira
NXP TechSupport
NXP TechSupport

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:

Chavira_1-1688493725516.png

 

Chavira_0-1688493683827.png

 

Best Regards!

Chavira

 

0 项奖励
978 次查看
mattmart
Contributor II

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

0 项奖励
1,036 次查看
Chavira
NXP TechSupport
NXP TechSupport

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.

Chavira_0-1688043849009.png

 

0 项奖励