Something went wrong. Try again.
Completely reimplimented in zig (eventually)
Something went wrong. Try again.
Java
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173package com.microchip.mplab.ipecmd.commandline;
public class CommandCodes { public static long TRANSFER_HEX_FILE = 1L; public static long PROGRAM_DEVICE = 2L; public static long DISPLAY_PM3_HELP = 4L; public static long ERASE_FLASH = 8L; public static long VERIFY_DEVICE = 16L; public static long BLANK_CHECK_DEVICE = 32L; public static long READ_INTO_HEX = 64L; public static long DISPLAY_EXIT_CODES = 128L; public static long SQTP_SELECTED = 256L; public static long BATCH_PROCESSING = 512L; public static long POWERUP_TARGET = 1024L; public static long PORGRAM_CALIB = 2048L; public static long RESET_MODE = 4096L; public static long REPORGRAM_MEMORY = 8192L; public static long HIGH_VOLTAGE_MCLR = 16384L; public static long PROGRAM_MEMORY_RANGE = 32768L; public static long LOW_VOLTAGE_PROGRAM = 65536L; public static long VDD_MIN = 131072L; public static long VDD_MAX = 262144L; public static long VPP = 524288L; public static long VDD_NOMINAL = 1048576L; public static long NOCLEAR_DEBUG_BIT = 2097152L; public static long VDD_APP = 4194304L; public static long DISPLAY_SPECIFIC_HELP = 8388608L; public static long DOWNLOAD_FIRMWARE = 16777216L; public static long DISPLAY_CHECKSUM = 33554432L; public static long DISPLAY_PM3_CHECKSUM = 67108864L; public static long PRESERVE_EPROM_PROG = 134217728L; public static long DEVICE_ID_READ = 268435456L; public static long ENVIRONMENT_SET = 536870912L; public static long READ_TARGET = 1073741824L; public static long EXPORT_INTO_HEX = 2147483648L; public static long HOLD_IN_RESET = 4294967296L; public static long RELEASE_FROM_RESET = 8589934592L; public static long PRESERVE_PROG_MEMORY = 17179869184L; public static long SAFE_MODE = 34359738368L; public static long VDD_FIRST = 68719476736L; public static long VPP_FIRST = 137438953472L; public static long ERASE_BEFORE_PROGRAM = 274877906944L; public static long MEMORY_REGIONS = 549755813888L; public static long PTG_SUPPORT = 1099511627776L; public static long DEVICE_IDREVISION_READ = 2199023255552L; public static long DISPLAY_TOOLS_HELP = 4398046511104L; public static long DISPLAY_IPECMD_HELP = 8796093022208L; public static long CALIBRATION_MEMORY = 17592186044416L; public static long VERIFY_DEVICEID_B4_PROGRAM = 35184372088832L; public static long SWITCH_TO_DUAL_PARTITION = 70368744177664L; public static long JTAG_SUPPORT = 140737488355328L; public static long ICD4_PK4_SETTIING = 281474976710656L; public static long JUST_CONNECT = 562949953421312L; public static long COMMUNICATION_SUPPORT = 1125899906842624L; public static long DISPLAY_DEVICE_SIZE = 2251799813685248L; public static long CHECK_PARTITION = 4503599627370496L; public static long READ_PARTITION_CONFIG = 9007199254740992L; public static long SPECIAL_SETTING = 18014398509481984L; public static long PRESERVE_USER_ID_PROG = 36028797018963968L; public static long CRC32_CHECKSUM = 72057594037927936L; public static long SENDIMAGEPTG = 144115188075855872L; public static long PROGRAMDEVICEPTG = 288230376151711744L; public static long DFP_VERSION_SWITCH = 576460752303423488L; public static long TOOL_PACK_VERSION_SWITCH = 1152921504606846976L; public static long RESET_BEFORE_AFTER_PROGRAM = 2305843009213693952L; public static long DEVICE_ACTIONS = 4611686018427387904L; public static int SPL_MEM_USER_OTP = 1; public static int SPL_CP_OFF_CSM = 2; public static int SPL_LOGFILE = 4; public static int SPL_OTP_FUSE_CONFIG = 8; public static int AT_INTERFACE = 1; public static int AT_SPEED = 2; public static int JTAG_INTERFACE = 4; public static int AT_NOHV = 8; public static int AT_SimpleHV = 16; public static int AT_UserPowerToggle = 32; public static int CHIPERASE_KEY = 1; public static int CHIPERASE_TYPE = 2; public static int CUSTOM_DFPPACK_PATH = 1; public static int LEGACY_CHECKSUM = 2; public static int OTP_CECDEVICE = 4; public static int LIST_PTGIMAGES = 8; public static int SETACTIVE_PTGIMG = 16; public static int DELETE_PTGIMAGE = 32; public static int RESET_PTGIMG = 64; public static int GETACTIVE_PTGIMG = 128; public static int PRESS_PTG_GO = 256; public static int BUFFER_CHECKSUM = 512; public static int ICD4_PK4_LED = 1; public static int ICD4_PK4_SPEED = 2; public static int ICD4_PK4_PGC = 4; public static int ICD4_PK4_PGD = 8; public static int ICD4_PK4_PGCV = 16; public static int ICD4_PK4_PGDV = 32; public static int PK5_DISBLE_BT = 64; public static int M_ENV_LOAD = 1; public static int M_ENV_SAVE = 2; public static int M_ENV_DELETE = 4; public static int M_ENV_COPY = 8; public static int M_ENV_VIEW = 16; public static int ALL_SUCCESS = 0; public static int INVALID_ARG = 1; public static int RI_ICD3_COMFAILED = 2; public static int OP_FALED = 3; public static int RUNTIME_FAIL = 4; public static int INVALID_DEVICE = 5; public static int SQTP_FAILED = 6; public static int BASELINE_FAMILY = 128; public static int MIDRANGE_FAMILY = 160; public static int SEVENTEEN_FAMILY = 208; public static int EIGHTEEN_FAMILY = 176; public static int DSPIC_FAMILY = 0; public static int HCS_FAMILY = 2; public static int SEE_FAMILY = 7; public static int THIRTYTWOMX_FAMILY = 32; public static int M_PROGRAM_REGION = 1; public static int M_EEDATA_REGION = 2; public static int M_ID_REGION = 4; public static int M_CFG_REGION = 8; public static int M_BOOTFLASH_REGION = 16; public static int M_AllMEM_REGION_SELECTED = 32; public static int M_AUXILIARY_REGION = 64; public static int M_FLASH_DATA = 128; public static int M_DIA = 256; public static int OPSUCCESS = 0; public static int SERIAL_RECEIVE_ERROR = 1; public static int SERIAL_SEND_ERROR = 2; public static int DEVICE_ERROR = 3; public static int SOCKET_ERROR2 = 4; public static int VOLTAGE_ERROR = 5; public static int COMMAND_ERROR = 6; public static int OPFAILURE = 7; public static int TRANSFER_CHECKSUM_ERROR = 8; public static int INVALID_PROGRAMMER = 9; public static int NO_PROGRAMMER = 10; public static int WRONG_OS = 11; public static int DEVICE_MATCH_ERROR = 12; public static int RECEIVE_CHECKSUM_ERROR = 13; public static int COM_OPEN_ERROR = 14; public static int FILE_OPEN_ERROR = 15; public static int ERASE_FAILURE = 16; public static int SQTPFILE_OPEN_ERROR = 17; public static int TRANSFER_SQTP_ERROR = 18; public static int DEVICE_CODE_PROTECTED = 19; public static int DEVICE_DATA_PROTECTED = 20; public static int VDDNOMICSP_ERROR = 21; public static int SAFEMODEOFF_ERROR = 22; public static int SENDVOLTAGES_ERROR = 23; public static int DATABASE_CORRUPT_ERROR = 24; public static int OS_ERROR = 25; public static int BIOS_ERROR = 26; public static int MISSINGDOWNLOADFILES_ERROR = 27; public static int UPGRADE_ERROR = 28; public static int PARITY_ERROR = 30; public static int NOIMAGE_ERROR = 32; public static int EXTERNAL_POWER_ERROR = 33; public static int PGMVFY_ERROR = 34; public static int INVALID_CMDLINE_ARG = 36; public static int INVALID_HEXFILE = 37; public static int LOAD_ENVIRONMENT_ERROR = 40; public static int OP_MISC = 50; public static int CMD_OPERATION = 51; public static int LIST_ADAPTER_ERROR = 52; public static int LIST_ENVIRONMENT_ERROR = 53; public static int GET_ACTIVE_ENVIRONMENT_ERROR = 54; public static int GET_FIRMWARE_INFORMATION_ERROR = 55; public static int SET_ACTIVE_ENVIRONMENT_ERROR = 56; public static int DELETE_ENVIRONEMNT_ERROR = 57; public static int TRANSFER_ENVIRONMENT_ERROR = 58; public static int LIST_PM5_ERROR = 59; public static int GET_PRG_STATS_ERROR = 60;}