error: Device is secure. Erase to unsecure

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

error: Device is secure. Erase to unsecure

114 次查看
Navina
Contributor II

Hello Team,

I was testing A/B partitioning on the S32K144 using the A12323 document.


First, I flashed the S32K144_Memory_Partition project into RAM.
Then, I flashed the S32K144_FOTA_Gateway_example into Flash.

On the same board, I tried flashing a CAN application. The first time it worked successfully.
However, when I attempted to flash the same application a second time, it failed with the error: “Device is secure. Erase to unsecure.”

Navina_0-1764133345139.png

 

Now I am not able to flash anything.

 

Thanks.

标记 (1)
0 项奖励
回复
1 回复

48 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Navina 

As I wrote in previous thread:

Do you have Segger J-Link probe or Lauterbach debugger to read MDM-AP? Unfortunately that's not possible with Pemicro.

There's a rare scenario when the device can be locked. Please check this thread:

https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227

To confirm it, it's necessary to read MDM-AP.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2248896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%94%99%E8%AF%AF%EF%BC%9A%E8%AE%BE%E5%A4%87%E6%98%AF%E5%AE%89%E5%85%A8%E7%9A%84%E3%80%82%E6%B8%85%E9%99%A4%E8%87%B3%E4%B8%8D%E5%AE%89%E5%85%A8%E7%8A%B6%E6%80%81%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E5%9B%A2%E9%98%9F%E3%80%81%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20A12323%20%E6%96%87%E6%A1%A3%E6%B5%8B%E8%AF%95%20S32K144%20%E4%B8%8A%E7%9A%84%20A%2FB%20%E5%88%86%E5%8C%BA%E3%80%82%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E9%A6%96%E5%85%88%EF%BC%8C%E6%88%91%E5%B0%86%20S32K144_Memory_Partition%20%E9%A1%B9%E7%9B%AE%E9%97%AA%E5%AD%98%E5%88%B0%20RAM%20%E4%B8%AD%E3%80%82%3CBR%20%2F%3E%E7%84%B6%E5%90%8E%EF%BC%8C%E6%88%91%E5%B0%86%20S32K144_FOTA_Gateway_example%20%E9%97%AA%E5%AD%98%E5%88%B0%20Flash%20%E4%B8%AD%E3%80%82%3C%2FP%3E%3CP%3E%E5%9C%A8%E5%90%8C%E4%B8%80%E4%B8%AA%E6%9D%BF%E4%B8%8A%EF%BC%8C%E6%88%91%E5%B0%9D%E8%AF%95%E5%88%B7%E6%96%B0%20CAN%20%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E3%80%82%E7%AC%AC%E4%B8%80%E6%AC%A1%E5%B0%B1%E6%88%90%E5%8A%9F%E4%BA%86%E3%80%82%3CBR%20%2F%3E%E4%BD%86%E6%98%AF%EF%BC%8C%E5%BD%93%E6%88%91%E5%86%8D%E6%AC%A1%E5%B0%9D%E8%AF%95%E5%88%B7%E6%96%B0%E5%90%8C%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%97%B6%EF%BC%8C%E5%AE%83%E5%A4%B1%E8%B4%A5%E4%BA%86%EF%BC%8C%E9%94%99%E8%AF%AF%E6%98%AF%EF%BC%9A%3CSTRONG%3E%E2%80%9C%E8%AE%BE%E5%A4%87%E6%98%AF%E5%AE%89%E5%85%A8%E7%9A%84%E3%80%82%E6%93%A6%E9%99%A4%E5%88%B0%E4%B8%8D%E5%AE%89%E5%85%A8%E7%9A%84%E5%9C%B0%E6%96%B9%E3%80%82%E2%80%9D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Navina_0-1764133345139.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Navina_0-1764133345139.png%22%20style%3D%22width%3A%20303px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Navina_0-1764133345139.png%22%20style%3D%22width%3A%20303px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367251i9186E8B692F838CC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Navina_0-1764133345139.png%22%20alt%3D%22Navina_0-1764133345139.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E6%88%91%E6%97%A0%E6%B3%95%E9%97%AA%E7%83%81%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20error%3A%20Device%20is%20secure.%20Erase%20to%20unsecure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256429%22%20target%3D%22_blank%22%3E%40%E7%BA%B3%E7%BB%B4%E5%A8%9C%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E6%AD%A3%E5%A6%82%E6%88%91%E5%9C%A8%E5%89%8D%E4%B8%80%E4%B8%AA%E4%B8%BB%E9%A2%98%E4%B8%AD%E6%89%80%E5%86%99%E7%9A%84%E9%82%A3%E6%A0%B7%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E6%9C%89%E8%AF%BB%E5%8F%96%20MDM-AP%20%E7%9A%84%20Segger%20J-Link%20%E6%8E%A2%E5%A4%B4%E6%88%96%E5%8A%B3%E7%89%B9%E5%B7%B4%E8%B5%AB%E8%B0%83%E8%AF%95%E5%99%A8%E5%90%97%EF%BC%9F%E9%81%97%E6%86%BE%E7%9A%84%E6%98%AF%EF%BC%8CPemicro%20%E6%97%A0%E6%B3%95%E5%81%9A%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%9C%A8%E6%9E%81%E5%B0%91%E6%95%B0%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%8F%AF%E4%BB%A5%E8%A2%AB%E9%94%81%E5%AE%9A%E3%80%82%E8%AF%B7%E6%9F%A5%E7%9C%8B%E6%AD%A4%E4%B8%BB%E9%A2%98%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FUnbricking-S32K146%2Fm-p%2F937227%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FUnbricking-S32K146%2Fm-p%2F937227%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E8%A6%81%E7%A1%AE%E8%AE%A4%E8%BF%99%E4%B8%80%E7%82%B9%EF%BC%8C%E6%9C%89%E5%BF%85%E8%A6%81%E9%98%85%E8%AF%BB%20MDM-AP%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E