Problems Flashing S32K

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

Problems Flashing S32K

800 Views
sean_dvorscak
Contributor III

I am having issues trying to flash an S32K.

I am using IAR to do the flashing and debugging, and when I do the flash, I get this warning:

sean_dvorscak_0-1687993613079.png

When I press OK, IAR starts to try and flash the board, but it never ends up actually flashing.  No timeout error happens either.  It just sits there saying it is flashing forever.

I read somewhere that when you get the message about the stack pointer like this, you need to reset the chip.  I tried erasing the chip using J-Flash, but that gave me these errors:

sean_dvorscak_1-1687993716252.png

I am not sure what happened as IAR was having no issues earlier flashing the board.  Just suddenly stopped working.

Any help would be appreciated as to why this suddenly happened or how to fix it.

Thanks

0 Kudos
Reply
2 Replies

723 Views
asapuntz
Contributor I
per the data sheet, it looks like the S32K1xx devices have a minimum flash cycling endurance of 1000, which is not hard to reach when doing development.

for comparison, the KE18F data sheet shows a minimum10000
0 Kudos
Reply

744 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sean_dvorscak 

in general, this is a question rather for IAR or Segger. But what I saw in the past - make sure that your J-Link software is up to date:

https://www.segger.com/downloads/jlink/

Regards,

Lukas

0 Kudos
Reply