How can I keep the flash program staying in the MCU after power-on again

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can I keep the flash program staying in the MCU after power-on again

1,473 次查看
Juan_Juan
Contributor I

Hi NXP, 

I tried to flash the example code hello_world_s32K148 to the S32K148EVB. disconnect and connect the 12V power back, while the code is gone.

below is my procedure to flash the board:

Juan_Juan_0-1701886001398.png(release Flash is missing?)

next I went to debug configuration

Juan_Juan_1-1701886078085.png

Juan_Juan_2-1701886133086.png

After click debug, the code is execute (LED start blinking), but after I power-up again or press reset the flashed program will be gone.

Can you please help to suggest what's the correct way to flash the board?

 

 

0 项奖励
回复
3 回复数

1,445 次查看
Juan_Juan
Contributor I

Hi @Senlent ,

I followed the steps mentioned in the original post, and the attached video shows that the MCU program is gone once it re-starts.

Can you suggest any ways to fix it? or it is hardware issue (I have four of these boards are showing same behavior, so I assumed that's due to the incorrect flashing method)  

 

0 项奖励
回复

1,439 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Juan_Juan

It shouldn't be a hardware problem. I think you downloaded the wrong program.

Follow the following set and try again,

1.Close all IDE, open the IDE , create a new project directory.

2.import this demo again

3.build and download it again.

0 项奖励
回复

1,451 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Juan_Juan

I see no problem with your debug configuration and no problem on myside.

0 项奖励
回复