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.

CC2745P10-Q1: HSM's Cryptographic Operation Function

Part Number: CC2745P10-Q1
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

When a program that performs ECDSA and SHA256 hardware operations is written to a PG2.0 board,

SHA2_open and ECDSA_open do not become HSMLPF3_STATUS_SUCCESS in HSMLPF3_init(), and NULL is returned as a return value.

In addition, the same phenomenon occurs even when writing software that has been confirmed to work on the board where this phenomenon occurred, and SHA and ECDSA operations cannot be performed.

Please explain the cause of the problem and the means of recovery.

Environment

Code Composer Studio 12.8.1

simplelink_lowpower_f3_sdk_8_30_00_11_ea

  • Hi,

    If SHA2_open is failling, then this indicates that the HSM was erased. You will have to reflash the HSM binary which comes included in the SDK. Instructions are in the secure resources folder on ti.com, CC27XX-PREVIEW.

    Please follow the instructions in the getting started PowerPoint, and let me know if that helps.

    Otherwise, please include the return codes for both functions.

    Best,

    Nima Behmanesh

  • Hi Nima,

    Thank you for your response.
    Are you referring to the procedure for writing firmware described in the Get Started Guide, "How to have Uniflash Automatically Identify PG2 EVM"?
    I have tried this procedure, but it has not recovered and NULL is still returned.
    Are there any other possible causes?

  • Hi,

    My apologies, it appears the section I was referring to was removed in the latest release. 

    What you need to do is the following:

    1. Flash the device with your firmware (CCS or Uniflash).

    2. Flash the cc27xx10_hsm_fw_v2.1.0.bin located in the My secure resources folder on ti.com.

    Instructions to do this can be found in the ble5stack-guickstart-guide.html file in the docs/ble5stack folder located in the SDK:

    Best,

    Nima Behmanesh

  • Thanks to your response, the issue has been resolved.
    I appreciate your assistance.