Jlink fails to debug imx93

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

Jlink fails to debug imx93

356 Views
leoX
Contributor I

When using JLink to debug the M33 core of i.MX93, after setting breakpoints, it seems only the PC pointer is halted, while various internal counters continue counting, preventing normal debugging. What are the solutions for this issue?Thank you for ansering!

0 Kudos
Reply
4 Replies

332 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

Can you share the screenshot of  various internal counters? 

Did you set the m33 download mode?

Best Regards,
Zhiming

0 Kudos
Reply

325 Views
leoX
Contributor I

Thank you for your response! I am reading tstmr in a task to calculate the task's execution cycle, but if I add a breakpoint, the calculated cycle increases, indicating that the system counter continues to count when I add a breakpoint. Also, I am starting the M core through the A core. Does setting the download mode for M33 help?

 

Best Regards

0 Kudos
Reply

316 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @leoX 

My test is based on single M33 and Jlink, did you boot M33 with remoteproc?

Best Regards,
Zhiming

0 Kudos
Reply

304 Views
leoX
Contributor I

Yes, and I tried on single M33 core, the system counter can't be halted as before. I can't find the reason.

 

Best Regards.

0 Kudos
Reply