We exported our code from s32ds_v2018 to IAR v8.40 according to the link " http://eclipse-update.iar.com/plugin-manager-install.html". The controller that we are using is NXP s32k116.
We are facing issues that when we are debugging through IAR, the program runs till the j link programmer is connected and stops working on power on reset.
What can be the possible solution?
Hello Swati Jha ,
Do you get a solution for it? I have a similar case:
I use also a NXP S32K116, with S32DS, SDK 3.0.3 and PEmicro Multilink to programm it.
My Problem is with different S32DS versions:
- S32DS v2018 (old version): Flashing + Debugging is running, µC is working after power on reset.
- S32DS v2.2 (actial version): Flashing + Debugging is running, µC is not running after power on reset.
I'm comparing bith S32DS version, but I can't find anything different. I create new project, configure just one GPIO, ise the internal clock, flash+debug, I see the GPIO become on. But when I do a power reset, the microcontroller is only running with the old S32DS version.
So it would be nice if you can share, if you got have a solution for your issuce from last year.
Thanks in advance
Okay, I have found a solution which works for me. The solution is in the S32DSv2.2 Project settings >> C/C++ Build >> Settings, then left to the "Standard S32DS Assembler" >> Symbols
I added there a "START_FROM_FLASH" and placed it on the bottom.
Now I can flash my microcontroller, can perform a power reset (disconnection + connection fro power) and it runs.
I think this is missing by default, when you create a new project with S32K116, without changing anything else.
It would be nice if somebody could check this.
This community space do not cover the topic you need assistance on.
Hope this helps,