Execute code on startup

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

Execute code on startup

400 Views
B32bX
Contributor I

I programmed a few ports on my microcontroller to output a PWM signal. But when I turn my microcontroller off and on again it isn't executing my PWM code. I need to reprogram it again on every startup.

 

I want the microcontroller to automatically execute my written code on startup. How can this be done?

 

I am using the S32 Design Studio IDE and S32K118 microcontroller family.

0 Kudos
1 Reply

389 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@B32bX

It looks like you are downloading the code to RAM instead of flash, you can try downloading the code to the flash area.

You can refer to the attachment.

BR!

Tags (1)
0 Kudos