Program does not runs after power on reset for s32k116 in IAR exported from s32ds_v_2018

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Program does not runs after power on reset for s32k116 in IAR exported from s32ds_v_2018

1,769 Views
swati_jha
Contributor I

Hii,

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?

Tags (2)
0 Kudos
3 Replies

1,610 Views
sebe
Contributor I

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

0 Kudos

1,610 Views
sebe
Contributor I

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.

ProjectSettings.JPG

0 Kudos

1,610 Views
mariuslucianand
NXP Employee
NXP Employee

Hello swati.jha@padminiengg.com‌,

This community space do not cover the topic you need assistance on.

Please create new thread https://community.nxp.com/community/s32/s32ds on the community space OR new NXP support case according to following procedure:https://community.nxp.com/docs/DOC-329745.

Hope this helps,

Marius

0 Kudos