back to code in post #13. Found that it runs k if still connected to pickit2
disconnected and ran just on battery. It runs through the code once then starts freezing up and stops with some text on display.
brand new battery so it should run. if battery is issue would the display not go dim?
was trying to implement a mclre and maybe clean the data then restart code?? or reset the data to zero then reload data??
BOREN is brown-out reset enable. This will cause the proccessor to reset if the power supply voltage drops below acertain voltage. This would suggest there is a problem with the power supply to the chip.