S32K328NHT1MJBSR MAPBGA289 Programming problems

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

S32K328NHT1MJBSR MAPBGA289 Programming problems

347 次查看
gary_yang
Contributor II

Dear sir:

We are a third-party programmer manufacturer.

Currently testing programming the S32K328NHT1MJBSR.

After successfully programming the customer's file, the J-Link connects successfully,

001.JPG

but Erase fails.

002.JPG

 

If programming random code, erasing and programming can be repeated.

This is our programming circuit.

003.JPG

 

Do you have any suggestions?

 

Thanks

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

276 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gary_yang

Based on the error message, you are attempting to erase the HSE area, which is likely the cause of the erase/write failure.

0 项奖励
回复

235 次查看
gary_yang
Contributor II

Dear Sir:

After programming a specific file, it cannot be repeatedly erased and programmed.

The entire IC cannot be eraseed.

If it's a programming random code, it can be repeatedly erased and programmed.

What is the address of the HSE area?

 

Thanks

0 项奖励
回复

223 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gary_yang

I'm not sure if this is the cause; this is just my guess. It's also possible that the current sector is locked in your code.

However, regarding the HSE memory address:

int_pflash : ORIGIN = 0x00400000, LENGTH = 0x007D4000 /* 8191KB - 176KB (sBAF + HSE)*/

Last 176KB reserved for HSE, that is: 0x00BD4000~0x00BFFFFF。

 

I suggest you contact SEGGER's technical support.

https://www.segger.com/support/technical-support/

 

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2205488%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K328NHT1MJBSR%20MAPBGA289%20%E7%BC%96%E7%A8%8B%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2205488%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BA%B2%E7%88%B1%E7%9A%84%E5%85%88%E7%94%9F%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E6%98%AF%E7%AC%AC%E4%B8%89%E6%96%B9%E7%BC%96%E7%A8%8B%E5%99%A8%E5%88%B6%E9%80%A0%E5%95%86%E3%80%82%3C%2FP%3E%3CP%3E%E7%9B%AE%E5%89%8D%E6%AD%A3%E5%9C%A8%E6%B5%8B%E8%AF%95%20S32K328NHT1MJBSR%20%E7%9A%84%E7%BC%96%E7%A8%8B%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%90%E5%8A%9F%E4%B8%BA%E5%AE%A2%E6%88%B7%E6%96%87%E4%BB%B6%E7%BC%96%E7%A8%8B%E5%90%8E%EF%BC%8CJ-Link%20%E6%88%90%E5%8A%9F%E8%BF%9E%E6%8E%A5%E3%80%81%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22001.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22001.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F365767i048BC6A212F7658A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22001.JPG%22%20alt%3D%22001.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%E4%BD%86%E6%93%A6%E9%99%A4%E5%A4%B1%E8%B4%A5%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22002.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22002.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F365768i9916F62A346B3805%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22002.JPG%22%20alt%3D%22002.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%98%AF%E9%9A%8F%E6%9C%BA%E7%A0%81%E7%BC%96%E7%A8%8B%EF%BC%8C%E5%8F%AF%E9%87%8D%E5%A4%8D%E6%93%A6%E9%99%A4%E5%92%8C%E7%BC%96%E7%A8%8B%E3%80%82%3C%2FP%3E%3CP%3E%E8%BF%99%E5%B0%B1%E6%98%AF%E6%88%91%E4%BB%AC%E7%9A%84%E7%BC%96%E7%A8%8B%E7%94%B5%E8%B7%AF%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22003.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22003.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F365769iCEF34079F5C5DE2F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22003.JPG%22%20alt%3D%22003.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%82%A8%E6%9C%89%E4%BB%80%E4%B9%88%E5%BB%BA%E8%AE%AE%E5%90%97%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E