SPRAD04 January   2022 TDA4VH-Q1 , TDA4VM , TDA4VM-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2TIDK Device Verification
    1. 2.1 Sign and Encrypt Second BootLoader (SBL)
    2. 2.2 Sign and Encrypt System Image
  4. 3Keys Programming
    1. 3.1 Install Keywriter
    2. 3.2 Keys Generation
    3. 3.3 Build Keywriter Application
    4. 3.4 Program Keys in HS-FS Device
  5. 4Key Programming Verification
  6. 5Building and Booting on HS Devices Using Linux SDK
  7. 6Summary

Program Keys in HS-FS Device

After the software is ready, the following hardware requirements must be met when programming keys in the SoC OTP eFuses:

  • The VPP_CORE and VPP_MCU power supplies must be disabled when not programming OTP registers.
  • The VPP_CORE and VPP_MCU power supplies must be ramped up after the proper device power-up sequence, also the voltage value needs to be set within the following range, as listed in Table 3-1.

Table 3-1 Recommended Operating Conditions for OTP eFuse Programming
Parameter Description Minimum Typical Maximum Unit
VPP_CORE Supply voltage range for the eFuse ROM domain during normal operation N/A
Supply voltage range for the eFuse ROM domain during OTP programming 1.71 1.8 1.89 V
VPP_MCU Supply voltage range for the eFuse ROM domain during normal operation N/A
Supply voltage range for the eFuse ROM domain during OTP programming 1.71 1.8 1.89 V
Tj Temperature 0 25 85

For steps to start flashing work, see Figure 3-3.

Figure 3-3 eFuses Program Process

The OTP Keywriter runs as a bootloader in device boot medium. Once the Keywriter application starts the keys programming, the log can be found in MCU domain UART1 as shown:

$ \0OTP Keywriter Revision: 01.00.00.00 (Mar 7 2021 - 20:15:01)
$ OTP Keywriter ver: 20.8.5-w2020.23-am64x-14-g7409e
$ Beginning key programming sequence
$ Taking OTP configuration from 0x41c7e000
$ Debug response: 0x0
$ Key programming is complete

After the previous steps, the HS-FS device should be converted to an HS-SE device with specific keys; however, the binaries require signature and encrypt with the same keys if the customer wants to run these binaries in the HS-SE device.