Re: Using "END" Fries PICS?
Ok questions: What programmer are you using? Which programmer software are you using? Can you post your "config" statement? Have you made sure you are not setting code protect on?
EDIT: So, I just tried to duplicate your problem in one of my programs . . . I put end in a subroutine where it should not be and as expected it stopped the program there (that's what it does) but I am able to restart the pic, AND I was able to reprogram it with no problem. I think you should post your code for forensic examination.
I have had many times where the programmer just wanted to give me a hard time and code protect the chip and not want to reprogram the chip using a PICKitII, and this I found works:
Step 1. make sure to turn off code protect.
try to erase if fails select the Wrong chip, I repeat, select the wrong chip
this will clear the program area.
Step 2. Select the correct chip and then click WRITE this will program the chip with hex 3FFF at every location, effectivly erasing the PIC
Step 3.ClickAuto Import Hex + Write Device select the hex you wish to program and it will program properly (hopefully).
Last edited by Archangel; - 11th December 2014 at 20:31.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks