memtool support for i.MX8MM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

memtool support for i.MX8MM

Jump to solution
1,547 Views
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

0 Kudos
Reply
1 Solution
1,464 Views
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

 

View solution in original post

0 Kudos
Reply
4 Replies
1,498 Views
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 Kudos
Reply
1,465 Views
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 Kudos
Reply
1,450 Views
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 Kudos
Reply
1,508 Views
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 Kudos
Reply