Hi,
OK, that explains it.... The 18F4431 doesn't have an OPTION_REG. What is it you are trying to do by setting it? You said that the it did work a day or so ago but never that you changed target device....I think it is an problem with the 18F4431.
/Henrik Olsson.
Bookmarks