GDB abruptly stops working and freezes at "configuring GDB"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GDB abruptly stops working and freezes at "configuring GDB"

1,541件の閲覧回数
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 返答(返信)

1,407件の閲覧回数
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 件の賞賛

1,387件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

instead flashing you need to attach to running target: 

jiri_kral_0-1677504463031.png

 

 

0 件の賞賛

1,468件の閲覧回数
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 件の賞賛

1,470件の閲覧回数
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 件の賞賛

1,471件の閲覧回数
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 件の賞賛

1,492件の閲覧回数
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...

1,419件の閲覧回数
jlu
Contributor II

yes i did all these. nothing helps. 

0 件の賞賛

1,448件の閲覧回数
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 件の賞賛