How to burn SRKH and OTPMP using ccs codewarrior for LS1043A

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

How to burn SRKH and OTPMP using ccs codewarrior for LS1043A

772 次查看
gandhi_999
Contributor III

Hi,

I am trying to run secure boot on LS1043A based board.

I have generated SRKH and OTPMK to burn the fuses using RCW BOOT_HO for the purpose of development and testing.

However, using ccs in codewarrior, I am getting following out of range address error, as a result not able to write the SRKH/OTPMK fuses.

Using the same address which is mentioned in the reference manual.

WhatsApp Image 2024-01-16 at 04.13.04.jpeg

Could you please help on the same.

Thanks.

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

753 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You need to write OTPMK/SRKH in CodeWarrior Connection Server(CCS) console. Please open CCS console from C:\Freescale\CW4NET_v2020.06\Common\CCS\bin\ccs.exe

 1. Please generate OTPMK and blow it to fuse.

$ git clone https://github.com/nxp-qoriq/cst.git

$ cd cst/

$ make

$ ./gen_otpmk_drbg -b 2 

Then refer to the attached document fuse_OTPMK.docx to program OTPMK and blow it to fuse on the target board.

2. Please refer to the attached "write_SRKH.docx" to program SRKH to mirror registers via CodeWarrior CCS to do verification.

You could download LSDKUG_Rev21.08 from www.nxp.com, then refer to section "6.1.1.5.2.4.1 Program SRKH mirror registers in CodeWarrior environment ".

0 项奖励
回复