Posted 05 November 2011 - 07:00 PM
I am just getting started with pic's and programming so I am sorry if the question sound stupid.
Thanks in advance.
Posted 05 November 2011 - 09:50 PM
Posted 05 November 2011 - 10:11 PM
I had already had it write it on the first chip! I erased the chip and put in the blank other chip I had and had it read all the blanks and noted the last part of the blank hex file numbers. I blanked the programed pic and changed the last part that did not change to copy the original blank chip. I then reprogrammed the chip with out changing the osccal value. As I don't know what that is--- I was hoping that when I copied what was in the original blank chip I changed it back. If not, I guess that chip is no good. I thought I read somewhere that if you copied the original blank as I did all would be fine. I am just getting started with pic's as I said before. Question- You mention that you cannot program the chip twice or it is ruined. Is this the case with the 12f chip? You also mentioned (I found this after I did it) that you should not try to verify the chip or that would ruin it also. Is this the same with the 12f chip? My programmer has a fuse setting disabling the write protect. As I figured the chip was already no good, I set the fuse to disable the write protect. I set the programmer and reprogrammed the chip with out the protect and then asked it to verify the program. The programmer said it was programmed correctly! The chip may be junk and I surely don't understand all of this! I will have to set this one up on the breadboard to see if anything works! Any thoughts on my numerous questions? Thanks for your time and I hope I have not asked too many questions.
Posted 06 November 2011 - 09:24 AM
You were able to perform the manual verification with the write protect disabled because it is not possible to perform a manual verify with it enabled. Honestly, there is nothing useful about performing repeat verifies. If the chip was programmed correctly the first time with the write protect enabled (no failure reported when you programmed the part), then there is no need to perform additional manual verifications.
As I figured the chip was already no good, I set the fuse to disable the write protect. I set the programmer and reprogrammed the chip with out the protect and then asked it to verify the program. The programmer said it was programmed correctly!
Posted 06 November 2011 - 09:37 AM
Posted 25 November 2011 - 05:23 PM
Posted 25 November 2011 - 06:23 PM
Thanks for the design!