Using the AES Encryption Key Block from the EEPROM - 2.1 English

DisplayPort RX Subsystem LogiCORE IP Product Guide (PG233)

Document ID
PG233
Release Date
2023-05-25
Version
2.1 English

You can use the hdcp_util/iic_wr_util/kc705 project provided with the IP to write the keys to the EEPROM. You need to copy the AES encrypted block generated in the keymgmt_data.c file as described in the previous section to the HDCP_KEYS array in the hdcp_util/iic_wr_util/kc705/sw/src/iic_keys.c file.

Note: The size of the keys is calculated and stored in the HDCP_KEYS_SZ variable. You should ensure that size of the keys should fit in the EEPROM.
  1. Navigate to the hdcp_util/iic_wr_util/kc705/sw/ folder. Use the 2016.4 Vivado build in the command prompt and run the following command:
    xsct ./all.tcl

    This creates the iic_eeprom.elf file in hdcp_util/iic_wr_util/kc705/sw/iic_eeprom/Debug folder.

  2. You can then use this elf file and the design_1_wrapper.bit file provided in hdcp_util/iic_wr_util/kc705/ready_to_download folder to program the EEPROM on the board with the AES encrypted keys.

  3. Set gIsKeyWrittenInEeeprom = TRUE in the \**kc705_system_directly**\**software_directly**\src\xdp*xss_kc705.c file. Ensure that the IIC device ID is correctly set in keygen_config.h file.