Caisson wrote: > > > Van: WF AUTOMACAO > > Aan: PICLIST@MITVMA.MIT.EDU > > Onderwerp: PIC17C756 PROGRAMMING FUSES > > Datum: donderdag 25 juni 1998 2:28 > > > > Hi, > > > > The programming Fuses Options must be selected on PICSTART PLUS > > or must be embedded on .HEX file to program? > > You can do both. If you specify your OPTION register in your source-file, > PICSTART PLUS copies them into it's programmer-settings (Change the > __CONFIG in your source, re-assemple and see it happen ...) . If you don't > have them specified in your source-file, the current (last specified) > programmer-settings will be used. > > > If is on program, does someone have a sample? > > Yes, I do. This (below) is what I use as settings for a 16x84 : > > __CONFIG H'3FF9' ;-CP, +PWRTE, -WDTE, XT > > You can also set the configuration this way : > > __CONFIG _XT_OSC & _PWRTE_ON & _WDT_OFF & _CP_OFF > > ;_CP_OFF ...1.... \ Code protection > ;_CP_ON ...0.... / > ;_PWRTE_OFF ....0... \ Power-up timer > ;_PWRTE_ON ....1... / > ;_WDT_OFF .....0.. \ WatchDog timer > ;_WDT_ON .....1.. / > ;_LP_OSC .....00 \ > ;_XT_OSC ......01 \ Oscillator > ;_HS_OSC ......10 / > ;_RC_OSC ......11 / > > The actual equates (_CP_OFF equ 0x10 etc.) are set in the include-file > (Pxxxxxxx.INC) and are different for every PIC. > > Greetz, > Rudy Wieser Thank you Greetz! Now i understood! Miguel.