Pimentel
- 7th September 2008, 12:51
Hello,
I need help to insert some fuses configurations in my program !
Today my program is OK but only with 4MHZ cristal, because it is the default of PBP. However, I would like to use a 20MHZ cristal and also change WDT and BOR fuses to OFF.
Please, can somebody help me ? I am using a USB programmer, but diferent of ICPROG, I can not to change the fuses in moment of programation. I want to insert it in my PBP code.
I have been used it with sucess to 16F628A for example, inserting :
@ DEVICE pic16F628a, HS_OSC ' System Clock Options
@ DEVICE pic16F628a, WDT_OFF ' Watchdog Timer
@ DEVICE pic16F628a, PWRT_OFF ' Power-On Timer
@ DEVICE pic16F628a, BOD_OFF ' Brown-Out Detect
@ DEVICE pic16F628a, MCLR_ON ' Master Clear Options (External)
@ DEVICE pic16F628a, LVP_OFF ' Low-Voltage Programming
@ DEVICE pic16F628a, CPD_OFF ' Data Memory Code Protect
@ DEVICE pic16F628a, PROTECT_OFF ' Program Code Protection
Now I want to do it with 18F4620!!!
Thanks
Pimentel
I need help to insert some fuses configurations in my program !
Today my program is OK but only with 4MHZ cristal, because it is the default of PBP. However, I would like to use a 20MHZ cristal and also change WDT and BOR fuses to OFF.
Please, can somebody help me ? I am using a USB programmer, but diferent of ICPROG, I can not to change the fuses in moment of programation. I want to insert it in my PBP code.
I have been used it with sucess to 16F628A for example, inserting :
@ DEVICE pic16F628a, HS_OSC ' System Clock Options
@ DEVICE pic16F628a, WDT_OFF ' Watchdog Timer
@ DEVICE pic16F628a, PWRT_OFF ' Power-On Timer
@ DEVICE pic16F628a, BOD_OFF ' Brown-Out Detect
@ DEVICE pic16F628a, MCLR_ON ' Master Clear Options (External)
@ DEVICE pic16F628a, LVP_OFF ' Low-Voltage Programming
@ DEVICE pic16F628a, CPD_OFF ' Data Memory Code Protect
@ DEVICE pic16F628a, PROTECT_OFF ' Program Code Protection
Now I want to do it with 18F4620!!!
Thanks
Pimentel