Execute code on startup

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Execute code on startup

514件の閲覧回数
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 件の賞賛
返信
1 返信

503件の閲覧回数
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!

タグ(1)
0 件の賞賛
返信