Debugging an i.MX8MPlus Cortex-M7 core on the EVK.

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

Debugging an i.MX8MPlus Cortex-M7 core on the EVK.

Jump to solution
942 Views
aheck
Contributor II

Hello all,

I am working on setting up my development and debugging environment for the Cortex-M7 core of the i.MX 8M Plus.  I have successfully generated an SDK using the online NXP SDK builder tool, and I am able to open and build the FreeRTOS hello world example using the NXP MCUXpresso VSCode plugin.  However, I have not been able to flash or debug the i.MX 8M Plus on my EVK.

I was able to use J-Link Commander with a rev 1.2 J-Link Ultra to confirm SWD communication was working, but I was unable to flash or debug, as Segger does not support debugging Cortex-M7 cores with this hardware revision.  I have since ordered an NXP MCU-Link Pro debugger, but I am having issues getting debugging going with that as well.

Should the NXP MCU-Link Pro be able to debug the Cortex-M7 core of an i.MX 8M Plus?

If not, what debugging probes are known to support JTAG or SWD debugging the Cortex-m7 core of an i.MX 8M Plus?

Tags (2)
0 Kudos
Reply
1 Solution
892 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

I have a reference of a j-link plus working, do you have one handy to test it?

Could you please follow the guide attached and pass the record with pro and possibly with plus?

Notice that also in this post is stated that it's worked with plus.

Regards

View solution in original post

2 Replies
893 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

I have a reference of a j-link plus working, do you have one handy to test it?

Could you please follow the guide attached and pass the record with pro and possibly with plus?

Notice that also in this post is stated that it's worked with plus.

Regards

809 Views
aheck
Contributor II
I ordered a J-Trace Cortex and was able to debug successfully. I also had to follow section 4 of the AN14120 .pdf you linked above to debug without reset.
0 Kudos
Reply