BLDC Controller

Discussion in 'Homework Help' started by arematt, Nov 29, 2010.

  1. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    hi guys ...
    i'm trying to make a sensorless BLDC controller for my FYp project and i found one in microchip website... the problem is i cannot compile the assembly code that given in the web which caused many errors. i'm a little bit weak in the programming code, so can anyone here compile and make hex file of the code and send to me...? i really need this file urgently... so could anybody please help me... mail me at my email ..... <snip>

    here is pdf file.... the program code for sensorless is on page 35-46
     
    Last edited by a moderator: Nov 29, 2010
  2. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,685
    900
    So your FY project boils down to being able to compile some code written in Assembly by a large, reputable company. What are you trying to compile it with? Have you tried MPLab? What errors do you get?

    There a chance your professor/advisor is also familiar with it and may have already complied it for you.

    Be sure to read the license agreement and think about what it is saying:
    John
     
    Last edited: Nov 29, 2010
  3. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    actually is not my real FYP it just like a mini project for this semester and i using the BLDC motor so i need the the controller to control the phase sequence of the motor...

    yup... i already try using mplab but does not work...
    when i try to compile it there will be errors... the messages state that some of variable is missing or not declared... can you help me to counter this problem...?
     
  4. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,685
    900
    How about copying and pasting the error message you get?

    John
     
  5. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    here the errors message....

    Debug build of project `C:\Users\Fikuri\Desktop\BLDC controller\controller.mcp' started.
    Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35
    Preprocessor symbol `__DEBUG' is defined.
    Mon Nov 29 20:49:48 2010
    ----------------------------------------------------------------------
    Make: The target "C:\Users\Fikuri\Desktop\controller.o" is out of date.
    Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877 "controller.asm" /l"controller.lst" /e"controller.err" /d__DEBUG=1
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 39 : Found directive in column 1. (list)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 40 : Found directive in column 1. (include)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 41 : Found directive in column 1. (__CONFIG)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 49 : Symbol not previously defined (B’11010101’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 50 : Symbol not previously defined (B’00000000’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 51 : Symbol not previously defined (B’00100001’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 52 : Symbol not previously defined (B’00100100’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 53 : Symbol not previously defined (B’00000110’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 54 : Symbol not previously defined (B’00010010’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 55 : Symbol not previously defined (B’00011000’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 56 : Symbol not previously defined (B’00001001’)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 70 : Found directive in column 1. (CBLOCK)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 91 : Found directive in column 1. (ENDC)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 110 : Symbol not previously defined (D’0’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 131 : Symbol not previously defined (B’00001000’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 132 : Symbol not previously defined (B’00010000’)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 133 : Symbol not previously defined (B’00011000’)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 137 : Found directive in column 1. (org)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 138 : Found opcode in column 1. (nop)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 139 : Found opcode in column 1. (goto)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 140 : Found directive in column 1. (org)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 141 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 142 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 143 : Found opcode in column 1. (bcf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 144 : Found opcode in column 1. (retfie)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 146 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 147 : Found opcode in column 1. (clrf)

    continues.....
     
  6. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 149 : Found directive in column 1. (banksel)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 151 : Found opcode in column 1. (clrf)
    Message[302] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 151 : Register in operand not in bank 0. Ensure that bank bits are correct.
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 152 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 152 : Symbol not previously defined (B’00001011’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 153 : Found opcode in column 1. (movwf)
    Message[302] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 153 : Register in operand not in bank 0. Ensure that bank bits are correct.
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 154 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 154 : Symbol not previously defined (B’11111110’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 155 : Found opcode in column 1. (movwf)
    Message[302] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 155 : Register in operand not in bank 0. Ensure that bank bits are correct.
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 157 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 157 : Symbol not previously defined (B’11010000’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 158 : Found opcode in column 1. (movwf)
    Message[302] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 158 : Register in operand not in bank 0. Ensure that bank bits are correct.
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 159 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 161 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 161 : Symbol not previously defined (B’00000100’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 162 : Found opcode in column 1. (movwf)
    Message[302] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 162 : Register in operand not in bank 0. Ensure that bank bits are correct.
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 163 : Found directive in column 1. (banksel)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 164 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 164 : Symbol not previously defined (B’10000001’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 165 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 167 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 167 : Symbol not previously defined (B’00100001’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 168 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 170 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 171 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 172 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 173 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 173 : Symbol not previously defined (B’00001011’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 174 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 176 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 177 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 177 : Symbol not previously defined (D’6’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 178 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 179 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 180 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 181 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 182 : Found opcode in column 1. (bcf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 183 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 190 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 191 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 193 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 194 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 195 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 196 : Found opcode in column 1. (movf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 197 : Found opcode in column 1. (addwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 198 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 199 : Found opcode in column 1. (bcf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 200 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 202 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 203 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 204 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 207 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 208 : Found opcode in column 1. (andwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 209 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 210 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 211 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 212 : Found opcode in column 1. (addwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 213 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 214 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 215 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 217 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 218 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 219 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 220 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 221 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 222 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 223 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 224 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 225 : Found opcode in column 1. (goto)

    continues
     
  7. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    Error[108] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 226 : Illegal character (-)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 227 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 228 : Found opcode in column 1. (goto)
    Error[108] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 229 : Illegal character (-)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 230 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 232 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 233 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 234 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 235 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 239 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 240 : Found opcode in column 1. (xorwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 241 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 242 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 243 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 244 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 245 : Found opcode in column 1. (xorwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 246 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 247 : Found opcode in column 1. (bcf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 248 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 251 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 252 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 253 : Found opcode in column 1. (movf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 254 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 255 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 256 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 260 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 261 : Found opcode in column 1. (xorwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 262 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 263 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 264 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 265 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 266 : Found opcode in column 1. (xorwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 267 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 268 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 271 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 272 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 273 : Found opcode in column 1. (movf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 274 : Found opcode in column 1. (xorlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 274 : Symbol not previously defined (H’80’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 275 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 276 : Found opcode in column 1. (addwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 277 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 278 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 279 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 280 : Found opcode in column 1. (andlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 280 : Symbol not previously defined (H’00’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 281 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 283 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 284 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 284 : Symbol not previously defined (H’ff’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 286 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 287 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 288 : Found opcode in column 1. (goto)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 289 : Found opcode in column 1. (bcf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 290 : Found opcode in column 1. (sublw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 291 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 292 : Found opcode in column 1. (bsf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 293 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 294 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 296 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 297 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 297 : Symbol not previously defined (B’11000111’)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 298 : Found opcode in column 1. (andwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 299 : Found opcode in column 1. (clrf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 300 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 303 : Found opcode in column 1. (movlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 304 : Found opcode in column 1. (xorwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 305 : Found opcode in column 1. (btfss)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 306 : Found opcode in column 1. (return)



    continues...
     
  8. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 550 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 552 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 553 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 554 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 555 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 556 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 557 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 558 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 559 : Found opcode in column 1. (retlw)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 572 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 573 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 574 : Found opcode in column 1. (call)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 575 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 576 : Found opcode in column 1. (return)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 578 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 578 : Symbol not previously defined (T1HighTable)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 579 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 580 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 580 : Symbol not previously defined (T1HighTable)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 581 : Found opcode in column 1. (addwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 582 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 583 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 584 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 586 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 586 : Symbol not previously defined (T1LowTable)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 587 : Found opcode in column 1. (movwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 588 : Found opcode in column 1. (movlw)
    Error[113] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 588 : Symbol not previously defined (T1LowTable)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 589 : Found opcode in column 1. (addwf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 590 : Found opcode in column 1. (btfsc)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 591 : Found opcode in column 1. (incf)
    Warning[203] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 592 : Found opcode in column 1. (movwf)
    Error[105] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 593 : Cannot open file (Include File "BLDCspd4.inc" not found)
    Warning[205] C:\USERS\FIKURI\DESKTOP\CONTROLLER.ASM 594 : Found directive in column 1. (end)
    Halting build on first failure as requested.
    ----------------------------------------------------------------------
    Debug build of project `C:\Users\Fikuri\Desktop\BLDC controller\controller.mcp' failed.
    Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35
    Preprocessor symbol `__DEBUG' is defined.
    Mon Nov 29 20:49:59 2010
    ----------------------------------------------------------------------
    BUILD FAILED

    can you tell me why there are many errors?
     
  9. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,685
    900
    I will be out most of today, but I am sure others will help.

    For starters, when you set up the project in MPLab, just pull the .asm file from the un-zipped folder. That should cure a lot of the errors related to formatting.

    John
     
  10. arematt

    Thread Starter New Member

    Nov 29, 2010
    7
    0
    ok... i will try ...
    anyway thanks for your help...
     
  11. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,685
    900
    I just went through the Project Wizard from Microchip and the AN857 sensorless program worked fine. My MPLab version is the 8.30 version.

    What you may want to do is start with a clean folder. Then un-zip the AN857 file. Move (drag) everything to your folder. Then go to the wizard and add things as needed from that folder to the Project.

    If you are unfamiliar with how to set up a new project and move resources into it, you may want to practice with a simple program that you know works.

    John
     
Loading...