This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] J784S4XEVM: Demo application to show the usage of the read and write TISCI API for extended OTP efuse

Part Number: J784S4XEVM

Need demo application to show the usage of the read and write TISCI API for extended OTP efuse.

  • Environment Setup: 

    Hardware: J784S4 HS-SE EVM

    SDK: 9.0 RTOS SDK

    Boot Mode: SD

    If you want to read and write to the extended OTP using R5 SBL you can use the below patch for the same.

    STEPS:

    0001-R5-test-apllication-to-wrte-and-read-to-the-extended.patch

    • cd <RTOS_SDK><pdk>/packages/ti
    • Apply the patch or make the changes as mentioned in the patch.  
    • cd build
    • make sciclient_direct_hs BOARD=j784s4_evm CORE=mcu1_0
    • make sciclient_boardcfg_hs BOARD=j784s4_evm CORE=mcu1_0
    • make sbl_mmcsd_img_hs BOARD=j784s4_evm CORE=mcu1_0
    • Copy the tiboot3.bin to the sd card and boot.

    Output:

    NOTES: 

    Read Operation -

    • For read operation we need to have a secure host and perm as non secure (permission for the row ) so that we can read the data from the MMR. 
    • During read operation we make use of MMR to boost the performance.

    Write Operation - 

    • We need to provide secure host id in order to write to the extended otp in secure board config.
    • VPP need to enable before doing the write operation.
    • You can not read the written data in the same power cycle as we read the data from the MMR which will be filled by the ROM by scanning the efuses during start up process.

    Useful Link:

    Regards
    Diwakar