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
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
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:
Also, if this doesn't work you could try attaching to the target and see where the code is stuck.
Let me know your findings.
Best Regards,
Alexis Andalon
Hi Alexis,
I've tried it and it looks like, that there is a problem with WDOG:
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
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.
Best regards,
Bastian
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:
Let me know if this helps you.
Best Regards,
Alexis Andalon