ANAFI UKR: DSP inference from an AirSDK mission fails with qnn_open 0x57

Hello Parrot team,

I am working on onboard machine-learning inference through an AirSDK mission on the ANAFI UKR. Parrot’s US team referred me here for guidance on DSP access and runtime requirements.

Could you confirm whether third-party AirSDK missions are permitted to run neural networks on the Hexagon DSP? If so, is there a supported runtime configuration or deployment example?

Platform and working deployment

  • ANAFI UKR running firmware 8.4.0.
  • QRB5165 chipset, with the runtime reporting Hexagon V66.
  • Custom AirSDK mission with working onboard camera acquisition, TCP control, and metadata output.
  • Object-detection DLC created with QAIRT/SNPE 2.22.10.240618.
  • Matching 2.22.10 AArch64 libraries and V66 files deployed.
  • Runtime priority set to DSP, followed by CPU, with CPU fallback enabled.

The model loads and inference completes through CPU fallback, but DSP session creation fails. CPU inference is too slow for our application. We have used this chipset on another platform and are looking to use DSP acceleration here as well.

DSP initialization error

The recurring error is:

DspTransport.createUnsignedPD unsigned PD or DSPRPC_GET_DSP_INFO not supported by DSP
DspTransport.openSession qnn_open failed, 0x00000057
IDspTransport: Unknown rpc status 0x00000057

Additional tests

To separate model compatibility from DSP availability, I performed two additional tests.

  1. Separate small object detector with CPU fallback disabled

I tested a small object detector created with QAIRT 2.43.0.260127.

The firmware’s SNPE 2.12.0.230626 could not read this newer DLC and returned “Dlc read failure,” so that test did not reach DSP initialization.

Using the matching QAIRT 2.43 AArch64 snpe-net-run, requesting DSP-only execution, and restricting the DSP library search path to the firmware’s signed V66 skeleton directory still resulted in an unsigned protection-domain attempt and qnn_open error 0x57. Network creation failed with the DSP runtime reported as unavailable.

The firmware skeleton is located at:

/usr/lib/rfsa/adsp/libSnpeDspV66Skel.so

  1. Firmware-supplied platform validator

I also ran the aircraft’s own validator:

snpe-platform-validator --runtime dsp --coreVersion --libVersion --testRuntime --debug

Relevant output:

Core Version of the runtime DSP: Hexagon Architecture V66
Setting up QnnBackend
DspTransport.openSession qnn_open failed, 0x00000057
Snpe-QNN backend initialization failed
open /dev/ion failed
Unit Test on the runtime DSP: Failed.
SNPE is NOT supported for runtime DSP on the device.
Runtime DSP Prerequisites: Absent.
Library version of the runtime DSP: Not Found.

I recognize that the QAIRT 2.43 DLC failing to load in the firmware’s SNPE 2.12 runtime is a separate model/runtime compatibility issue. However, the firmware-supplied platform validator also fails during DSP initialization without loading our model, suggesting that DLC compatibility alone does not explain all of the failures. Could this instead reflect an incompatible or mixed runtime/library configuration, or are additional permissions or platform prerequisites required for DSP access?

Questions

  1. Does firmware 8.4.0 support DSP inference from third-party AirSDK missions?
  2. Are additional mission permissions, manifest declarations, or developer settings required?
  3. Which SNPE/QNN version and matching DSP libraries should be used? Does Parrot provide an approved package or example?
  4. Which FastRPC device/domain should missions use, and is a signed protection domain required?
  5. Is /dev/ion expected to be accessible, or should the runtime use another allocator?
  6. What does qnn_open status 0x57 indicate on this firmware?

If SNPE is not the supported route, is there a supported direct-QNN configuration or another onboard inference framework that exposes DSP acceleration?

I can provide additional diagnostic logs and relevant runtime configuration details if helpful.

Thank you,

Scott Hodes
SafePro AI

Hello @shodes_safepro ,

Neural network support in Air SDK missions was introduced with the 8.5 drone firmware, so it can’t work on 8.4. The process is explained here: Neural Network - Anafi UKR (8.5.0)

On 8.5, you can start with the neural network samples: image classifier and object detector.

Your mission should not ship its own SNPE/QNN runtime or DSP libraries. It needs to use the Air SDK Neural Network API, and the firmware then runs your model on the accelerator. The accelerator is shared with Parrot’s embedded neural networks, which autopilot and core flight features depend on, so the firmware has to manage access to it to keep the drone flying safely. Missions also run as an unprivileged user, and the DSP only accepts the signed libraries shipped in the firmware. That is why you got qnn_open 0x57 and /dev/ion errors.

Please build your .dlc with SNPE 2.12.0.230626, which matches the firmware runtime.

I remain available if you have any further questions.

Best regards,
Hugo