I wrote the following cording in MPLAB to get a single output from the 17th pin and created the .HEX file.
There was no errors in compiling the program.
I used PIC 16F84A
;*****Set up the Constants*****
STATUS equ 03h
TRISA equ 85h
PORTA equ 05h
CounterL equ 0Dh
CounterH equ 0Eh
;*****Set up the port*****
bsf STATUS,5
bcf TRISA,0
bcf STATUS,5
;*****Turn the LED on*****
Start bsf PORTA,0
;*****Delay loop1*****
Loop1 decfsz CounterL,1
goto Loop1
decfsz CounterH,1
goto Loop1
;*****Turn the LED OFF*****
bcf PORTA,0
;*****Delay loop2*****
Loop2 decfsz CounterL,1
goto Loop2
decfsz CounterH,1
goto Loop2
goto Start
end
then i used PICProg4U software to write this program in to PIC through JDM programmer.
When loading the .HEX file it gives a warning "Configuration word was not found in the HEX file"..
After writing the program to the PIC it fails to verify.
then it gives a verification error..
There was no errors in compiling the program.
I used PIC 16F84A
;*****Set up the Constants*****
STATUS equ 03h
TRISA equ 85h
PORTA equ 05h
CounterL equ 0Dh
CounterH equ 0Eh
;*****Set up the port*****
bsf STATUS,5
bcf TRISA,0
bcf STATUS,5
;*****Turn the LED on*****
Start bsf PORTA,0
;*****Delay loop1*****
Loop1 decfsz CounterL,1
goto Loop1
decfsz CounterH,1
goto Loop1
;*****Turn the LED OFF*****
bcf PORTA,0
;*****Delay loop2*****
Loop2 decfsz CounterL,1
goto Loop2
decfsz CounterH,1
goto Loop2
goto Start
end
then i used PICProg4U software to write this program in to PIC through JDM programmer.
When loading the .HEX file it gives a warning "Configuration word was not found in the HEX file"..
After writing the program to the PIC it fails to verify.
then it gives a verification error..