1 /* 2 EIBD client library 3 Copyright (C) 2005-2006 Martin K�gler <mkoegler@auto.tuwien.ac.at> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 In addition to the permissions in the GNU General Public License, 11 you may link the compiled version of this file into combinations 12 with other programs, and distribute those combinations without any 13 restriction coming from the use of this file. (The General Public 14 License restrictions do apply in other respects; for example, they 15 cover modification of the file, and distribution when not linked into 16 a combine executable.) 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License for more details. 22 23 You should have received a copy of the GNU General Public License 24 along with this program; if not, write to the Free Software 25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 */ 27 28 #ifndef EIB_LOAD_RESULT_H 29 #define EIB_LOAD_RESULT_H 30 31 typedef enum 32 { 33 IMG_UNKNOWN_ERROR = 0, 34 IMG_UNRECOG_FORMAT, 35 IMG_INVALID_FORMAT, 36 IMG_NO_BCUTYPE, 37 IMG_UNKNOWN_BCUTYPE, 38 IMG_NO_CODE, 39 IMG_NO_SIZE, 40 IMG_LODATA_OVERFLOW, 41 IMG_HIDATA_OVERFLOW, 42 IMG_TEXT_OVERFLOW, 43 IMG_NO_ADDRESS, 44 IMG_WRONG_SIZE, 45 IMG_IMAGE_LOADABLE, 46 IMG_NO_DEVICE_CONNECTION, 47 IMG_MASK_READ_FAILED, 48 IMG_WRONG_MASK_VERSION, 49 IMG_CLEAR_ERROR, 50 IMG_RESET_ADDR_TAB, 51 IMG_LOAD_HEADER, 52 IMG_LOAD_MAIN, 53 IMG_ZERO_RAM, 54 IMG_FINALIZE_ADDR_TAB, 55 IMG_PREPARE_RUN, 56 IMG_RESTART, 57 IMG_LOADED, 58 IMG_NO_START, 59 IMG_WRONG_ADDRTAB, 60 IMG_ADDRTAB_OVERFLOW, 61 IMG_OVERLAP_ASSOCTAB, 62 IMG_OVERLAP_TEXT, 63 IMG_NEGATIV_TEXT_SIZE, 64 IMG_OVERLAP_PARAM, 65 IMG_OVERLAP_EEPROM, 66 IMG_OBJTAB_OVERFLOW, 67 IMG_WRONG_LOADCTL, 68 IMG_UNLOAD_ADDR, 69 IMG_UNLOAD_ASSOC, 70 IMG_UNLOAD_PROG, 71 IMG_LOAD_ADDR, 72 IMG_WRITE_ADDR, 73 IMG_SET_ADDR, 74 IMG_FINISH_ADDR, 75 IMG_LOAD_ASSOC, 76 IMG_WRITE_ASSOC, 77 IMG_SET_ASSOC, 78 IMG_FINISH_ASSOC, 79 IMG_LOAD_PROG, 80 IMG_ALLOC_LORAM, 81 IMG_ALLOC_HIRAM, 82 IMG_ALLOC_INIT, 83 IMG_ALLOC_RO, 84 IMG_ALLOC_EEPROM, 85 IMG_ALLOC_PARAM, 86 IMG_SET_PROG, 87 IMG_SET_TASK_PTR, 88 IMG_SET_OBJ, 89 IMG_SET_TASK2, 90 IMG_FINISH_PROC, 91 IMG_WRONG_CHECKLIM, 92 IMG_INVALID_KEY, 93 IMG_AUTHORIZATION_FAILED, 94 IMG_KEY_WRITE, 95 } BCU_LOAD_RESULT; 96 97 #endif 98