You should have the MCLR set per the 16F877A datasheet. Note that the 16F887 "has a noise filter in the MCLR Reset path. The filter will detect and ignore small pulses.". This along with the different clock circuits on the 887 makes enough of a difference.
A simple test code which works on both the 877A and 887, as previously suggested, will also provide some insight.




Bookmarks