Question:
How to pass JTAG-keys to CLDP and get access for a lock part, After Secure Debug Key is programmed into OTP memory?
Answer:
When the Secure Debug Key is programmed into the OTP memory and the part is locked, the part is secure with security features enabled. In order to gain access with the host debugger, a key must be passed in to be compared against the Secure Debug Key stored in OTP memory. If the keys match, then access is granted,otherwise access is denied.
A key can be passed in from the debugger via a custom board support XML file or in the relevant evaluation platform XML file (ADSP-BF70x-resets.xml or ADSP-SC589-registers.xml) found in the\System\ArchDef sub-directory in the CCES install path.
Custom board support file is not supported in CLDP. So only way to get the access for a lock part via CLDP is to have a XML file in the System\ArchDef of CCES installation path.
Please refer the attached image. This approach will work for both CCES as well as CLDP.
Also, refer the below linked EE-366 EE-note for more details.
https://www.analog.com/media/en/technical-documentation/application-notes/EE366v02.pdf