C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 1 C51 COMPILER V7.06, COMPILATION OF MODULE REGCHECK OBJECT MODULE PLACED IN REGCHECK.OBJ COMPILER INVOKED BY: d:\Keil777\C51\BIN\C51.EXE REGCHECK.C BROWSE DEBUG OBJECTEXTEND stmt level source 1 #include 2 #include *** WARNING C318 IN LINE 2 OF REGCHECK.C: can't open file 'conio.h' 3 #include *** WARNING C318 IN LINE 3 OF REGCHECK.C: can't open file 'dos.h' 4 #include 5 #include *** WARNING C318 IN LINE 5 OF REGCHECK.C: can't open file 'bios.h' 6 #include *** WARNING C318 IN LINE 6 OF REGCHECK.C: can't open file 'mem.h' 7 #include *** WARNING C318 IN LINE 7 OF REGCHECK.C: can't open file 'graphics.h' 8 #include 9 10 #include "isp1362.h" 11 #include "isa290.h" 12 #include "reg.h" 13 14 struct cmd_struct 15 { 16 char name[30]; 17 unsigned int code; *** ERROR C141 IN LINE 17 OF REGCHECK.C: syntax error near ';' 18 unsigned long init; 19 char length; 20 char active; 21 unsigned long wtest; 22 unsigned long wresult; 23 } *** ERROR C141 IN LINE 23 OF REGCHECK.C: syntax error near '}' 24 cmd61[0xFF]; 25 26 void load_def(void) 27 { 28 1 unsigned int ld_cnt; 29 1 30 1 ld_cnt=0; 31 1 32 1 do 33 1 { 34 2 cmd61[ld_cnt].active=0; *** ERROR C200 IN LINE 34 OF REGCHECK.C: left side of '.' requires struct/union 35 2 ld_cnt++; 36 2 } 37 1 while(ld_cnt<0xFF); 38 1 39 1 strcpy(cmd61[0x00].name,"HcRevision "); *** ERROR C200 IN LINE 39 OF REGCHECK.C: left side of '.' requires struct/union 40 1 cmd61[0x00].code =0x00; *** ERROR C141 IN LINE 40 OF REGCHECK.C: syntax error near 'code', expected '' 41 1 cmd61[0x00].init =0x00000011; *** ERROR C200 IN LINE 41 OF REGCHECK.C: left side of '.' requires struct/union 42 1 cmd61[0x00].length =32; *** ERROR C200 IN LINE 42 OF REGCHECK.C: left side of '.' requires struct/union 43 1 cmd61[0x00].active =1; C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 2 *** ERROR C200 IN LINE 43 OF REGCHECK.C: left side of '.' requires struct/union 44 1 cmd61[0x00].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 44 OF REGCHECK.C: left side of '.' requires struct/union 45 1 cmd61[0x00].wresult =0x00000011; *** ERROR C200 IN LINE 45 OF REGCHECK.C: left side of '.' requires struct/union 46 1 47 1 strcpy(cmd61[0x01].name,"HcControl "); *** ERROR C200 IN LINE 47 OF REGCHECK.C: left side of '.' requires struct/union 48 1 cmd61[0x01].code =0x01; *** ERROR C141 IN LINE 48 OF REGCHECK.C: syntax error near 'code', expected '' 49 1 cmd61[0x01].init =0x00000000; *** ERROR C200 IN LINE 49 OF REGCHECK.C: left side of '.' requires struct/union 50 1 cmd61[0x01].length =32; *** ERROR C200 IN LINE 50 OF REGCHECK.C: left side of '.' requires struct/union 51 1 cmd61[0x01].active =1; *** ERROR C200 IN LINE 51 OF REGCHECK.C: left side of '.' requires struct/union 52 1 cmd61[0x01].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 52 OF REGCHECK.C: left side of '.' requires struct/union 53 1 cmd61[0x01].wresult =0x00000600; *** ERROR C200 IN LINE 53 OF REGCHECK.C: left side of '.' requires struct/union 54 1 55 1 strcpy(cmd61[0x02].name,"HcCommandStatus "); *** ERROR C200 IN LINE 55 OF REGCHECK.C: left side of '.' requires struct/union 56 1 cmd61[0x02].code =0x02; *** ERROR C141 IN LINE 56 OF REGCHECK.C: syntax error near 'code', expected '' 57 1 cmd61[0x02].init =0x00000000; *** ERROR C200 IN LINE 57 OF REGCHECK.C: left side of '.' requires struct/union 58 1 cmd61[0x02].length =32; *** ERROR C200 IN LINE 58 OF REGCHECK.C: left side of '.' requires struct/union 59 1 cmd61[0x02].active =1; *** ERROR C200 IN LINE 59 OF REGCHECK.C: left side of '.' requires struct/union 60 1 cmd61[0x02].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 60 OF REGCHECK.C: left side of '.' requires struct/union 61 1 cmd61[0x02].wresult =0x00000000; *** ERROR C200 IN LINE 61 OF REGCHECK.C: left side of '.' requires struct/union 62 1 63 1 strcpy(cmd61[0x03].name,"HcInterruptStatus "); *** ERROR C200 IN LINE 63 OF REGCHECK.C: left side of '.' requires struct/union 64 1 cmd61[0x03].code =0x03; *** ERROR C141 IN LINE 64 OF REGCHECK.C: syntax error near 'code', expected '' 65 1 cmd61[0x03].init =0x00000000; *** ERROR C200 IN LINE 65 OF REGCHECK.C: left side of '.' requires struct/union 66 1 cmd61[0x03].length =32; *** ERROR C200 IN LINE 66 OF REGCHECK.C: left side of '.' requires struct/union 67 1 cmd61[0x03].active =1; *** ERROR C200 IN LINE 67 OF REGCHECK.C: left side of '.' requires struct/union 68 1 cmd61[0x03].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 68 OF REGCHECK.C: left side of '.' requires struct/union 69 1 cmd61[0x03].wresult =0x00000000; *** ERROR C200 IN LINE 69 OF REGCHECK.C: left side of '.' requires struct/union 70 1 71 1 strcpy(cmd61[0x04].name,"HcInterruptEnable "); *** ERROR C200 IN LINE 71 OF REGCHECK.C: left side of '.' requires struct/union 72 1 cmd61[0x04].code =0x04; *** ERROR C141 IN LINE 72 OF REGCHECK.C: syntax error near 'code', expected '' 73 1 cmd61[0x04].init =0x00000000; *** ERROR C200 IN LINE 73 OF REGCHECK.C: left side of '.' requires struct/union 74 1 cmd61[0x04].length =32; *** ERROR C200 IN LINE 74 OF REGCHECK.C: left side of '.' requires struct/union 75 1 cmd61[0x04].active =1; *** ERROR C200 IN LINE 75 OF REGCHECK.C: left side of '.' requires struct/union 76 1 cmd61[0x04].wtest =0xFFFFFFFF; C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 3 *** ERROR C200 IN LINE 76 OF REGCHECK.C: left side of '.' requires struct/union 77 1 cmd61[0x04].wresult =0x800000FD; *** ERROR C200 IN LINE 77 OF REGCHECK.C: left side of '.' requires struct/union 78 1 79 1 strcpy(cmd61[0x05].name,"HcInterruptDisable "); *** ERROR C200 IN LINE 79 OF REGCHECK.C: left side of '.' requires struct/union 80 1 cmd61[0x05].code =0x05; *** ERROR C141 IN LINE 80 OF REGCHECK.C: syntax error near 'code', expected '' 81 1 cmd61[0x05].init =0x00000000; *** ERROR C200 IN LINE 81 OF REGCHECK.C: left side of '.' requires struct/union 82 1 cmd61[0x05].length =32; *** ERROR C200 IN LINE 82 OF REGCHECK.C: left side of '.' requires struct/union 83 1 cmd61[0x05].active =1; *** ERROR C200 IN LINE 83 OF REGCHECK.C: left side of '.' requires struct/union 84 1 cmd61[0x05].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 84 OF REGCHECK.C: left side of '.' requires struct/union 85 1 cmd61[0x05].wresult =0x00000000; *** ERROR C200 IN LINE 85 OF REGCHECK.C: left side of '.' requires struct/union 86 1 87 1 strcpy(cmd61[0x0D].name,"HcFmInterval "); *** ERROR C200 IN LINE 87 OF REGCHECK.C: left side of '.' requires struct/union 88 1 cmd61[0x0D].code =0x0D; *** ERROR C141 IN LINE 88 OF REGCHECK.C: syntax error near 'code', expected '' 89 1 cmd61[0x0D].init =0x00002EDF; *** ERROR C200 IN LINE 89 OF REGCHECK.C: left side of '.' requires struct/union 90 1 cmd61[0x0D].length =32; *** ERROR C200 IN LINE 90 OF REGCHECK.C: left side of '.' requires struct/union 91 1 cmd61[0x0D].active =1; *** ERROR C200 IN LINE 91 OF REGCHECK.C: left side of '.' requires struct/union 92 1 cmd61[0x0D].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 92 OF REGCHECK.C: left side of '.' requires struct/union 93 1 cmd61[0x0D].wresult =0xFFFF3FFF; *** ERROR C200 IN LINE 93 OF REGCHECK.C: left side of '.' requires struct/union 94 1 95 1 strcpy(cmd61[0x0E].name,"HcFmRemaining "); *** ERROR C200 IN LINE 95 OF REGCHECK.C: left side of '.' requires struct/union 96 1 cmd61[0x0E].code =0x0E; *** ERROR C141 IN LINE 96 OF REGCHECK.C: syntax error near 'code', expected '' 97 1 cmd61[0x0E].init =0x00000000; *** ERROR C200 IN LINE 97 OF REGCHECK.C: left side of '.' requires struct/union 98 1 cmd61[0x0E].length =32; *** ERROR C200 IN LINE 98 OF REGCHECK.C: left side of '.' requires struct/union 99 1 cmd61[0x0E].active =1; *** ERROR C200 IN LINE 99 OF REGCHECK.C: left side of '.' requires struct/union 100 1 cmd61[0x0E].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 100 OF REGCHECK.C: left side of '.' requires struct/union 101 1 cmd61[0x0E].wresult =0x00000000; *** ERROR C200 IN LINE 101 OF REGCHECK.C: left side of '.' requires struct/union 102 1 103 1 strcpy(cmd61[0x0F].name,"HcFmNumber "); *** ERROR C200 IN LINE 103 OF REGCHECK.C: left side of '.' requires struct/union 104 1 cmd61[0x0F].code =0x0F; *** ERROR C141 IN LINE 104 OF REGCHECK.C: syntax error near 'code', expected '' 105 1 cmd61[0x0F].init =0x00000000; *** ERROR C200 IN LINE 105 OF REGCHECK.C: left side of '.' requires struct/union 106 1 cmd61[0x0F].length =32; *** ERROR C200 IN LINE 106 OF REGCHECK.C: left side of '.' requires struct/union 107 1 cmd61[0x0F].active =1; *** ERROR C200 IN LINE 107 OF REGCHECK.C: left side of '.' requires struct/union 108 1 cmd61[0x0F].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 108 OF REGCHECK.C: left side of '.' requires struct/union 109 1 cmd61[0x0F].wresult =0x00000000; C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 4 *** ERROR C200 IN LINE 109 OF REGCHECK.C: left side of '.' requires struct/union 110 1 111 1 strcpy(cmd61[0x11].name,"HcLSThreshold "); *** ERROR C200 IN LINE 111 OF REGCHECK.C: left side of '.' requires struct/union 112 1 cmd61[0x11].code =0x11; *** ERROR C141 IN LINE 112 OF REGCHECK.C: syntax error near 'code', expected '' 113 1 cmd61[0x11].init =0x00000628; *** ERROR C200 IN LINE 113 OF REGCHECK.C: left side of '.' requires struct/union 114 1 cmd61[0x11].length =32; *** ERROR C200 IN LINE 114 OF REGCHECK.C: left side of '.' requires struct/union 115 1 cmd61[0x11].active =1; *** ERROR C200 IN LINE 115 OF REGCHECK.C: left side of '.' requires struct/union 116 1 cmd61[0x11].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 116 OF REGCHECK.C: left side of '.' requires struct/union 117 1 cmd61[0x11].wresult =0x000007FF; *** ERROR C200 IN LINE 117 OF REGCHECK.C: left side of '.' requires struct/union 118 1 119 1 strcpy(cmd61[0x12].name,"HcRhDescriptorA "); *** ERROR C200 IN LINE 119 OF REGCHECK.C: left side of '.' requires struct/union 120 1 cmd61[0x12].code =0x12; *** ERROR C141 IN LINE 120 OF REGCHECK.C: syntax error near 'code', expected '' 121 1 cmd61[0x12].init =0xFF000902; *** ERROR C200 IN LINE 121 OF REGCHECK.C: left side of '.' requires struct/union 122 1 cmd61[0x12].length =32; *** ERROR C200 IN LINE 122 OF REGCHECK.C: left side of '.' requires struct/union 123 1 cmd61[0x12].active =1; *** ERROR C200 IN LINE 123 OF REGCHECK.C: left side of '.' requires struct/union 124 1 cmd61[0x12].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 124 OF REGCHECK.C: left side of '.' requires struct/union 125 1 cmd61[0x12].wresult =0xFF001B02; *** ERROR C200 IN LINE 125 OF REGCHECK.C: left side of '.' requires struct/union 126 1 127 1 strcpy(cmd61[0x13].name,"HcRhDescriptorB "); *** ERROR C200 IN LINE 127 OF REGCHECK.C: left side of '.' requires struct/union 128 1 cmd61[0x13].code =0x13; *** ERROR C141 IN LINE 128 OF REGCHECK.C: syntax error near 'code', expected '' 129 1 cmd61[0x13].init =0x00000000; *** ERROR C200 IN LINE 129 OF REGCHECK.C: left side of '.' requires struct/union 130 1 cmd61[0x13].length =32; *** ERROR C200 IN LINE 130 OF REGCHECK.C: left side of '.' requires struct/union 131 1 cmd61[0x13].active =1; *** ERROR C200 IN LINE 131 OF REGCHECK.C: left side of '.' requires struct/union 132 1 cmd61[0x13].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 132 OF REGCHECK.C: left side of '.' requires struct/union 133 1 cmd61[0x13].wresult =0x00060006; *** ERROR C200 IN LINE 133 OF REGCHECK.C: left side of '.' requires struct/union 134 1 135 1 strcpy(cmd61[0x14].name,"HcRhStatus "); *** ERROR C200 IN LINE 135 OF REGCHECK.C: left side of '.' requires struct/union 136 1 cmd61[0x14].code =0x14; *** ERROR C141 IN LINE 136 OF REGCHECK.C: syntax error near 'code', expected '' 137 1 cmd61[0x14].init =0x00000000; *** ERROR C200 IN LINE 137 OF REGCHECK.C: left side of '.' requires struct/union 138 1 cmd61[0x14].length =32; *** ERROR C200 IN LINE 138 OF REGCHECK.C: left side of '.' requires struct/union 139 1 cmd61[0x14].active =1; *** ERROR C200 IN LINE 139 OF REGCHECK.C: left side of '.' requires struct/union 140 1 cmd61[0x14].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 140 OF REGCHECK.C: left side of '.' requires struct/union 141 1 cmd61[0x14].wresult =0x00000000; *** ERROR C200 IN LINE 141 OF REGCHECK.C: left side of '.' requires struct/union 142 1 C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 5 143 1 strcpy(cmd61[0x15].name,"HcRhPortStatus[1] "); *** ERROR C200 IN LINE 143 OF REGCHECK.C: left side of '.' requires struct/union 144 1 cmd61[0x15].code =0x15; *** ERROR C141 IN LINE 144 OF REGCHECK.C: syntax error near 'code', expected '' 145 1 cmd61[0x15].init =0x00000000; *** ERROR C200 IN LINE 145 OF REGCHECK.C: left side of '.' requires struct/union 146 1 cmd61[0x15].length =32; *** ERROR C200 IN LINE 146 OF REGCHECK.C: left side of '.' requires struct/union 147 1 cmd61[0x15].active =0; *** ERROR C200 IN LINE 147 OF REGCHECK.C: left side of '.' requires struct/union 148 1 cmd61[0x15].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 148 OF REGCHECK.C: left side of '.' requires struct/union 149 1 cmd61[0x15].wresult =0x00010000; *** ERROR C200 IN LINE 149 OF REGCHECK.C: left side of '.' requires struct/union 150 1 151 1 strcpy(cmd61[0x16].name,"HcRhPortStatus[2] "); *** ERROR C200 IN LINE 151 OF REGCHECK.C: left side of '.' requires struct/union 152 1 cmd61[0x16].code =0x16; *** ERROR C141 IN LINE 152 OF REGCHECK.C: syntax error near 'code', expected '' 153 1 cmd61[0x16].init =0x00000000; *** ERROR C200 IN LINE 153 OF REGCHECK.C: left side of '.' requires struct/union 154 1 cmd61[0x16].length =32; *** ERROR C200 IN LINE 154 OF REGCHECK.C: left side of '.' requires struct/union 155 1 cmd61[0x16].active =0; *** ERROR C200 IN LINE 155 OF REGCHECK.C: left side of '.' requires struct/union 156 1 cmd61[0x16].wtest =0xFFFFFFFF; *** ERROR C200 IN LINE 156 OF REGCHECK.C: left side of '.' requires struct/union 157 1 cmd61[0x16].wresult =0x00010000; *** ERROR C200 IN LINE 157 OF REGCHECK.C: left side of '.' requires struct/union 158 1 159 1 strcpy(cmd61[0x17].name,"HcINTLPTDDoneMap "); *** ERROR C200 IN LINE 159 OF REGCHECK.C: left side of '.' requires struct/union 160 1 cmd61[0x17].code =0x17; *** ERROR C141 IN LINE 160 OF REGCHECK.C: syntax error near 'code', expected '' 161 1 cmd61[0x17].init =0x0000; *** ERROR C200 IN LINE 161 OF REGCHECK.C: left side of '.' requires struct/union 162 1 cmd61[0x17].length =32; *** ERROR C200 IN LINE 162 OF REGCHECK.C: left side of '.' requires struct/union 163 1 cmd61[0x17].active =1; *** ERROR C200 IN LINE 163 OF REGCHECK.C: left side of '.' requires struct/union 164 1 cmd61[0x17].wtest =0; *** ERROR C200 IN LINE 164 OF REGCHECK.C: left side of '.' requires struct/union 165 1 cmd61[0x17].wresult =0; *** ERROR C200 IN LINE 165 OF REGCHECK.C: left side of '.' requires struct/union 166 1 167 1 strcpy(cmd61[0x18].name,"HcINTLPTDSkipMap "); *** ERROR C200 IN LINE 167 OF REGCHECK.C: left side of '.' requires struct/union 168 1 cmd61[0x18].code =0x18; *** ERROR C141 IN LINE 168 OF REGCHECK.C: syntax error near 'code', expected '' 169 1 cmd61[0x18].init =0x0000; *** ERROR C200 IN LINE 169 OF REGCHECK.C: left side of '.' requires struct/union 170 1 cmd61[0x18].length =32; *** ERROR C200 IN LINE 170 OF REGCHECK.C: left side of '.' requires struct/union 171 1 cmd61[0x18].active =1; *** ERROR C200 IN LINE 171 OF REGCHECK.C: left side of '.' requires struct/union 172 1 cmd61[0x18].wtest =0; *** ERROR C200 IN LINE 172 OF REGCHECK.C: left side of '.' requires struct/union 173 1 cmd61[0x18].wresult =0; *** ERROR C200 IN LINE 173 OF REGCHECK.C: left side of '.' requires struct/union 174 1 175 1 strcpy(cmd61[0x19].name,"HcINTLPTDLast "); *** ERROR C200 IN LINE 175 OF REGCHECK.C: left side of '.' requires struct/union C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 6 176 1 cmd61[0x19].code =0x19; *** ERROR C141 IN LINE 176 OF REGCHECK.C: syntax error near 'code', expected '' 177 1 cmd61[0x19].init =0; *** ERROR C200 IN LINE 177 OF REGCHECK.C: left side of '.' requires struct/union 178 1 cmd61[0x19].length =32; *** ERROR C200 IN LINE 178 OF REGCHECK.C: left side of '.' requires struct/union 179 1 cmd61[0x19].active =1; *** ERROR C200 IN LINE 179 OF REGCHECK.C: left side of '.' requires struct/union 180 1 cmd61[0x19].wtest =0; *** ERROR C200 IN LINE 180 OF REGCHECK.C: left side of '.' requires struct/union 181 1 cmd61[0x19].wresult =0; *** ERROR C200 IN LINE 181 OF REGCHECK.C: left side of '.' requires struct/union 182 1 183 1 strcpy(cmd61[0x1A].name,"HcINTLCurrentActive"); *** ERROR C200 IN LINE 183 OF REGCHECK.C: left side of '.' requires struct/union 184 1 cmd61[0x1A].code =0x1A; *** ERROR C141 IN LINE 184 OF REGCHECK.C: syntax error near 'code', expected '' 185 1 cmd61[0x1A].init =0; *** ERROR C200 IN LINE 185 OF REGCHECK.C: left side of '.' requires struct/union 186 1 cmd61[0x1A].length =16; *** ERROR C200 IN LINE 186 OF REGCHECK.C: left side of '.' requires struct/union 187 1 cmd61[0x1A].active =1; *** ERROR C200 IN LINE 187 OF REGCHECK.C: left side of '.' requires struct/union 188 1 cmd61[0x1A].wtest =0; *** ERROR C200 IN LINE 188 OF REGCHECK.C: left side of '.' requires struct/union 189 1 cmd61[0x1A].wresult =0; *** ERROR C200 IN LINE 189 OF REGCHECK.C: left side of '.' requires struct/union 190 1 191 1 strcpy(cmd61[0x1B].name,"HcATLPTDDoneMap "); *** ERROR C200 IN LINE 191 OF REGCHECK.C: left side of '.' requires struct/union 192 1 cmd61[0x1B].code =0x1B; *** ERROR C141 IN LINE 192 OF REGCHECK.C: syntax error near 'code', expected '' 193 1 cmd61[0x1B].init =0; *** ERROR C200 IN LINE 193 OF REGCHECK.C: left side of '.' requires struct/union 194 1 cmd61[0x1B].length =32; *** ERROR C200 IN LINE 194 OF REGCHECK.C: left side of '.' requires struct/union 195 1 cmd61[0x1B].active =1; *** ERROR C200 IN LINE 195 OF REGCHECK.C: left side of '.' requires struct/union 196 1 cmd61[0x1B].wtest =0; *** ERROR C200 IN LINE 196 OF REGCHECK.C: left side of '.' requires struct/union 197 1 cmd61[0x1B].wresult =0; *** ERROR C200 IN LINE 197 OF REGCHECK.C: left side of '.' requires struct/union 198 1 199 1 strcpy(cmd61[0x1C].name,"HcATLPTDSkipMap "); *** ERROR C200 IN LINE 199 OF REGCHECK.C: left side of '.' requires struct/union 200 1 cmd61[0x1C].code =0x1C; *** ERROR C141 IN LINE 200 OF REGCHECK.C: syntax error near 'code', expected '' 201 1 cmd61[0x1C].init =0; *** ERROR C200 IN LINE 201 OF REGCHECK.C: left side of '.' requires struct/union 202 1 cmd61[0x1C].length =32; *** ERROR C200 IN LINE 202 OF REGCHECK.C: left side of '.' requires struct/union 203 1 cmd61[0x1C].active =1; *** ERROR C200 IN LINE 203 OF REGCHECK.C: left side of '.' requires struct/union 204 1 cmd61[0x1C].wtest =0; *** ERROR C200 IN LINE 204 OF REGCHECK.C: left side of '.' requires struct/union 205 1 cmd61[0x1C].wresult =0; *** ERROR C200 IN LINE 205 OF REGCHECK.C: left side of '.' requires struct/union 206 1 207 1 strcpy(cmd61[0x1D].name,"HcATLLastPTD "); *** ERROR C200 IN LINE 207 OF REGCHECK.C: left side of '.' requires struct/union 208 1 cmd61[0x1D].code =0x1D; *** ERROR C141 IN LINE 208 OF REGCHECK.C: syntax error near 'code', expected '' C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 7 209 1 cmd61[0x1D].init =0; *** ERROR C200 IN LINE 209 OF REGCHECK.C: left side of '.' requires struct/union 210 1 cmd61[0x1D].length =32; *** ERROR C200 IN LINE 210 OF REGCHECK.C: left side of '.' requires struct/union 211 1 cmd61[0x1D].active =0; *** ERROR C200 IN LINE 211 OF REGCHECK.C: left side of '.' requires struct/union 212 1 cmd61[0x1D].wtest =0; *** ERROR C200 IN LINE 212 OF REGCHECK.C: left side of '.' requires struct/union 213 1 cmd61[0x1D].wresult =0; *** ERROR C200 IN LINE 213 OF REGCHECK.C: left side of '.' requires struct/union 214 1 215 1 strcpy(cmd61[0x1E].name,"HcATLCurrentActive "); *** ERROR C200 IN LINE 215 OF REGCHECK.C: left side of '.' requires struct/union 216 1 cmd61[0x1E].code =0x1E; *** ERROR C141 IN LINE 216 OF REGCHECK.C: syntax error near 'code', expected '' 217 1 cmd61[0x1E].init =0; *** ERROR C200 IN LINE 217 OF REGCHECK.C: left side of '.' requires struct/union 218 1 cmd61[0x1E].length =16; *** ERROR C200 IN LINE 218 OF REGCHECK.C: left side of '.' requires struct/union 219 1 cmd61[0x1E].active =1; *** ERROR C200 IN LINE 219 OF REGCHECK.C: left side of '.' requires struct/union 220 1 cmd61[0x1E].wtest =0; *** ERROR C200 IN LINE 220 OF REGCHECK.C: left side of '.' requires struct/union 221 1 cmd61[0x1E].wresult =0; *** ERROR C200 IN LINE 221 OF REGCHECK.C: left side of '.' requires struct/union 222 1 223 1 strcpy(cmd61[0x20].name,"HcHardwareConfig "); *** ERROR C200 IN LINE 223 OF REGCHECK.C: left side of '.' requires struct/union 224 1 cmd61[0x20].code =0x20; *** ERROR C141 IN LINE 224 OF REGCHECK.C: syntax error near 'code', expected '' 225 1 cmd61[0x20].init =0x0028; *** ERROR C200 IN LINE 225 OF REGCHECK.C: left side of '.' requires struct/union 226 1 cmd61[0x20].length =16; *** ERROR C200 IN LINE 226 OF REGCHECK.C: left side of '.' requires struct/union 227 1 cmd61[0x20].active =1; *** ERROR C200 IN LINE 227 OF REGCHECK.C: left side of '.' requires struct/union 228 1 cmd61[0x20].wtest =0xFFFF; *** ERROR C200 IN LINE 228 OF REGCHECK.C: left side of '.' requires struct/union 229 1 cmd61[0x20].wresult =0xFFFF; *** ERROR C200 IN LINE 229 OF REGCHECK.C: left side of '.' requires struct/union 230 1 231 1 strcpy(cmd61[0x21].name,"HcDMAConfiguration "); *** ERROR C200 IN LINE 231 OF REGCHECK.C: left side of '.' requires struct/union 232 1 cmd61[0x21].code =0x21; *** ERROR C141 IN LINE 232 OF REGCHECK.C: syntax error near 'code', expected '' 233 1 cmd61[0x21].init =0x0000; *** ERROR C200 IN LINE 233 OF REGCHECK.C: left side of '.' requires struct/union 234 1 cmd61[0x21].length =16; *** ERROR C200 IN LINE 234 OF REGCHECK.C: left side of '.' requires struct/union 235 1 cmd61[0x21].active =1; *** ERROR C200 IN LINE 235 OF REGCHECK.C: left side of '.' requires struct/union 236 1 cmd61[0x21].wtest =0xFFFF; *** ERROR C200 IN LINE 236 OF REGCHECK.C: left side of '.' requires struct/union 237 1 cmd61[0x21].wresult =0xFFFF; *** ERROR C200 IN LINE 237 OF REGCHECK.C: left side of '.' requires struct/union 238 1 239 1 strcpy(cmd61[0x22].name,"HcTransferCounter "); *** ERROR C200 IN LINE 239 OF REGCHECK.C: left side of '.' requires struct/union 240 1 cmd61[0x22].code =0x22; *** ERROR C141 IN LINE 240 OF REGCHECK.C: syntax error near 'code', expected '' 241 1 cmd61[0x22].init =0x0001; *** ERROR C200 IN LINE 241 OF REGCHECK.C: left side of '.' requires struct/union C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 8 242 1 cmd61[0x22].length =16; *** ERROR C200 IN LINE 242 OF REGCHECK.C: left side of '.' requires struct/union 243 1 cmd61[0x22].active =1; *** ERROR C200 IN LINE 243 OF REGCHECK.C: left side of '.' requires struct/union 244 1 cmd61[0x22].wtest =0xFFFF; *** ERROR C200 IN LINE 244 OF REGCHECK.C: left side of '.' requires struct/union 245 1 cmd61[0x22].wresult =0xFFFF; *** ERROR C200 IN LINE 245 OF REGCHECK.C: left side of '.' requires struct/union 246 1 247 1 strcpy(cmd61[0x24].name,"HcUPInterrupt "); *** ERROR C200 IN LINE 247 OF REGCHECK.C: left side of '.' requires struct/union 248 1 cmd61[0x24].code =0x24; *** ERROR C141 IN LINE 248 OF REGCHECK.C: syntax error near 'code', expected '' 249 1 cmd61[0x24].init =0x0040; *** ERROR C200 IN LINE 249 OF REGCHECK.C: left side of '.' requires struct/union 250 1 cmd61[0x24].length =16; *** ERROR C200 IN LINE 250 OF REGCHECK.C: left side of '.' requires struct/union 251 1 cmd61[0x24].active =1; *** ERROR C200 IN LINE 251 OF REGCHECK.C: left side of '.' requires struct/union 252 1 cmd61[0x24].wtest =0xFFFF; *** ERROR C200 IN LINE 252 OF REGCHECK.C: left side of '.' requires struct/union 253 1 cmd61[0x24].wresult =0xFFFF; *** ERROR C200 IN LINE 253 OF REGCHECK.C: left side of '.' requires struct/union 254 1 255 1 strcpy(cmd61[0x25].name,"HcUPInterruptEnable"); *** ERROR C200 IN LINE 255 OF REGCHECK.C: left side of '.' requires struct/union 256 1 cmd61[0x25].code =0x25; *** ERROR C141 IN LINE 256 OF REGCHECK.C: syntax error near 'code', expected '' 257 1 cmd61[0x25].init =0x0000; *** ERROR C200 IN LINE 257 OF REGCHECK.C: left side of '.' requires struct/union 258 1 cmd61[0x25].length =16; *** ERROR C200 IN LINE 258 OF REGCHECK.C: left side of '.' requires struct/union 259 1 cmd61[0x25].active =1; *** ERROR C200 IN LINE 259 OF REGCHECK.C: left side of '.' requires struct/union 260 1 cmd61[0x25].wtest =0xFFFF; *** ERROR C200 IN LINE 260 OF REGCHECK.C: left side of '.' requires struct/union 261 1 cmd61[0x25].wresult =0xFFFF; *** ERROR C200 IN LINE 261 OF REGCHECK.C: left side of '.' requires struct/union 262 1 263 1 strcpy(cmd61[0x27].name,"HcChipID "); *** ERROR C200 IN LINE 263 OF REGCHECK.C: left side of '.' requires struct/union 264 1 cmd61[0x27].code =0x27; *** ERROR C141 IN LINE 264 OF REGCHECK.C: syntax error near 'code', expected '' 265 1 cmd61[0x27].init =0x3623; *** ERROR C200 IN LINE 265 OF REGCHECK.C: left side of '.' requires struct/union 266 1 cmd61[0x27].length =16; *** ERROR C200 IN LINE 266 OF REGCHECK.C: left side of '.' requires struct/union 267 1 cmd61[0x27].active =1; *** ERROR C200 IN LINE 267 OF REGCHECK.C: left side of '.' requires struct/union 268 1 cmd61[0x27].wtest =0xFFFF; *** ERROR C200 IN LINE 268 OF REGCHECK.C: left side of '.' requires struct/union 269 1 cmd61[0x27].wresult =0x3FFF; *** ERROR C200 IN LINE 269 OF REGCHECK.C: left side of '.' requires struct/union 270 1 271 1 strcpy(cmd61[0x28].name,"HcScratch "); *** ERROR C200 IN LINE 271 OF REGCHECK.C: left side of '.' requires struct/union 272 1 cmd61[0x28].code =0x28; *** ERROR C141 IN LINE 272 OF REGCHECK.C: syntax error near 'code', expected '' 273 1 cmd61[0x28].init =0x0000; *** ERROR C200 IN LINE 273 OF REGCHECK.C: left side of '.' requires struct/union 274 1 cmd61[0x28].length =16; *** ERROR C200 IN LINE 274 OF REGCHECK.C: left side of '.' requires struct/union C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 9 275 1 cmd61[0x28].active =1; *** ERROR C200 IN LINE 275 OF REGCHECK.C: left side of '.' requires struct/union 276 1 277 1 strcpy(cmd61[0x29].name,"HcSoftwareReset "); *** ERROR C200 IN LINE 277 OF REGCHECK.C: left side of '.' requires struct/union 278 1 cmd61[0x29].code =0x29; *** ERROR C141 IN LINE 278 OF REGCHECK.C: syntax error near 'code', expected '' 279 1 cmd61[0x29].init =0x0000; *** ERROR C200 IN LINE 279 OF REGCHECK.C: left side of '.' requires struct/union 280 1 cmd61[0x29].length =16; *** ERROR C200 IN LINE 280 OF REGCHECK.C: left side of '.' requires struct/union 281 1 cmd61[0x29].active =0; *** ERROR C200 IN LINE 281 OF REGCHECK.C: left side of '.' requires struct/union 282 1 283 1 strcpy(cmd61[0x2C].name,"HcBufferStatus "); *** ERROR C200 IN LINE 283 OF REGCHECK.C: left side of '.' requires struct/union 284 1 cmd61[0x2C].code =0x2C; *** ERROR C141 IN LINE 284 OF REGCHECK.C: syntax error near 'code', expected '' 285 1 cmd61[0x2C].init =0x0000; *** ERROR C200 IN LINE 285 OF REGCHECK.C: left side of '.' requires struct/union 286 1 cmd61[0x2C].length =16; *** ERROR C200 IN LINE 286 OF REGCHECK.C: left side of '.' requires struct/union 287 1 cmd61[0x2C].active =1; *** ERROR C200 IN LINE 287 OF REGCHECK.C: left side of '.' requires struct/union 288 1 289 1 strcpy(cmd61[0x30].name,"HcISTLBufferSize "); *** ERROR C200 IN LINE 289 OF REGCHECK.C: left side of '.' requires struct/union 290 1 cmd61[0x30].code =0x30; *** ERROR C141 IN LINE 290 OF REGCHECK.C: syntax error near 'code', expected '' 291 1 cmd61[0x30].init =0x0000; *** ERROR C200 IN LINE 291 OF REGCHECK.C: left side of '.' requires struct/union 292 1 cmd61[0x30].length =16; *** ERROR C200 IN LINE 292 OF REGCHECK.C: left side of '.' requires struct/union 293 1 cmd61[0x30].active =1; *** ERROR C200 IN LINE 293 OF REGCHECK.C: left side of '.' requires struct/union 294 1 295 1 strcpy(cmd61[0x32].name,"HcDirectAddrLen "); *** ERROR C200 IN LINE 295 OF REGCHECK.C: left side of '.' requires struct/union 296 1 cmd61[0x32].code =0x32; *** ERROR C141 IN LINE 296 OF REGCHECK.C: syntax error near 'code', expected '' 297 1 cmd61[0x32].init =0x0000; *** ERROR C200 IN LINE 297 OF REGCHECK.C: left side of '.' requires struct/union 298 1 cmd61[0x32].length =32; *** ERROR C200 IN LINE 298 OF REGCHECK.C: left side of '.' requires struct/union 299 1 cmd61[0x32].active =1; *** ERROR C200 IN LINE 299 OF REGCHECK.C: left side of '.' requires struct/union 300 1 301 1 strcpy(cmd61[0x33].name,"HcINTLBufferSize "); *** ERROR C200 IN LINE 301 OF REGCHECK.C: left side of '.' requires struct/union 302 1 cmd61[0x33].code =0x33; *** ERROR C141 IN LINE 302 OF REGCHECK.C: syntax error near 'code', expected '' 303 1 cmd61[0x33].init =0x0000; *** ERROR C200 IN LINE 303 OF REGCHECK.C: left side of '.' requires struct/union 304 1 cmd61[0x33].length =16; *** ERROR C200 IN LINE 304 OF REGCHECK.C: left side of '.' requires struct/union 305 1 cmd61[0x33].active =1; *** ERROR C200 IN LINE 305 OF REGCHECK.C: left side of '.' requires struct/union 306 1 307 1 strcpy(cmd61[0x34].name,"HcATLBufferSize "); *** ERROR C200 IN LINE 307 OF REGCHECK.C: left side of '.' requires struct/union 308 1 cmd61[0x34].code =0x34; *** ERROR C141 IN LINE 308 OF REGCHECK.C: syntax error near 'code', expected '' C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 10 309 1 cmd61[0x34].init =0x0000; *** ERROR C200 IN LINE 309 OF REGCHECK.C: left side of '.' requires struct/union 310 1 cmd61[0x34].length =16; *** ERROR C200 IN LINE 310 OF REGCHECK.C: left side of '.' requires struct/union 311 1 cmd61[0x34].active =1; *** ERROR C200 IN LINE 311 OF REGCHECK.C: left side of '.' requires struct/union 312 1 313 1 strcpy(cmd61[0x40].name,"HcISTL0BufferPort "); *** ERROR C200 IN LINE 313 OF REGCHECK.C: left side of '.' requires struct/union 314 1 cmd61[0x40].code =0x40; *** ERROR C141 IN LINE 314 OF REGCHECK.C: syntax error near 'code', expected '' 315 1 cmd61[0x40].init =0x0000; *** ERROR C200 IN LINE 315 OF REGCHECK.C: left side of '.' requires struct/union 316 1 cmd61[0x40].length =16; *** ERROR C200 IN LINE 316 OF REGCHECK.C: left side of '.' requires struct/union 317 1 cmd61[0x40].active =1; *** ERROR C200 IN LINE 317 OF REGCHECK.C: left side of '.' requires struct/union 318 1 319 1 strcpy(cmd61[0x42].name,"HcISTL1BufferPort "); *** ERROR C200 IN LINE 319 OF REGCHECK.C: left side of '.' requires struct/union 320 1 cmd61[0x42].code =0x42; *** ERROR C141 IN LINE 320 OF REGCHECK.C: syntax error near 'code', expected '' 321 1 cmd61[0x42].init =0x0000; *** ERROR C200 IN LINE 321 OF REGCHECK.C: left side of '.' requires struct/union 322 1 cmd61[0x42].length =16; *** ERROR C200 IN LINE 322 OF REGCHECK.C: left side of '.' requires struct/union 323 1 cmd61[0x42].active =1; *** ERROR C200 IN LINE 323 OF REGCHECK.C: left side of '.' requires struct/union 324 1 325 1 strcpy(cmd61[0x43].name,"HcINTLBufferPort "); *** ERROR C200 IN LINE 325 OF REGCHECK.C: left side of '.' requires struct/union 326 1 cmd61[0x43].code =0x43; *** ERROR C141 IN LINE 326 OF REGCHECK.C: syntax error near 'code', expected '' 327 1 cmd61[0x43].init =0x0000; *** ERROR C200 IN LINE 327 OF REGCHECK.C: left side of '.' requires struct/union 328 1 cmd61[0x43].length =16; *** ERROR C200 IN LINE 328 OF REGCHECK.C: left side of '.' requires struct/union 329 1 cmd61[0x43].active =0; *** ERROR C200 IN LINE 329 OF REGCHECK.C: left side of '.' requires struct/union 330 1 331 1 strcpy(cmd61[0x45].name,"HcDirectAddress "); *** ERROR C200 IN LINE 331 OF REGCHECK.C: left side of '.' requires struct/union 332 1 cmd61[0x45].code =0x45; *** ERROR C141 IN LINE 332 OF REGCHECK.C: syntax error near 'code', expected '' 333 1 cmd61[0x45].init =0x0000; *** ERROR C200 IN LINE 333 OF REGCHECK.C: left side of '.' requires struct/union 334 1 cmd61[0x45].length =16; *** ERROR C200 IN LINE 334 OF REGCHECK.C: left side of '.' requires struct/union 335 1 cmd61[0x45].active =1; *** ERROR C200 IN LINE 335 OF REGCHECK.C: left side of '.' requires struct/union 336 1 337 1 strcpy(cmd61[0x47].name,"HcPTLToggleRate "); *** ERROR C200 IN LINE 337 OF REGCHECK.C: left side of '.' requires struct/union 338 1 cmd61[0x47].code =0x47; *** ERROR C141 IN LINE 338 OF REGCHECK.C: syntax error near 'code', expected '' 339 1 cmd61[0x47].init =0x0000; *** ERROR C200 IN LINE 339 OF REGCHECK.C: left side of '.' requires struct/union 340 1 cmd61[0x47].length =16; *** ERROR C200 IN LINE 340 OF REGCHECK.C: left side of '.' requires struct/union 341 1 cmd61[0x47].active =1; *** ERROR C200 IN LINE 341 OF REGCHECK.C: left side of '.' requires struct/union 342 1 C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 11 343 1 strcpy(cmd61[0x51].name,"HcATLPTDDoneThrsCnt"); *** ERROR C200 IN LINE 343 OF REGCHECK.C: left side of '.' requires struct/union 344 1 cmd61[0x51].code =0x51; *** ERROR C141 IN LINE 344 OF REGCHECK.C: syntax error near 'code', expected '' 345 1 cmd61[0x51].init =0x0000; *** ERROR C200 IN LINE 345 OF REGCHECK.C: left side of '.' requires struct/union 346 1 cmd61[0x51].length =16; *** ERROR C200 IN LINE 346 OF REGCHECK.C: left side of '.' requires struct/union 347 1 cmd61[0x51].active =1; *** ERROR C200 IN LINE 347 OF REGCHECK.C: left side of '.' requires struct/union 348 1 349 1 strcpy(cmd61[0x52].name,"HcATLPTDDoneThrsTO "); *** ERROR C200 IN LINE 349 OF REGCHECK.C: left side of '.' requires struct/union 350 1 cmd61[0x52].code =0x52; *** ERROR C141 IN LINE 350 OF REGCHECK.C: syntax error near 'code', expected '' 351 1 cmd61[0x52].init =0x0000; *** ERROR C200 IN LINE 351 OF REGCHECK.C: left side of '.' requires struct/union 352 1 cmd61[0x52].length =16; *** ERROR C200 IN LINE 352 OF REGCHECK.C: left side of '.' requires struct/union 353 1 cmd61[0x52].active =1; *** ERROR C200 IN LINE 353 OF REGCHECK.C: left side of '.' requires struct/union 354 1 355 1 strcpy(cmd61[0x53].name,"HcINTLBlkSize "); *** ERROR C200 IN LINE 355 OF REGCHECK.C: left side of '.' requires struct/union 356 1 cmd61[0x53].code =0x53; *** ERROR C141 IN LINE 356 OF REGCHECK.C: syntax error near 'code', expected '' 357 1 cmd61[0x53].init =0x0000; *** ERROR C200 IN LINE 357 OF REGCHECK.C: left side of '.' requires struct/union 358 1 cmd61[0x53].length =16; *** ERROR C200 IN LINE 358 OF REGCHECK.C: left side of '.' requires struct/union 359 1 cmd61[0x53].active =1; *** ERROR C200 IN LINE 359 OF REGCHECK.C: left side of '.' requires struct/union 360 1 361 1 strcpy(cmd61[0x62].name,"OTGControl "); *** ERROR C200 IN LINE 361 OF REGCHECK.C: left side of '.' requires struct/union 362 1 cmd61[0x62].code =0x62; *** ERROR C141 IN LINE 362 OF REGCHECK.C: syntax error near 'code', expected '' 363 1 cmd61[0x62].init =0x01C0; *** ERROR C200 IN LINE 363 OF REGCHECK.C: left side of '.' requires struct/union 364 1 cmd61[0x62].length =16; *** ERROR C200 IN LINE 364 OF REGCHECK.C: left side of '.' requires struct/union 365 1 cmd61[0x62].active =1; *** ERROR C200 IN LINE 365 OF REGCHECK.C: left side of '.' requires struct/union 366 1 367 1 strcpy(cmd61[0x67].name,"OTGStatus "); *** ERROR C200 IN LINE 367 OF REGCHECK.C: left side of '.' requires struct/union 368 1 cmd61[0x67].code =0x67; *** ERROR C141 IN LINE 368 OF REGCHECK.C: syntax error near 'code', expected '' 369 1 cmd61[0x67].init =0x0001; *** ERROR C200 IN LINE 369 OF REGCHECK.C: left side of '.' requires struct/union 370 1 cmd61[0x67].length =16; *** ERROR C200 IN LINE 370 OF REGCHECK.C: left side of '.' requires struct/union 371 1 cmd61[0x67].active =1; *** ERROR C200 IN LINE 371 OF REGCHECK.C: left side of '.' requires struct/union 372 1 373 1 strcpy(cmd61[0x68].name,"OTGInterrupt "); *** ERROR C200 IN LINE 373 OF REGCHECK.C: left side of '.' requires struct/union 374 1 cmd61[0x68].code =0x68; *** ERROR C141 IN LINE 374 OF REGCHECK.C: syntax error near 'code', expected '' 375 1 cmd61[0x68].init =0x0000; *** ERROR C200 IN LINE 375 OF REGCHECK.C: left side of '.' requires struct/union 376 1 cmd61[0x68].length =16; C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 12 *** ERROR C200 IN LINE 376 OF REGCHECK.C: left side of '.' requires struct/union 377 1 cmd61[0x68].active =1; *** ERROR C200 IN LINE 377 OF REGCHECK.C: left side of '.' requires struct/union 378 1 379 1 strcpy(cmd61[0x69].name,"OTGInterruptEnable "); *** ERROR C200 IN LINE 379 OF REGCHECK.C: left side of '.' requires struct/union 380 1 cmd61[0x69].code =0x69; *** ERROR C141 IN LINE 380 OF REGCHECK.C: syntax error near 'code', expected '' 381 1 cmd61[0x69].init =0x0000; *** ERROR C200 IN LINE 381 OF REGCHECK.C: left side of '.' requires struct/union 382 1 cmd61[0x69].length =16; *** ERROR C200 IN LINE 382 OF REGCHECK.C: left side of '.' requires struct/union 383 1 cmd61[0x69].active =1; *** ERROR C200 IN LINE 383 OF REGCHECK.C: left side of '.' requires struct/union 384 1 385 1 strcpy(cmd61[0x6A].name,"OTGTimerControl "); *** ERROR C200 IN LINE 385 OF REGCHECK.C: left side of '.' requires struct/union 386 1 cmd61[0x6A].code =0x6A; *** ERROR C141 IN LINE 386 OF REGCHECK.C: syntax error near 'code', expected '' 387 1 cmd61[0x6A].init =0x0000; *** ERROR C200 IN LINE 387 OF REGCHECK.C: left side of '.' requires struct/union 388 1 cmd61[0x6A].length =32; *** ERROR C200 IN LINE 388 OF REGCHECK.C: left side of '.' requires struct/union 389 1 cmd61[0x6A].active =1; *** ERROR C200 IN LINE 389 OF REGCHECK.C: left side of '.' requires struct/union 390 1 } 391 392 void read_registers(void) 393 { 394 1 unsigned int test_cnt; 395 1 unsigned int no_of_test; 396 1 long reg_data; 397 1 long *r_ptr; 398 1 char status_buffer[60]; 399 1 unsigned int l_space=8; 400 1 401 1 cleardevice(); 402 1 403 1 sprintf(status_buffer,"ISP1362 HC Register Test"); 404 1 outtextxy(10,10,status_buffer); 405 1 sprintf(status_buffer,"========================"); 406 1 outtextxy(10,20,status_buffer); 407 1 408 1 test_cnt=0; 409 1 no_of_test=0; 410 1 do 411 1 { 412 2 413 2 if(cmd61[test_cnt].active==1) 414 2 { 415 3 no_of_test++; 416 3 if(cmd61[test_cnt].length==16) 417 3 { 418 4 reg_data=r16(test_cnt); 419 4 reg_data&=0x0000FFFF; 420 4 } 421 3 422 3 if(cmd61[test_cnt].length==32) 423 3 { 424 4 reg_data=r32(test_cnt); 425 4 } 426 3 C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 13 427 3 if(reg_data!=cmd61[test_cnt].init) {setcolor(RED);} 428 3 429 3 sprintf(status_buffer,"0x%02X %s [%2d]=>%8lX, default=>%8lX",test_cnt,cmd61[test_cnt].name,cmd61[test_cnt -].length,reg_data,cmd61[test_cnt].init); 430 3 outtextxy(10,20+no_of_test*l_space,status_buffer); 431 3 432 3 setcolor(YELLOW); 433 3 } 434 2 435 2 test_cnt++; 436 2 } 437 1 while(test_cnt<0xFF); 438 1 439 1 fflush(stdin); 440 1 sprintf(status_buffer,"Press any key to go back to main menu"); 441 1 outtextxy(10,420,status_buffer); 442 1 sprintf(status_buffer,"====================================="); 443 1 outtextxy(10,430,status_buffer); 444 1 getch(); 445 1 } 446 447 void wr_reg(void) 448 { 449 1 unsigned int test_cnt; 450 1 unsigned int no_of_test; 451 1 unsigned long *r_ptr; 452 1 unsigned long rs; 453 1 long reg_data; 454 1 char sb[60]; 455 1 int last_row; 456 1 int user_in; 457 1 long error,p_error; 458 1 long ref; 459 1 int reg_port; 460 1 unsigned char key_in; 461 1 int l_space=8; 462 1 463 1 cleardevice(); 464 1 465 1 r_ptr=&rs; 466 1 467 1 sprintf(sb,"ISP1362 HC Register Test"); 468 1 outtextxy(10,10,sb); 469 1 sprintf(sb,"========================"); 470 1 outtextxy(10,20,sb); 471 1 472 1 test_cnt=0; 473 1 no_of_test=0; 474 1 do 475 1 { 476 2 if(cmd61[test_cnt].active==1) 477 2 { 478 3 no_of_test++; 479 3 sprintf(sb,"0x%02X %s, default=>%8lX",test_cnt,cmd61[test_cnt].name,cmd61[test_cnt].init); 480 3 outtextxy(10,20+l_space*no_of_test,sb); 481 3 } 482 2 test_cnt++; 483 2 } 484 1 while(test_cnt<0xFF); 485 1 486 1 gotoxy(50,4); 487 1 printf("Register to test? (Hex)"); C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 14 488 1 gotoxy(50,5); 489 1 scanf("%2x",®_port); 490 1 491 1 error=0; 492 1 p_error=0; 493 1 test_cnt=0; 494 1 495 1 fubar(1,0,10); 496 1 497 1 do 498 1 { 499 2 p_error=error; 500 2 501 2 gotoxy(50,5); 502 2 503 2 if(cmd61[reg_port].length==16) 504 2 { 505 3 printf("Writing 16bit %8lX to 0x%2X",(long)test_cnt,reg_port); 506 3 w16(reg_port,test_cnt); 507 3 reg_data=r16(reg_port); 508 3 reg_data&=0x0000FFFF; 509 3 fubar(0,test_cnt,0xFFFF); 510 3 if(reg_data!=test_cnt) 511 3 { 512 4 513 4 gotoxy(50,6); 514 4 printf("Reading %8lX",reg_data); 515 4 gotoxy(50,7); 516 4 printf("Error = %8X",error); 517 4 error++; 518 4 } 519 3 } 520 2 521 2 if(cmd61[reg_port].length==32) 522 2 { 523 3 ref=test_cnt+0x5A5A0000+(((long)test_cnt)<<16); 524 3 printf("Writing 32bit %8lX to 0x%2X",ref,reg_port); 525 3 fubar(0,test_cnt,0xFFFF); 526 3 w32(reg_port, ref); 527 3 reg_data=r32(reg_port); 528 3 529 3 if(reg_data!=ref) {error++; } 530 3 } 531 2 532 2 gotoxy(50,6); 533 2 printf("Reading %8lX",reg_data); 534 2 gotoxy(50,7); 535 2 printf("Error = %8X",error); 536 2 gotoxy(50,9); 537 2 printf("Press '1' to stop",error); 538 2 539 2 key_in=read_key(0); 540 2 541 2 if(p_error!=error) {key_in=getch();} 542 2 test_cnt++; 543 2 } 544 1 while((test_cnt!=0)&(key_in!='1')); 545 1 546 1 gotoxy(50,6); 547 1 printf("Reading %8lX",reg_data); 548 1 gotoxy(50,7); 549 1 printf("Error = %8X",error); C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 15 550 1 551 1 fflush(stdin); 552 1 getch(); 553 1 } 554 555 void wr_auto(char *logfile) 556 { 557 1 unsigned int cnt; 558 1 unsigned int no_of_test; 559 1 unsigned long rs; 560 1 long reg_data; 561 1 int user_in; 562 1 long error,p_error; 563 1 long ref; 564 1 int reg_port; 565 1 unsigned char key_in; 566 1 unsigned char buf[200]; 567 1 568 1 sprintf(buf,"\nISP1362 HC Register Test"); 569 1 strcpy(logfile,buf); 570 1 sprintf(buf,"\n========================"); 571 1 strcat(logfile,buf); 572 1 573 1 //Test HcScratch 574 1 printf("\nTesting HcScratch Register..."); 575 1 sprintf(buf,"\nTesting HcScratch Register..."); 576 1 strcat(logfile,buf); 577 1 578 1 cnt=0; 579 1 error=0; 580 1 do 581 1 { 582 2 w16(HcScratch,cnt); 583 2 if((r16(HcScratch))!=cnt) 584 2 { 585 3 error++; 586 3 } 587 2 cnt++; 588 2 } 589 1 while(cnt<0xFFFF); 590 1 591 1 sprintf(buf,", Total error = %8lX",error); 592 1 strcat(logfile,buf); 593 1 594 1 //Test HcDirectAddrLen 595 1 printf("\nTesting HcDirectAddrLen Register..."); 596 1 sprintf(buf,"\nTesting HcDirectAddrLen Register..."); 597 1 strcat(logfile,buf); 598 1 599 1 reg_data=0; 600 1 error=0; 601 1 do 602 1 { 603 2 w32(HcDirAddrLen,reg_data); 604 2 if((r16(HcDirAddrLen))!=reg_data) 605 2 { 606 3 error++; 607 3 } 608 2 reg_data++; 609 2 } 610 1 while(reg_data<0xFFFF); 611 1 C51 COMPILER V7.06 REGCHECK 08/02/2005 13:30:03 PAGE 16 612 1 sprintf(buf,", Total error = %8lX",error); 613 1 strcat(logfile,buf); 614 1 615 1 616 1 } 617 618 C51 COMPILATION COMPLETE. 5 WARNING(S), 306 ERROR(S)