1 |
106 |
markom |
static char _[] = "@(#)error.c 5.20 93/07/30 16:38:29, Srini, AMD.";
|
2 |
|
|
/******************************************************************************
|
3 |
|
|
* Copyright 1991 Advanced Micro Devices, Inc.
|
4 |
|
|
*
|
5 |
|
|
* This software is the property of Advanced Micro Devices, Inc (AMD) which
|
6 |
|
|
* specifically grants the user the right to modify, use and distribute this
|
7 |
|
|
* software provided this notice is not removed or altered. All other rights
|
8 |
|
|
* are reserved by AMD.
|
9 |
|
|
*
|
10 |
|
|
* AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
|
11 |
|
|
* SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
|
12 |
|
|
* DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
|
13 |
|
|
* USE OF THIS SOFTWARE.
|
14 |
|
|
*
|
15 |
|
|
* So that all may benefit from your experience, please report any problems
|
16 |
|
|
* or suggestions about this software to the 29K Technical Support Center at
|
17 |
|
|
* 800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
|
18 |
|
|
* 0031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
|
19 |
|
|
*
|
20 |
|
|
* Advanced Micro Devices, Inc.
|
21 |
|
|
* 29K Support Products
|
22 |
|
|
* Mail Stop 573
|
23 |
|
|
* 5900 E. Ben White Blvd.
|
24 |
|
|
* Austin, TX 78741
|
25 |
|
|
* 800-292-9263
|
26 |
|
|
*****************************************************************************
|
27 |
|
|
* Engineer: Srini Subramanian.
|
28 |
|
|
*****************************************************************************
|
29 |
|
|
** This file defines the error and warning messages in the
|
30 |
|
|
** monitor. The error codes which correspond to the messages
|
31 |
|
|
** are defined in the error.h header file.
|
32 |
|
|
*****************************************************************************
|
33 |
|
|
*/
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
char *error_msg[] = {
|
37 |
|
|
|
38 |
|
|
/* 0 */ "Dummy error message (0).",
|
39 |
|
|
|
40 |
|
|
/* 1 (EMUSAGE) */
|
41 |
|
|
" Valid command-line options are:\n\
|
42 |
|
|
[-D] - to invoke in interactive debug mode\n\
|
43 |
|
|
-TIP <tip_id_from_udi_config_file> - MUST specify the TIP to use\n\
|
44 |
|
|
[-e <echo_ filename_for_script>] - to capture session in a file\n\
|
45 |
|
|
[-w] - specifies how long to wait, -1 means WaitForever, default 10000\n\
|
46 |
|
|
[-q] - to suppress download messages\n\
|
47 |
|
|
[-le] - to specify little endian target (default is BIG)\n\
|
48 |
|
|
[-c <input_cmd_filename>] - to specify command file for input\n\
|
49 |
|
|
[-ms <mem_stack_size_in_hex> ] - memory stack size to be used for appln\n\
|
50 |
|
|
[-rs <reg_stack_size_in_hex> ] - register stack size to be used for appln\n\
|
51 |
|
|
[-log <log_filename>] - file to log debug session\n\
|
52 |
|
|
[[<pgm>] [<pgm_args>]] - program and its optional arg list\n",
|
53 |
|
|
/* 2 */ "EMFAIL: Unrecoverable error.",
|
54 |
|
|
/* 3 */ "EMBADADDR: Illegal address.",
|
55 |
|
|
/* 4 */ "EMBADREG: Illegal register.",
|
56 |
|
|
/* 5 */ "EMSYNTAX: Illegal command syntax.",
|
57 |
|
|
/* 6 */ "EMACCESS: Could not access memory.",
|
58 |
|
|
/* 7 */ "EMALLOC: Could not allocate memory.",
|
59 |
|
|
/* 8 */ "EMTARGET: Unknown target type.",
|
60 |
|
|
/* 9 */ "EMHINIT: Could not initialize host.",
|
61 |
|
|
/* 10 */ "EMCOMM: Could not open communication channel.",
|
62 |
|
|
|
63 |
|
|
/* 11 */ "EMBADMSG: Unknown message type.",
|
64 |
|
|
/* 12 */ "EMMSG2BIG: Message too large for buffer.",
|
65 |
|
|
|
66 |
|
|
/* 13 */ "EMRESET: Could not RESET target.",
|
67 |
|
|
/* 14 */ "EMCONFIG: Could not get target CONFIG.",
|
68 |
|
|
/* 15 */ "EMSTATUS: Could not get target STATUS.",
|
69 |
|
|
/* 16 */ "EMREAD: Could not READ target memory.",
|
70 |
|
|
/* 17 */ "EMWRITE: Could not WRITE target memory.",
|
71 |
|
|
/* 18 */ "EMBKPTSET: Could not set breakpoint.",
|
72 |
|
|
/* 19 */ "EMBKPTRM: Could not remove breakpoint.",
|
73 |
|
|
/* 20 */ "EMBKPTSTAT: Could not get breakpoint status.",
|
74 |
|
|
/* 21 */ "EMBKPTNONE: All breakpoints in use.",
|
75 |
|
|
/* 22 */ "EMBKPTUSED: Breakpoint already in use",
|
76 |
|
|
/* 23 */ "EMCOPY: Could not COPY target memory.",
|
77 |
|
|
/* 24 */ "EMFILL: Could not FILL target memory.",
|
78 |
|
|
/* 25 */ "EMINIT: Could not initialize target memory.",
|
79 |
|
|
/* 26 */ "EMGO: Could not start execution.",
|
80 |
|
|
/* 27 */ "EMSTEP: Could not single step.",
|
81 |
|
|
/* 28 */ "EMBREAK: Could not BREAK execution.",
|
82 |
|
|
/* 29 */ "EMHIF: Could not perform HIF service.",
|
83 |
|
|
/* 30 */ "EMCHANNEL0: Could not read CHANNEL0.",
|
84 |
|
|
/* 31 */ "EMCHANNEL1: Could not write CHANNEL1.",
|
85 |
|
|
/* 32 */ "EMOPEN: Could not open COFF file.",
|
86 |
|
|
/* 33 */ "EMHDR: Could not read COFF header.",
|
87 |
|
|
/* 34 */ "EMMAGIC: Bad COFF file magic number.",
|
88 |
|
|
/* 35 */ "EMAOUT: Could not read COFF a.out header.",
|
89 |
|
|
/* 36 */ "EMSCNHDR: Could not read COFF section header.",
|
90 |
|
|
/* 37 */ "EMSCN: Could not read COFF section.",
|
91 |
|
|
/* 38 */ "EMCLOSE: Could not close COFF file.",
|
92 |
|
|
/* 39 */ "EMLOGOPEN: Could not open log file.",
|
93 |
|
|
/* 40 */ "EMLOGREAD: Could not read log file.",
|
94 |
|
|
/* 41 */ "EMLOGWRITE: Could not write log file.",
|
95 |
|
|
/* 42 */ "EMLOGCLOSE: Could not close log file.",
|
96 |
|
|
/* 43 */ "EMCMDOPEN: Could not open command file.",
|
97 |
|
|
/* 44 */ "EMCMDREAD: Could not read comand file.",
|
98 |
|
|
/* 45 */ "EMCMDWRITE: Could not write command file.",
|
99 |
|
|
/* 46 */ "EMCMDCLOSE: Could not close command file.",
|
100 |
|
|
/* 47 */ "EMTIMEOUT: Host timed out waiting for a message.",
|
101 |
|
|
/* 48 */ "EMCOMMTYPE: A '-t' flag must be specified.",
|
102 |
|
|
/* 49 */ "EMCOMMERR: Communication error.",
|
103 |
|
|
/* 50 */ "EMBAUD: Invalid baud rate specified.",
|
104 |
|
|
/* 51 */ "EMTIPINIT: TIP initialization failed. Exiting TIP.",
|
105 |
|
|
/* 52 */ "EMIOSETF: Host I/O setup failure.",
|
106 |
|
|
/* 53 */ "EMIORESETF: Host I/O reset failure.",
|
107 |
|
|
/* 54 */ "EMLOADF: Loading COFF file failure.",
|
108 |
|
|
/* 55 */ "EMNOFILE: No program to run.",
|
109 |
|
|
/* 56 */ "EMECHOPEN: Could not open echo file.",
|
110 |
|
|
/* 57 */ "EMCTRLC: Ctrl-C interrupt. Exiting.",
|
111 |
|
|
/* 58 */ "EMNOSUCHCMD: Unrecognized command.",
|
112 |
|
|
/* 59 */ "EMNOPROCESS: Failed creating process zero.",
|
113 |
|
|
/* 60 */ "EMNOTCOMP: DFE and TIP versions not compatible.",
|
114 |
|
|
/* 61 */ "EMFATAL: No session in progress.",
|
115 |
|
|
/* 62 */ "EMNOINITP: (-n) No process initialized for downloaded program.",
|
116 |
|
|
/* 63 */ "EMDOSERR: DOS error. Cannot escape to DOS.",
|
117 |
|
|
/* 64 */ "EMSYSERR: System error. Cannot escape to host OS.",
|
118 |
|
|
/* 65 */ "EMINCECHOFILE: Invalid echo file. Cannot enable echo.",
|
119 |
|
|
/* 66 */ "EMCMDFILENEST: Nesting of command files not allowed."
|
120 |
|
|
};
|
121 |
|
|
|
122 |
|
|
|