Document API IEC60730 Library
Public Member Functions | Static Public Attributes | List of all members
enums.JLinkWriteErrors Class Reference

Public Member Functions

def to_string (cls, error_code)
 

Static Public Attributes

int ZONE_NOT_FOUND_ERROR = -5
 
- Static Public Attributes inherited from enums.JLinkGlobalErrors
int UNSPECIFIED_ERROR = -1
 
int EMU_NO_CONNECTION = -256
 
int EMU_COMM_ERROR = -257
 
int DLL_NOT_OPEN = -258
 
int VCC_FAILURE = -259
 
int INVALID_HANDLE = -260
 
int NO_CPU_FOUND = -261
 
int EMU_FEATURE_UNSUPPORTED = -262
 
int EMU_NO_MEMORY = -263
 
int TIF_STATUS_ERROR = -264
 
int FLASH_PROG_COMPARE_FAILED = -265
 
int FLASH_PROG_PROGRAM_FAILED = -266
 
int FLASH_PROG_VERIFY_FAILED = -267
 
int OPEN_FILE_FAILED = -268
 
int UNKNOWN_FILE_FORMAT = -269
 
int WRITE_TARGET_MEMORY_FAILED = -270
 
int DEVICE_FEATURE_NOT_SUPPORTED = -271
 
int WRONG_USER_CONFIG = -272
 
int NO_TARGET_DEVICE_SELECTED = -273
 
int CPU_IN_LOW_POWER_MODE = -274
 

Detailed Description

Enumeration for the error codes generated during a write.

Member Function Documentation

◆ to_string()

def enums.JLinkWriteErrors.to_string (   cls,
  error_code 
)
Returns the string message for the given ``error_code``.
Args:
  cls (JLinkWriteErrors): the ``JLinkWriteErrors`` class
  error_code (int): error code to convert
Returns:
  An error string corresponding to the error code.
Raises:
  ValueError: if the error code is invalid.

Reimplemented from enums.JLinkGlobalErrors.


The documentation for this class was generated from the following file: