S32K311 flash sector locked

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

S32K311 flash sector locked

784 次查看
LJS10045
Contributor I

I'm using S32K311, IDE version is S32DS 3.5 with RTD 4.0.

When I used Jlink v7.94 to program my .elf file, I encountered problem below :

ERROR: Failed to erase sectors 0 @ address 0x00400000 ((sector is locked)) 

Jlink can connect to MCU but I can't write, erase flash sector or chip.

I tried "unlock kinetis" and "erase all pin.jlk" in command line while under reset, but it also can't unlock either.

Is anyone encountered the same problem? Please let me know how to fix this.

sector_locked.png

0 项奖励
回复
1 回复

759 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @LJS10045,

Please help me checking this community post, as it seems these are similar issues: Cannot Use J-Flash to Erase or Write S32k311 chip - NXP Community

If the answer there does not fix your issue, I would recommend going to Segger: Ticket | SEGGER.

Best regards,
Julián

0 项奖励
回复