Invalid option
Posted: Tue Jul 04, 2023 7:30 pm
Hello Everyone,
These are my fuse settings I got from the fuse config plugin and I get a error message "Invalid Option" for the PBADEN fuse setting.
Any Idea Why? Thanks.
These are my fuse settings I got from the fuse config plugin and I get a error message "Invalid Option" for the PBADEN fuse setting.
Any Idea Why? Thanks.
Code: Select all
config
OSC = INTIO2, // Internal oscillator block, port function on RA6 and RA7
FCMEN = OFF, // Fail-Safe Clock Monitor disabled
IESO = OFF, // Oscillator Switchover mode disabled
PWRT = OFF, // PWRT disabled
BOR = ON, // Brown-out Reset enabled in hardware only (SBOREN is disabled)
BORV = 3, // Minimum Setting
WDT = OFF, // WDT disabled (control is placed on the SWDTEN bit)
WDTPS = 32768, // 1:32768
CCP2MX = RC1, // CCP2 input/output is multiplexed with RC1
PBADEN = DIG, // PORTB<4:0> pins are configured as analog input channels on Reset <<< This ling is what the compiler is pointing to with the
message "Invalid Option"
LPT1OSC = OFF, // Timer1 configured for higher power operation
MCLRE = ON, // MCLR pin enabled; RE3 input pin disabled
STVREN = ON, // Stack full/underflow will not cause Reset
LVP = OFF, // Single-Supply ICSP disabled
BBSIZ = BB256, // 256 Word
XINST = OFF, // Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
DEBUG = OFF, // Background debugger disabled, RB6 and RB7 configured as general purpose I/O pins
CP0 = OFF, // Block 0 not code-protected
CP1 = OFF, // Block 1 not code-protected
CPB = OFF, // Boot block not code-protected
CPD = OFF, // Data EEPROM not code-protected
WRT0 = OFF, // Block 0 not write-protected
WRT1 = OFF, // Block 1 not write-protected
WRTC = OFF, // Configuration registers (300000-3000FFh) not write-protected
WRTB = OFF, // Boot block not write-protected
WRTD = OFF, // Data EEPROM not write-protected
EBTR0 = OFF, // Block 0 not protected from table reads executed in other blocks
EBTR1 = OFF, // Block 1 not protected from table reads executed in other blocks
EBTRB = OFF // Boot block not protected from table reads executed in other blocks
/code]