Hi,
My board has programmed the fuse to set SEC_CONFIG=1 to enable security, and programmed SRK hash. I have configured to use the SNVS OPTMK.
When debugging my secure boot, I found that:
My questions are:
Thanks
Solved! Go to Solution.
Hi @JerryQian_132 :
The attached picture is unclear, please make sure TRST pin with pull-down resistor in order to avoid JTAG violation (0 PKE_0_Pull_Keeper_Disabled — Pull/Keeper Disabled). It can make effect on all of reset beside POR.
If can't rework the board, please use SW to configure with core reset only
0x401F80D8 : 0x0 0x401F82C8 : 0x30A0 0x401F80E8 : 0x0 0x401F82D8 : 0x30A0 0x401F80D4 : 0x0 0x401F82C4 : 0x70A0
Additionally, please boot firstly, then connect the JTAG interface.
Hi
RT10xx shouldn't have this limitation, please double check your pull resistors configuration for JTAG pins as following:
You could pull TCK low, or pull TRST low, or pull TMS high by SW (PUE/PUS of IOMUXC) before any reset. IOMUXC won’t be reset by system reset so just need one time program of any one of these IO after POR.
Hi Daniel,
I have never changed the JTAG pins configurations. Below are their values. Same as default value.
Without JTAG
0x401F80D8 : 0x0
0x401F82C8 : 0x70A0
0x401F80E8 : 0x0
0x401F82D8 : 0x70A0
0x401F80D4 : 0x0
0x401F82C4 : 0x70A0
With JTAG
0x401F80D8 : 0x0
0x401F82C8 : 0x70A0
0x401F80E8 : 0x0
0x401F82D8 : 0x70A0
0x401F80D4 : 0x0
0x401F82C4 : 0x70A0
BTW, could it related to HW? Below is my schematic about JTAG connection.
Thanks
Hi @JerryQian_132 :
The attached picture is unclear, please make sure TRST pin with pull-down resistor in order to avoid JTAG violation (0 PKE_0_Pull_Keeper_Disabled — Pull/Keeper Disabled). It can make effect on all of reset beside POR.
If can't rework the board, please use SW to configure with core reset only
0x401F80D8 : 0x0 0x401F82C8 : 0x30A0 0x401F80E8 : 0x0 0x401F82D8 : 0x30A0 0x401F80D4 : 0x0 0x401F82C4 : 0x70A0
Additionally, please boot firstly, then connect the JTAG interface.
Hi Daniel,
I have tried your suggestions. My problem has been resolved.
When connect to JTAG, my code can decrypt the encrypted application now. HPSR.SSM_STATE is trusted (0xD) too. Same behavior as JTAG disconnected. Thanks.