Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/19/04 13:03
Read: times


 
#67037 - undefined instruction symbols (AT98C52)
Hello,
I’m working on a project (micro-mouse Robot) I’m Using C52 as EVB (main board) I have used AT89c52 microcontroller in this board.

My question is that, when I wrote my program to control the mouse using Kiel software it give me a message that:
(Error A45: undefined symbol (passs-2))
I got this message in the following links
all of these errors in i think about 5 or 6 instruction so i will be thankful to you if you can tell me the correct instructions, actually i have experience in 87C151SA which is compatible with Intel 87C51FA devices, and these two devices is the same as AT89c52 as i know.
so now these are the errors

mov IPL0, #10H ; Set Serial Interrupt Priority
mov IPH0, #00H ; to Level 1

SIsvc: mov IPL0, #00H ; Set Serial Interrupt Priority
mov IPH0, #10H ; to Level 2

mov IPL0, #10H ; Reset Serial Interrupt Priority
mov IPH0, #00H ; to Level 1

I got many errors all are in these two instructions

The other instructions are:

clr EC ; Disable PCA interrupt
clr CR ; Disable PCA timer
mov CL, #00H ; Clear PCA timer (low)
mov CH, #00H ; Clear PCA timer (high)
mov CMOD, #00H ; PCA Timer Clock = Osc/12
mov CCAPM1, #42H ; PWM mode, LH motor
mov CCAPM2, #42H ; PWM mode, RH motor
mov CCAPM3, #21H ;Positive edge, capture reg 3
mov CCAPM4, #21H ; Positive edge, capture reg 4


mov CCAP1H, #00 ; Set start at full speed L
mov CCAP2H, #00 ; Set start at full speed R

mov CCAP1H, LS ; Set speed L
mov CCAP2H, RS ; Set speed R
setb EC ; Enable PCA interrupt

stepI: jbc CCF3, stepl ; Left stepper interrupt?
jbc CCF4, stepr ; Right stepper interrupt?

Also in this instruction

mov RTMPL, CCAP4L

mov RTMPL, CCAP4L
mov RTMPH, CCAP4H


mov A, CCAP4L ; Find change in timer count
mov A, CCAP4H

mov LTMPL, CCAP3L

i know this post is to larg but this program is much importnat to me to successed and complate it on time.

thanks
Albarkani


List of 26 messages in thread
TopicAuthorDate
undefined instruction symbols (AT98C52)            01/01/70 00:00      
   RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
   RE: undefined instruction symbols (AT98C            01/01/70 00:00      
      RE: undefined instruction symbols (AT98C            01/01/70 00:00      
   Vital Information Missing!            01/01/70 00:00      
      RE: Vital Information Missing!            01/01/70 00:00      
   RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
      RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
      RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
         RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
            "ALL the letters and no misspellings, ??            01/01/70 00:00      
         RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
            RE: undefined instruction symbols (AT98C            01/01/70 00:00      
               RE: undefined instruction symbols (AT98C            01/01/70 00:00      
                  RE: undefined instruction symbols (AT98C            01/01/70 00:00      
                     RE: undefined instruction symbols (AT98C            01/01/70 00:00      
            RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
               RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
                  RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
                  RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
            RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
   RE: undefined instruction symbols (AT98C52)            01/01/70 00:00      
       same prob with intel 87c1FA            01/01/70 00:00      
         RE: same prob with intel 87c1FA            01/01/70 00:00      
         RE: same prob with intel 87c1FA            01/01/70 00:00      
   Problem solved thanks to all            01/01/70 00:00      

Back to Subject List