Here is the full Mplab project:
https://www.dropbox.com/s/cd2ap15xq9hngw...PIC16F.rar
I am using an external 4MHz crystal at my PIC16F877A.
And before I make the bootloader file and use the ICD3 for programming I am setting the fusses manually (that's why I comet the fuses that you have set inside the code):
FOSC: XT
WDTE: Disabled
PWRTE: Disabled
BOREN: Disabled
LVP: RB3 is digital pin, MCLR is used
CPD: protection off
WRT: protection off
CP: protection off
https://www.dropbox.com/s/cd2ap15xq9hngw...PIC16F.rar
I am using an external 4MHz crystal at my PIC16F877A.
And before I make the bootloader file and use the ICD3 for programming I am setting the fusses manually (that's why I comet the fuses that you have set inside the code):
FOSC: XT
WDTE: Disabled
PWRTE: Disabled
BOREN: Disabled
LVP: RB3 is digital pin, MCLR is used
CPD: protection off
WRT: protection off
CP: protection off