I don't know if my pic 16f84a is programmed or not. I load the hex file with the "load" menu from software.I choose my pic form "type" menu. I press detect but nothing happened.So I press "yes" but I dont understand the configs so ý dont thick none of them.I press "run", it says "achieved" .I press read and I see the same hex file but when I press "readdata" I get the 00 00 00 00... file. And my circuit doesn't work with my pic. Do you think I programmed my pic? How can I know? what's the problem?
How are you writing the code? MPASM lets you set and embed the config codes in the Hex file. Then you load the HEX file to TOPWIN.
You could try MikroBasic from Mikroelektronika. Find it in Google.
It is free for code upto 2K (more than a PIC84 full), has a very good forum and lots of example code. Again it produces HEX code.
Always read the datasheet from Microchip, and look at their Appnotes. They will show you how to set CP bits.
You should be able to erase the PIC using the erase button. If you do, you should then read FF in every slot. Prove that the PIC works by filling the buffer with 00 and program chip. Read should now show 00. Erase and you should read FF again. This should work whatever state the CP bits are in.