S32K148 Flash Config Field can not erase/program

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

S32K148 Flash Config Field can not erase/program

446 次查看
nnguye66
Contributor I

Hi,

I am using Lauterbach and try to erase then program the Flash Config Field from unsecure to secure state follow the step in this thread https://community.nxp.com/t5/S32K/s32k144-Backdoor-Key-Access/m-p/1327726#M11768

However, I have the problem that when I erase/program the sector (0x0000-0x1000) which has Flash config Field , only other part in that sector be erased/programmed , the Flash Config Field (0x400-0x40F) is not changed

Could you give us some advise.

Your help will be highly appriciated

Best Regards,

HaiNam

 

0 项奖励
3 回复数

422 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi HaiNam,

As it is stated in the thread you linked here, it is not recommended to reprogram the first sector like that.

Anyway, what error flags does the FTFC set?

 

Thanks,

BR, Daniel

0 项奖励

417 次查看
nnguye66
Contributor I

Hi Daniel,

Thank you for your reply.

If I use lauterbach to erase, there are no error flags, sector be erased except Flash config field

If I use code software to erase all (0x44) , then the ACCERR flags set, nothing be erased

nnguye66_0-1668854570958.png

 

Here is the secure state of my testing board

nnguye66_1-1668854637423.png

 

 

0 项奖励

394 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @nnguye66,

How do you erase and program the first sector exactly?

What script do you use?

Is it possible that the script programs the Flash configuration field back?

Is the MCU partitined for CSEc with keys allocated?

 

Thanks,

BR, Daniel

0 项奖励