J-Link Interface and IMX8QM

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

J-Link Interface and IMX8QM

Jump to solution
1,093 Views
olivergraute
Contributor III

Hello,

I got an J-Link Base Adapter from Segger and I would like to check if the JTAG Interface on the IMX8QM is working. Is there some Documentation how to use a J-LINK Adapter on IMX8QM with such an Adapter?

Further I want to disable JTAG by fusing the fuses and verify if that operation truely disabled the JTAG Interface. 

https://community.nxp.com/t5/i-MX-Processors/How-to-disable-USB-and-JTAG-by-fuses-on-IMX8QM/td-p/118...

 

Best Regards,

Oliver

0 Kudos
1 Solution
1,041 Views
olivergraute
Contributor III

I found that there is already a pending Patch for imx8qm config. Which is until now not on the mainline openocd.

http://openocd.zylin.com/#/c/5042/1/tcl/target/imx8qm.cfg

Using that patch and with a few modifications in nxp_mcimx8m-evk.cfg it is working for me.

Best regards,

Oliver

View solution in original post

0 Kudos
3 Replies
1,069 Views
olivergraute
Contributor III

Unfortunately I don't have access to the Lauterbach software.

I would like to the use the free and open source software "openocd" instead.

But until now there is no support for imx8qm. As far as I oversee this there is missing some board/target configuration files for imx8qm.

Is it possible that NXP can provide the necessary informations that we can try to  implement this in openocd?

0 Kudos
1,042 Views
olivergraute
Contributor III

I found that there is already a pending Patch for imx8qm config. Which is until now not on the mainline openocd.

http://openocd.zylin.com/#/c/5042/1/tcl/target/imx8qm.cfg

Using that patch and with a few modifications in nxp_mcimx8m-evk.cfg it is working for me.

Best regards,

Oliver

0 Kudos
1,075 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

For the i.MX8QM the JTAG debugger tested are:
Cortex-M -> Lauterbatch/J-LINK plus
Cortex-A -> Lauterbatch/DSStream

You may also refer to the following guide:
Normal and Secure Debug for i.MX8/8X Family of Applications Processors 

Best regards,
Aldo.

0 Kudos