Code is not executing after hard reset (S32K118)

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

Code is not executing after hard reset (S32K118)

1,551 Views
ambarishhundeka
Contributor III

Hello NXP Team,

We are using S32K118 controller in our project.

We are working on bootloader implementation.

We are using S32Design studio to build the project and lauterbach debugger is using for the flashing the application and debugging.

bootloader code is working fine in debug mode , but after hard reset code is not executing.

tried with toggling the LED with same configuration , still LED toggling code also not working after hard reset.

find the attached Example of LED blink code and please let us know the solution.

Thank you in Advance.

Regards,

Ambarish

Labels (1)
0 Kudos
2 Replies

1,240 Views
ambarishhundeka
Contributor III

Hello,

Thank you for your reply .

Issue is resolved, problem with linker file.

Regards,

Ambarish

0 Kudos

1,240 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Ambarish,

I tested your code and I find out a HardFault after MCU power off and power on.

On the below link I found information which could be helpful:

Debugging ARM Cortex-M0+ HardFaults | MCU on Eclipse 


However, also the linker file needs to be checked.

Best regards,

Diana

0 Kudos