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

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

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

653 Views
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 Kudos
Reply
3 Replies

625 Views
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 Kudos
Reply

619 Views
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 Kudos
Reply

631 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Juan_Juan

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

0 Kudos
Reply