PIC24FJ128GB412 configuration bits

The configuration words set the oscillator and PLL, the watchdog, the debugger pins, brown-out reset and code protection: they are the last words of flash (from 0x015780), programmed with the code. Pick a setting and the word below updates; the starting values are the defaults in Microchip's device file, and an erased bit reads 1. In XC16 each setting is a #pragma config FNOSC = FRC line.

FSEC · 0x15780

0xFFFFFFdefault 0xFFFFFF

FBSLIM · 0x15790

0xFFFFFFdefault 0xFFFFFF

FSIGN · 0x15794

0xFF7FFFdefault 0xFF7FFF

FOSCSEL · 0x15798

0xFFFFFFdefault 0xFFFFFF

FOSC · 0x1579C

0xFFFFFFdefault 0xFFFFFF

FWDT · 0x157A0

0xFFFFFFdefault 0xFFFFFF

FPOR · 0x157A4

0xFFFF7Fdefault 0xFFFF7F

FICD · 0x157A8

0xFFFFDFdefault 0xFFFFDF

FDS · 0x157AC

0xFFFFFFdefault 0xFFFFFF

FDEVOPT1 · 0x157B0

0xFFFFFFdefault 0xFFFFFF

FBTSEQ · 0x157FC

0xFFFFFFdefault 0xFFFFFF