Error Code

Note

The error code has 7 digits: XX-XXXXX, the first two digits indicate the error type, and the last 5 digits indicate the specific error description.

// common status HB_UCP_SUCCESS = 0 // Execution successfully HB_UCP_INVALID_ARGUMENT = -100001 // Illegal parameter HB_UCP_API_USE_ERROR = -100002 // Interface use error HB_UCP_INIT_FAILED = -100003, // Init error // task error HB_UCP_TASK_NUMBER_EXCEED_LIMIT = -200001 // Number of tasks exceeds the limit HB_UCP_TASK_TIMEOUT = -200002 // Task wait timeout HB_UCP_TASK_RUN_FAILED = -200003 // Task failed to execute HB_UCP_TASK_HANDLE_INVALID = -200004 // Illegal task handle // op error HB_UCP_OP_NUMBER_EXCEED_LIMIT = -300001 // Number of operators exceeds the limit HB_UCP_OP_NOT_REGISTER = -300002 // The operator is not registered HB_UCP_OP_CMD_UNAVAILABLE = -300003 // The operator command code is not available // memory error HB_UCP_MEM_ALLOC_FAIL = -400001 // Failed to apply memory HB_UCP_MEM_FREE_FAIL = -400002 // Failed to free memory HB_UCP_MEM_FLUSH_FAIL = -400003 // Failed to flush cached data to memory HB_UCP_MEM_INVALIDATE_FAIL = -400004 // Failed to flush memory to cache HB_UCP_MEM_IS_INVALID = -400005, // invalid mem // file HB_UCP_FILE_OPEN_FAILED = -500001 // Failed to open the file // model HB_UCP_MODEL_NUMBER_EXCEED_LIMIT = -600001 // Number of models exceeds the limit HB_UCP_MODEL_INVALID = -600002 // Illegal model HB_UCP_MODEL_IS_INUSE = -600003 // Model execution in progress HB_UCP_MODEL_INCOMPATIBLE = -600004 // Incompatible model // dsp HB_UCP_DSP_UNAVAILABLE = -700001 // DSP unavailable HB_UCP_DSP_XV_ALLOC_FAIL = -700002 // Failed to request DSP memory HB_UCP_DSP_XV_FREE_FAIL = -700003 // Failed to free DSP memory HB_UCP_DSP_IDMA_COPY_FAIL = -700004 // Failed to copy DSP DMA HB_UCP_DSP_IDMA_BAD_INIT = -700005 // Failed to initialize DSP DMA HB_UCP_DSP_MMAP_FAIL = -700006 // Failed to map DSP memory HB_UCP_DSP_INVALID_SCALE = -700007 // DSP invalid scaling // codec HB_UCP_CODEC_OPERATION_NOT_ALLOWED = -800001 // Not allowed JPU operation HB_UCP_CODEC_INSUFFICIENT_RES = -800002 // Insufficient JPU memory resource HB_UCP_CODEC_NO_FREE_INSTANCE = -800003 // Number of JPU instances exceeds the limit, JPEG supports up to 64 HB_UCP_CODEC_INVALID_INSTANCE = -800004 // Invalid instance HB_UCP_CODEC_BUFFER_WAIT_TIMEOUT = -800005 // JPU Buffer wait timeout