I have an 16F1827 not LF version, just the "F". When I run it at 3.3v my code runs perfectly all works well. When I run it at 5v it appears to reset over and over again. I have 4 led's drawing about 20mA each on the I/O ports. watch dog and brown out is disabled in the fuses. I tried them enabled/disabled and ended up with the same cyclical reset condition.

If it was an LF part I can understand the weirdness, but this part is a regular F part. Any ideas would be helpful. BTW....I loaded the code on another 16F1827 and it does the same thing and it didn't have LED's on the ports.

thanks,
Nick