hi.. i just wanna ask what's the appropriate way of configuring fuses for the PIC 877a micro? i am new to microcontrollers.. im using PIC16PRO programmer
In order to configure fuses, you must be familiar with their relevant functions, I would suggest that you should go through the data sheet of 877A, particularly section 14.0 Special Features of the CPU, it will give you idea how to configure fuses.
If you are new to subject; I suggest most common configurations,
If your oscillator is crystal 200kHz ~ 4MHz Check XT
or If your oscillator is crystal 4MHz ~ 20MHz Check HS
bit 10-9 WRT1:WRT0 Flash Program Memory Write Enable bits
For PIC16F876A/877A:
11 = Write protection off; all program memory may be written to by EECON control
10 = 0000h to 00FFh write-protected; 0100h to 1FFFh may be written to by EECON control
01 = 0000h to 07FFh write-protected; 0800h to 1FFFh may be written to by EECON control
00 = 0000h to 0FFFh write-protected; 1000h to 1FFFh may be written to by EECON control
For PIC16F873A/874A:
11 = Write protection off; all program memory may be written to by EECON control
10 = 0000h to 00FFh write-protected; 0100h to 0FFFh may be written to by EECON control
01 = 0000h to 03FFh write-protected; 0400h to 0FFFh may be written to by EECON control
00 = 0000h to 07FFh write-protected; 0800h to 0FFFh may be written to by EECON control
You should configure them as 11, it will disable write protection, hence you will be able to reprogram your micro again and again.