I don't have a chip to try it on, but off the top of my head that looks ok.
Are you sure it's not the _config _WDTEN_ON that's fouling things up?
Try _WDTEN_OFF or _WDTE_SWDTEN (if you want it programmable) and see what happens.
I don't have a chip to try it on, but off the top of my head that looks ok.
Are you sure it's not the _config _WDTEN_ON that's fouling things up?
Try _WDTEN_OFF or _WDTE_SWDTEN (if you want it programmable) and see what happens.
Bookmarks