Quote Originally Posted by ngeronikolos View Post
I do not manage to fix my problem.I add the CMCON = 7 to disable comparators...BUT NOTHING.

But I found something strange and I would like your advice.
I use Microcode Studio Plus 3.0.0.5, compiler PBP 2.47, programmer Pickit2.
I compile my code and I program my pic with the .hex generated file.After that I read the pic and the .hex file is not the same(same changes).

LOOK the attaches file
If you look closely you will see that from address 0 to 2FF the data is the same. After that the difference between the files is that the read is showing all the blank locations of the total memory for the PIC device. This is normal.