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.
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?
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.
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.
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...
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.