salem_eng1
Member level 2
I have a problem with pic16f84a that
when I am burning any progrem it gives me success burning and the Mc doesn't work right its output is all zeros all the time independent on the input I tried a simple code to check if the Mc is working or not the program is to out ones all the time to prortB but also it doesn't work
the code is:
#include <p16f84a.inc>
org 0
goto main
org 0x10
main
bsf status,rp0
clrf portb
bcf status,rp0
movlw 0x7f
movwf portb
goto main
end
After that I changed the chip 3 time
And also I change the burner 2 time
The output is the same in all different cases (all the pins is zero except VDD MCLR')
I am using Mplab & winpic
I asked here can I change the computer or that it is a silly question??
Plz could any one help ???
when I am burning any progrem it gives me success burning and the Mc doesn't work right its output is all zeros all the time independent on the input I tried a simple code to check if the Mc is working or not the program is to out ones all the time to prortB but also it doesn't work
the code is:
#include <p16f84a.inc>
org 0
goto main
org 0x10
main
bsf status,rp0
clrf portb
bcf status,rp0
movlw 0x7f
movwf portb
goto main
end
After that I changed the chip 3 time
And also I change the burner 2 time
The output is the same in all different cases (all the pins is zero except VDD MCLR')
I am using Mplab & winpic
I asked here can I change the computer or that it is a silly question??
Plz could any one help ???