Breakpoint hits late on mcuxpresso 11.5

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Breakpoint hits late on mcuxpresso 11.5

517 次查看
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 项奖励
回复
3 回复数

492 次查看
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 项奖励
回复

488 次查看
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 项奖励
回复

505 次查看
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 项奖励
回复