Breakpoint hits late on mcuxpresso 11.5

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

Breakpoint hits late on mcuxpresso 11.5

468 Views
amarsanas
Contributor II

Hi
I am using imxrt1064 board and previously was using muxpresso ide 11.2 with 2.7 SDK.
Now as a project need I have migrated to IDE 11.5 with 2.11 SDK.
But the problem I am facing when I use it in a debug mode. The first breakpoint hits late, approx 7 to 10 seconds delay is observed while hitting the breakpoint for the first time. Also, step-over takes similar delay for first time. Later it works fine. Are there any specific things to check to resolve this issue?

Thanks!

0 Kudos
3 Replies

443 Views
amarsanas
Contributor II

Hi @diego_charles 

Thanks for the reply.
I am using external debugger.
I have tried migrating to SDK version 2.12 and MCUXpresso 11.6.
But issue persists.
Actually, I am facing this delay/slow performance only for first debug operations and not thereafter.
Is there anything else I should try?
Thanks.

0 Kudos

439 Views
diego_charles
NXP TechSupport
NXP TechSupport

Thank you for your update @amarsanas 

What is the model of your external debugger? 

Are you using a custom application? If you do, can you  share it with me, along with your automatically generated .launch file? 

I want to double check on my side (I got Windows 10 OS for testing), btw , which OS are  you using?

Best regards, 

Diego

 

0 Kudos

456 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @amarsanas 

If you are using the on-board debugger of our RT1064 EVK, with its default CMSIS DAP FW :

You may see an "slow" performance ( I have seen this on my side). My first recommendation is to try to update the FW to  LPC-Link2 J-Link. In this post my colleague Kerry shows how to do update: https://community.nxp.com/t5/i-MX-Processors/Updating-OpenSDA-firmware-times-out-on-imxrt1020-evk/m-...

Also you can check this post https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-J-Link-with-MIMXRT1060-EVK-or-MIMXRT1064-E...

The only inconvenience, as my colleague mentions, is that you will need an additional USB cable.

Otherwise, if you have an external debugger, please try to test with it. Just remove on-board debugger SWD related jumpers (check the schematic)

Also, if you are still migrating your SW to a new SDK version, please try version 2.12 and MCUXpresso 11.6.

All the best,

Diego

 

 

 

0 Kudos