Using the µVision Socket Interface  Application Note 198
Control and monitor µVision via the built-in TCP/IP interface
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Status Codes

Enumerations

enum  UV_STATUS {
  UV_STATUS_SUCCESS = 0,
  UV_STATUS_FAILED = 1,
  UV_STATUS_NO_PROJECT = 2,
  UV_STATUS_WRITE_PROTECTED = 3,
  UV_STATUS_NO_TARGET = 4,
  UV_STATUS_NO_TOOLSET = 5,
  UV_STATUS_NOT_DEBUGGING = 6,
  UV_STATUS_ALREADY_PRESENT = 7,
  UV_STATUS_INVALID_NAME = 8,
  UV_STATUS_NOT_FOUND = 9,
  UV_STATUS_DEBUGGING = 10,
  UV_STATUS_TARGET_EXECUTING = 11,
  UV_STATUS_TARGET_STOPPED = 12,
  UV_STATUS_PARSE_ERROR = 13,
  UV_STATUS_OUT_OF_RANGE = 14,
  UV_STATUS_BP_CANCELLED = 15,
  UV_STATUS_BP_BADADDRESS = 16,
  UV_STATUS_BP_NOTSUPPORTED = 17,
  UV_STATUS_BP_FAILED = 18,
  UV_STATUS_BP_REDEFINED = 19,
  UV_STATUS_BP_DISABLED = 20,
  UV_STATUS_BP_ENABLED = 21,
  UV_STATUS_BP_CREATED = 22,
  UV_STATUS_BP_DELETED = 23,
  UV_STATUS_BP_NOTFOUND = 24,
  UV_STATUS_BUILD_OK_WARNINGS = 25,
  UV_STATUS_BUILD_FAILED = 26,
  UV_STATUS_BUILD_CANCELLED = 27,
  UV_STATUS_NOT_SUPPORTED = 28,
  UV_STATUS_TIMEOUT = 29,
  UV_STATUS_UNEXPECTED_MSG = 30,
  UV_STATUS_VERIFY_FAILED = 31,
  UV_STATUS_NO_ADRMAP = 32,
  UV_STATUS_INFO = 33,
  UV_STATUS_NO_MEM_ACCESS = 34,
  UV_STATUS_FLASH_DOWNLOAD = 35,
  UV_STATUS_BUILDING = 36,
  UV_STATUS_HARDWARE = 37,
  UV_STATUS_SIMULATOR = 38,
  UV_STATUS_BUFFER_TOO_SMALL = 39,
  UV_STATUS_EVTR_FAILED = 40,
  UV_STATUS_END
}
 

Description

Enumeration Type Documentation

enum UV_STATUS

UVSOCK status codes

UVSOCK status codes are returned in UV_CMD_RESPONSE and UV_ASYNC_MSG messages from uVision to the client. They represent the result of the operation relating to the UVSOCK command code in the same message. If the code is not UV_STATUS_SUCCESS, it will be accompanied by an error string.

Enumerator
UV_STATUS_SUCCESS 

Operation successful: No error.

UV_STATUS_FAILED 

Operation failed: Generic / unknown error.

UV_STATUS_NO_PROJECT 

Operation failed: No project is currently open.

UV_STATUS_WRITE_PROTECTED 

Operation failed: The current project is write protected.

UV_STATUS_NO_TARGET 

Operation failed: No target is selected for the current project.

UV_STATUS_NO_TOOLSET 

Operation failed: No toolset is selected for the current target.

UV_STATUS_NOT_DEBUGGING 

Operation failed: The debugger is not running, this operation is only possible in debug mode.

UV_STATUS_ALREADY_PRESENT 

Operation failed: The group / file is already present in the current project.

UV_STATUS_INVALID_NAME 

Operation failed: One of the specified group / file / project name(s) is invalid.

UV_STATUS_NOT_FOUND 

Operation failed: File / group not found in the current project.

UV_STATUS_DEBUGGING 

Operation failed: The debugger is running, this operation is only possible when not in debug mode.

UV_STATUS_TARGET_EXECUTING 

Operation failed: The target is executing, this operation is not possible when target is executing.

UV_STATUS_TARGET_STOPPED 

Operation failed: The target is stopped, this operation is not possible when target is stopped.

UV_STATUS_PARSE_ERROR 

Operation failed: Error parsing data in request.

UV_STATUS_OUT_OF_RANGE 

Operation failed: Data in request is out of range.

UV_STATUS_BP_CANCELLED 

Operation failed: Create new breakpoint has been cancelled.

UV_STATUS_BP_BADADDRESS 

Operation failed: Invalid address in create breakpoint.

UV_STATUS_BP_NOTSUPPORTED 

Operation failed: Type of breakpoint is not supported (by target)

UV_STATUS_BP_FAILED 

Operation failed: Breakpoint creation failed (syntax error, nested command etc.)

UV_STATUS_BP_REDEFINED 

Breakpoint Info: A breakpoint has been redefined.

UV_STATUS_BP_DISABLED 

Breakpoint Info: A breakpoint has been disabled.

UV_STATUS_BP_ENABLED 

Breakpoint Info: A breakpoint has been enabled.

UV_STATUS_BP_CREATED 

Breakpoint Info: A breakpoint has been created.

UV_STATUS_BP_DELETED 

Breakpoint Info: A breakpoint has been deleted.

UV_STATUS_BP_NOTFOUND 

Operation failed: Breakpoint with nTickMark cookie not found.

UV_STATUS_BUILD_OK_WARNINGS 

Build Info: A build was successful, but with warnings.

UV_STATUS_BUILD_FAILED 

Build Info: A build failed with errors.

UV_STATUS_BUILD_CANCELLED 

Build Info: A build was cancelled.

UV_STATUS_NOT_SUPPORTED 

Operation failed: Requested operation is not supported.

UV_STATUS_TIMEOUT 

Operation failed: No response to the request occurred within the timeout period (UVSOCK Client DLL only)

UV_STATUS_UNEXPECTED_MSG 

Operation failed: An unexpected message type was returned (UVSOCK Client DLL only)

UV_STATUS_VERIFY_FAILED 

Operation failed: The code downloaded in the target differs from the current binary.

UV_STATUS_NO_ADRMAP 

Operation failed: The specified code address does not map to a file / line.

UV_STATUS_INFO 

General Info: This is an information only message. It may contain warning information pertinent to a later error condition.

UV_STATUS_NO_MEM_ACCESS 

Operation failed: Memory access is blocked (most likely target does not support memory access while running)

UV_STATUS_FLASH_DOWNLOAD 

Operation failed: The target is downloading FLASH, this operation is not possible when FLASH is downloading.

UV_STATUS_BUILDING 

Operation failed: A build is in progress, this operation is not possible when build is in progress.

UV_STATUS_HARDWARE 

Operation failed: The debugger is debugging hardware, this operation is not possible when debugging a hardware target.

UV_STATUS_SIMULATOR 

Operation failed: The debugger is debugging a simulation, this operation not possible when debugging a simulated target.

UV_STATUS_BUFFER_TOO_SMALL 

Operation failed: Return buffer was too small (UVSOCK Client DLL only)

UV_STATUS_EVTR_FAILED 

Operation failed: Event Recorder error.

UV_STATUS_END 

Always at end.