Problems Flashing S32K

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

Problems Flashing S32K

1,515 次查看
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 项奖励
回复
2 回复数

1,438 次查看
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 项奖励
回复

1,459 次查看
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 项奖励
回复