GDB abruptly stops working and freezes at "configuring GDB"

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

GDB abruptly stops working and freezes at "configuring GDB"

2,971 次查看
jlu
Contributor II

I'm using S32DS for ARM to develop firmware for S32K1xx on Windows 7. The S32DS environment has been working for quite long. During a debug session the launch did not started as expected but stuck at 98% of loading. It was left to run overnight and the behavior persists ever since.

jlu_0-1676506771566.png

This behavior appears have nothing to do with the debug tool (I'm using PE Multilink but I have also tried other interfaces). The same interface can continue to work in IAR EW.

I've also tried a blank new workspace but the behavior is the same except the freeze occurs at 99%. 

Any suggestion to what can be done?

Jill

标签 (1)
8 回复数

2,837 次查看
jlu
Contributor II

I want to follow up on this topic that I've found the reason of my problem. I've changed a board and the problem has gone. I think the flexmem configuration on the old board is messed up but I don't know where and what. The debug information is miss leading, but this link is a good hint https://community.nxp.com/t5/S32K-Knowledge-Base/Solution-for-S32K14x-which-could-be-attached-while-... except it does not explain how to check out registers and memories when one can't download to the flash. 

0 项奖励
回复

2,817 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

instead flashing you need to attach to running target: 

jiri_kral_0-1677504463031.png

 

 

0 项奖励
回复

2,898 次查看
jlu
Contributor II

In desperate, I uninstalled S23DS for Arm and reinstalled it. I also upgraded PEMICRO device driver. I was able to register PEMICRO during debug configuration (which I did not do a couple of years ago when I initially installed S32DS). I can hear PEMICRO excersices the debuger during lauching. However, the GDB still cannot start - it continues to stuck at Configuring GDB. The launching cannot even been cancelled - the only way to end it is to close S32DS. 

0 项奖励
回复

2,900 次查看
jlu
Contributor II

I don't think it is from third part software. The debugger used to work under S32Ds, and it still works under IAR. It is the GDB that cannot start. How can I reinstall GDB?

0 项奖励
回复

2,901 次查看
jlu
Contributor II

I did. I generated a new workspace from fresh, and a new project from the example, but the behavior is the same

0 项奖励
回复

2,922 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

did you tried debug other project - like some example? It get stuck as well? You can try update PE Micro plugin - https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Install-update-from-3rd-party-ve...

2,849 次查看
jlu
Contributor II

yes i did all these. nothing helps. 

0 项奖励
回复

2,878 次查看
jlu
Contributor II

Hello @jiri_kral ,

I've found this link that has the exactly same problem as mine https://community.nxp.com/t5/S32-Design-Studio/Unable-to-start-debug-session-on-S32K144-EVB-download...

except mine is on S32K118. 

The solution of above problem points to this thread: https://community.nxp.com/t5/S32K-Knowledge-Base/Solution-for-S32K14x-which-could-be-attached-while-.... Would you please tell me where in IDE to check the SIM_CHIPCTL value? 

I have already updated the 3rd party software, and re-installed the S32DS without luck.

Thank you,

Jill

0 项奖励
回复