📄 sierrors.h
字号:
///////////////////////////////////////////////////////////////////////////////
// SIErrors.h
//
// Description:
// Following are SI error codes. These error codes should be used by all
// code other than the driver. This means .exe, .lib, .dll, must use
// these codes.
//
// Revision History:
// 2002-04-17: mik
// Created.
// 2002-05-01: mik
// Added #if !defined(_SIERRORS_H).
//
///////////////////////////////////////////////////////////////////////////////
#if !defined(_SIERRORS_H)
#define _SIERRORS_H
enum VQ_Error
{
// System errors
e_Err_DeviceNotFound = -33, // arbitrary, to be backward compatible
e_Err_BadVendorID,
// Following are not-so-serious errors, to be continued below
e_Err_ScopeUnderflow = 1, // 1
e_Err_NoError = 0, // 0
// Misc errors
e_Err_MiscError = 2, // 2
e_Err_UnknownCommand,
// Buffer errors
e_Err_Timeout,
e_Err_BufferTooSmall,
e_Err_CountTooBig,
e_Err_CompareError,
e_Err_DSPOutofMemory,
e_Err_DSPAllocateBuffer,
e_Err_ScopePointerError, // 10
// Read errors
e_Err_ReadError,
e_Err_NotAllWordsRead,
e_Err_OpregReadError,
e_Err_TargetReadError,
e_Err_BusmasterReadError,
e_Err_AddonInitReadError,
e_Err_HostpollReadError,
e_Err_NVReadError,
// Write errors
e_Err_WriteError,
e_Err_NotAllWordsWrite, // 20
e_Err_OpregWriteError,
e_Err_TargetWriteError,
e_Err_BusmasterWriteError,
e_Err_AddonInitWriteError,
e_Err_HostpollWriteError,
e_Err_NVWriteError,
// DSP Errors
e_Err_ResetError,
e_Err_ResetInvalidMode,
e_Err_ResetAssertError,
e_Err_ResetDeassertError, // 30
e_Err_ResetTBCError,
e_Err_AddonInitTimeoutError,
// Following are used by ISA
e_Err_FileTooLarge,
e_Err_StatusBitError,
e_Err_ISACommError,
e_Err_ISAClearHandshake,
e_Err_BeginCmdSend,
e_Err_ISASendType,
e_Err_ISASendCount,
e_Err_ISASendSrc, // 40
e_Err_ISASendDst,
e_Err_ISAStatusValueError,
// Following are used by CAC
e_Err_FdspHalt,
e_Err_FdspDlExec,
e_Err_FfindLabelName,
e_Err_FdspRun,
// Following are used by C6x parallel
e_Err_ClassInitError,
e_Err_CloseError,
e_Err_PortOpenError,
e_Err_CoffloadError, // 50
e_Err_GenerateIntError,
// Following are used by PLXC6711
e_Err_SdramAckError,
e_Err_SdramConfig_tCL,
e_Err_SdramConfig_tREFI,
e_Err_SdramConfig_colSize,
e_Err_SdramConfig_rowSize,
e_Err_SdramConfig_bankSize,
e_Err_SdramConfig_Param,
// File system errors
e_Err_FileNotFound,
e_Err_CreateFile, // 60
e_Err_UnableToReadFile,
e_Err_WindowsHandle,
e_Err_WindowsMemError,
e_Err_InvalidFile,
// Following are not-so-serious errors
// see above for this error. e_Err_ScopeUnderflow = 1,
e_Err_ScopeTrigger,
e_Err_ScopeADCOff,
e_Err_ScopeOverflow,
// Following are bit file loader specific errors.
e_Err_FPGA_DoneNotLow,
e_Err_FPGA_DoneNotHigh,
// Following are COFF loader specific errors.
e_Err_CoffTypeError, // 70
e_Err_CoffSectionsError,
//Following are only for VQ host dll and used by SI boards only.
e_Err_GetGeneration,
e_Err_GetCurVQFelAddr,
e_Err_AddToPQFList,
e_Err_AddToFlist
};
int TranslateErrorCode(int error, char errorMsg[]);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -