Startup Problem: PIN-Reset vs. PWR-ON-Reset

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

Startup Problem: PIN-Reset vs. PWR-ON-Reset

941 Views
bastih84
Contributor I

Hi everybody,

I'm a little bit confused, I try to use a S32K116 with internal Clock.

After Flash "Release FLASH" with S32Studio everything runs fine (incl. timer interrupt).

After Reset by PIN (connect RESET-PIN to GND) also everything runs fine.

BUT, when I unpower my device no startup is possible after power ON. It's necessary to reflash...

May be somebody know this problem?

In general I use S32Studio V2.2 with SDK's V3.0.0

Labels (1)
0 Kudos
5 Replies

773 Views
bastih84
Contributor I

Hello again Alexis,

I tried following:

I created a very simpliefied Projekt (GPIO-settings and Clock-settings with internal Clock) and tried same Hardware and Code (not automatic generated code) with S32Studio 2.2 and with S32 Studio 2018R1.

With S32Studio 2018R1 it works well.

With S32Studio ARM 2.2 it doesn't work after PWR-ON-RESET

Maybe it's helpful...

In general, can you explain the differents between S32Studio versions?

Thanks for your support,

Bastian

0 Kudos

773 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Bastian,

In the debug configurations there are the Advanced Options and in the programming flash data algorithm be sure that the file that it mentions is the same that you modify:

pastedImage_1.png

Also, if this doesn't work you could try attaching to the target and see where the code is stuck.

pastedImage_2.png

Let me know your findings.

Best Regards,

Alexis Andalon

0 Kudos

773 Views
bastih84
Contributor I

Hi Alexis,

I've tried it and it looks like, that there is a problem with WDOG:

pastedImage_1.png

Is there anything new / other between S32Studio 2018 and 2.2?

Is it necessary to "deactivate" WDOG function in version 2.2?

I'll try to implement a WDOG and try it again.

Regards,

Bastian

0 Kudos

773 Views
bastih84
Contributor I

Hello Alexis,

thanks for your answer.

I try to move the marked lines, but it still doesn't run...

I use an other Version of pemicro plugin (com.pemicro.debug.gdbjtag.pne_4.6.5.202005121722), may be it's helpful for you.

pastedImage_1.jpg

Best regards,

Bastian

0 Kudos

773 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Bastian,

This could be due to a problem with the programming algorithm, I present the same behavior as you and check the file in the next route:

S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_4.4.6.201912192052\win32\gdi\P&E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k116f128m4_pflash_dflash_eeprom.arp

It presents some differences between the others, so try moving the following lines:

pastedImage_3.png

Let me know if this helps you.

Best Regards,

Alexis Andalon

0 Kudos