# Upgrade the Qualcomm AI Engine Direct SDK (QNN)

Source: [https://docs.qualcomm.com/doc/80-70015-265/topic/upgrade-the-qnn-sdk.html](https://docs.qualcomm.com/doc/80-70015-265/topic/upgrade-the-qnn-sdk.html)

You can upgrade the version of Qualcomm AI Engine Direct SDK (QNN) to a specified
    version.

## About this task

To upgrade the Qualcomm AI Engine Direct SDK to a specified version, follow these
        steps:

**Steps:**

## Procedure

1. Find the `<release version>` of Qualcomm AI Engine Direct SDK on
          Qualcomm Software Center (QSC).
        
1. Go to [QSC](https://softwarecenter.qualcomm.com/#/), search and enter the Qualcomm AI Engine
                Direct SDK page.
    2. Choose Linux under OS and find a
              version from the Version drop-down list.
2. Download the required version SDK by running the following command:
        
Note: Replace `${QNPSDK_SRC_VER}` with the required
            version.

        wget https://softwarecenter.qualcomm.com/api/download/software/qualcomm_neural_processing_sdk/v${QNPSDK_SRC_VER}.zipCopy to clipboard

**Example:**

        wget https://softwarecenter.qualcomm.com/api/download/software/qualcomm_neural_processing_sdk/v2.22.0.240425.zipCopy to clipboard
3. Get the `sha256sum` value of the QNN zip file corresponding to the
          specified release version with this command:
        
sha256sum v${QNPSDK_SRC_VER}.zipCopy to clipboard

**Example:**

        sha256sum v2.22.0.240425.zipCopy to clipboard
4. Update the following variables in the file
            `<workspace>/layers/meta-qcom-robotics-sdk/recipes-sdk/function-sdks/qti-qnn.bb`.
        
1. Update `QNPSDK_SRC_VER="$release version "`.
        **Example:**

            QNPSDK_SRC_VER="2.22.0.240425"Copy to clipboard
    2. Update `QNPSDK_SRC_SHID` with the `sha256sum`
                  value.
        **Example:**

        QNPSDK_SRC_SHID="d68ed4d92187101a9759384cbce0a35bd383840b2e3c3c746a4d35f99823a75a"
        Copy to clipboard
5. After upgrade, recompile the QIRP SDK using the steps in [Build with Dockerfile](https://docs.qualcomm.com/doc/80-70015-265/topic/build-with-github-binaries.html#ID-task-d4319e392).

**Parent Topic:** [Upgrade individual SDKs](https://docs.qualcomm.com/doc/80-70015-265/topic/upgrade-individual-sdks_7.html)

Last Published: Oct 15, 2024

[Previous Topic
Upgrade the Qualcomm IM SDK](https://docs.qualcomm.com/bundle/publicresource/80-70015-265/topics/upgrade-the-qim-product-sdk_7_2.md) [Next Topic
Troubleshooting](https://docs.qualcomm.com/bundle/publicresource/80-70015-265/topics/troubleshooting_8.md)