Online debug Fails in XpressoMCU IDE for NXP FRDM KW36

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

Online debug Fails in XpressoMCU IDE for NXP FRDM KW36

1,168 次查看
nasrulla_sharif
Contributor I

Hi All,

whenever i try to debug my code I always get Error, and the debugger terminates. But my program loads and works.

What could be the reason.  Please find the below screen shot of the error.

pastedImage_1.png

0 项奖励
9 回复数

976 次查看
nasrulla_sharif
Contributor I

Hi Sebastian,

Thanks for your reply. I'm still facing the same issue, unable to debug even after reinstalling the Xpresso IDE.  Let me know any steps to that would have went wrong or we shall have a screen share meeting to debug the issue.

Thanks in advance.

Nasrulla Shariff

0 项奖励

976 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

In addition to Sebastian's suggestions/questions, would you please attach the logs from "debug messages" console plus the ones from the "gdb traces" console? These would be really helpful.

Greetings,
MCUXpresso IDE Support

0 项奖励

976 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Nasrulla,

 

Could you please let me know which example are you trying to debug? Did you debug any other example before this one?

 

Could you please try debugging another example to see if they work?

Also, could you please try deleting the .launch file and debugging again?

 

Please let me know of your findings.

 

Best regards,

Sebastian

0 项奖励

976 次查看
anupam_kumar
Contributor I

Hi sebastian,

Thanks for quick response. i am trying to debug dspi_polling_transfer_b2b_master example code for kw36 controller.

i am not using not using any external debug probe. But i  am setting breakpoint. 

Note:- i am not able to see semi hosting debug message on console.

Thanks & regards,

Anupam Kumar

 

.

0 项奖励

976 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Anupam,

 

I tried to replicate the issue on my side, but couldn't get it to happen.

 

If you select UART as the Debug Console, can you see the output using a serial terminal like TeraTerm or PuTTY?

 

Also, could you please let me know where are you trying to set the breakpoint so I can test it on my side? 

 

Best regards,

Sebastian

0 项奖励

976 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Nasrulla and Anupam,

 

I'm able to debug correctly using the same SDK and MCUXpresso as you. Could you please let me know which example are you using?

 

Could you also please let me know if you are you using an external debug probe like a j-Link or PE Micro probe? Are you trying to set a breakpoint?

 

Best regards,

Sebastian

0 项奖励

976 次查看
anupam_kumar
Contributor I

Hi,

Even i am also facing same issue.

0 项奖励

976 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Nasrulla, I hope you're doing well!

 

Could you please let me know which example are you trying to debug? What MCUXpresso version are you using?

 

Could you also please tell me which debug interface are you using? Is it an external debugger?

 

Best regards,

Sebastian

0 项奖励

976 次查看
nasrulla_sharif
Contributor I

Hi Sebastian

pastedImage_1.png

I am using the above MCUXpress IDE above version. I am using FRDM-KW36 board. I am using a sample code from installed SDK.

pastedImage_2.png

Thanks in Advance.

0 项奖励