Hi,
It looks like you might have the wrong syntax/constant name. Try:
Code:
#CONFIG
    __config _CONFIG1, _HS_OSC & _WDT_ON & _PWRTE_ON & _BODEN_ON & _CP_ALL & _LVP_OFF
#ENDCONFIG
/Henrik.