AES128 CBC example using DCP and OCOTP key

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

AES128 CBC example using DCP and OCOTP key

1,115 次查看
mb3ddedlov3rs
Contributor I

I'm working on a i.MX RT1052.

I'm trying to run AES128CBC SDK EXAMPLE using DCP and OTP key (SW_GP2) as key, to do this i set DCP_TEST_USE_OTP_KEY to 1 in dcp.c file(from SDK example) and for testing i've written only the first word(32 bit bank 0 bank 5 word 1) of SW_GP2[127:0].

Why when i try to run the software on target the key read from DCP is always 0 ? (I've already check if correctly fused and are ok!) seems that DCP doesn't load the fused key in it's internal memory.

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

1,031 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Customer need to call MCUXpresso SDK provided ocopt driver API function to program OTP fuses.

The OTP fuses default value is 0, the behavior showed OTP key is not programmed.

Customer could refer MCUXpresso [ocotp] demo about how to write data to Fuse map.

Thanks for the attention.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复