Using MPLAB 8.02 with C18 3.2 I have a 18f1320 that I would like to set the brown out reset to 4.5 volts since there are several sensors (Freescale MPX5700GP-ND and LM335) attached that want 4.75 volt minimum and would prefer that CPU doesn't reset below that 4.5 volts. From the data sheet I find: CONFIG2L register Bits 3 -2 = BORV1: 00 for 4.5 volt Bit 1 = BOR: 1 Brown out reset enabled Bit 0 = PWRTEN (not) = 0 power up timer enabled And from 18F1320.h file: > /*------------------------------------------------------------------------- > * CONFIG2L (0x300002) > *-------------------------------------------------------------------------*/ > #define _CONFIG2L_DEFAULT 0x0F > #define _PWRT_ON_2L 0xFE > #define _PWRT_OFF_2L 0xFF > > #define _BOR_OFF_2L 0xFD > #define _BOR_ON_2L 0xFF > > #define _BORV_45_2L 0xF3 > #define _BORV_42_2L 0xF7 > #define _BORV_27_2L 0xFB Have tried > > #pragma config CONFIG2H_DEFAULT = 0x02 // Brown out reset enabled at 4.5 volts and > #pragma config CONFIG2H = 0x02 // Brown out reset enabled at 4.5 volts C18 accepted both versions. Then loading the hex file into Microengineering MELABS programmer 4.02, with "update configuration from file" checked, and view configuration, I see BOR 2.0 volts. Several questions: 1: In MPLAB how can I verify the configuration, view CPU registers is greyed out? 2: What would the correct or best way to accomplish the change? 3: I think I can make the change in the programmer, but would prefer the change to be hard coded, if a different programmer was used. Thanking in advance. :) -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist