03-23-2010 05:12 PM
Dear group
Shall i connect the osc. in the circuit for simulation to succeed?
My code is passed without no errors or warnings. But nothing happens when i run the simulation.
Thanks for help
03-24-2010 08:20 AM
Please post your file so we can see the circuit you are trying to run.
To answer the first question, you do not need to connect an oscilloscope for the simulation to run.
03-31-2010 06:11 AM
Here is my .asm file
;using aliases, bit names and conditional loops
#DEFINE PAGE0 BCF STATUS,5
#DEFINE PAGE1 BSF STATUS,5
STATUS EQU $03
TRISB EQU $06
PORTB EQU $06
C EQU 0
W EQU 0
F EQU 1
ORG 4
ORG 5
CLRF PORTB
PAGE1
CLRF TRISB
PAGE0
LOOP1 MOVL 1
MOVWF PORTB
BCF STATUS,C
LOOP2 RLF PORTB,F
BTFSS ,STATUS,C
GOTO LOOP2
GOTO LOOP1
END
I draw the ct ,and connect the component very ell, then now error occured during the assymby process . But hen running the project nothing happened to the led.
Is there anything going wrong?
Please help
03-31-2010 10:15 AM - edited 03-31-2010 10:16 AM
Hi Mamoud,
I don't know PIC assembly and archetecture and can't answer any specific questions. However, I can tell you that you do not need to connect any oscillator (crystal, ceramic, etc) or clock source to the clock pins of the MCU to simulate it in Multisim. The clock speed of the MCU is defined by setting it in the MCU properties page:
Hope that helps.