how to enable flag in utest file

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

how to enable flag in utest file

383 次查看
vikmonti7804
Contributor III

Hi,

  I am using the hse example code demo for advance secure boot and after reading the manual i understand we have to enable the flags in utest file but here in the code i dont see any flag in utest.c file.

Can you please provide more details on this.

vikmonti7804_0-1701774147311.png

 

 

0 项奖励
回复
1 回复

370 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @vikmonti7804 

According to the section "Device Configuration" of the HSE_B Firmware Reference Manual, the HSE Firmware Usage feature flag is located at UTESt Location 0x1B000000, and this location can be programmed by any value directly by application in the CUST_DEL lifecycle only.

The UTEST Sector is an OTP (One Time Programmable). This causes the erase operations not to be allowed. You only going to be able to append new data or configuration and read data. To write in the UTEST Sector is the same process used to program data in other blocks.

 

B.R.

VaneB

0 项奖励
回复