This is the warning message I get from pickit2![]()
I gave up trying to program the 16f88 with the pickit2 application program. Just use the mplab ide and select pickit2 as the programmer. I was able to program the 16f88 just fine with MPLAB. I used the same ic in both cases, so the ic is ok. I don't know what the problem is, but I need to get back to work.
I have gotten that error too, and when it does so it usually sets code protection too!
The fine print in the pickit2 docs say to reselect the chip ( select another pic and then reselect the one you are using) and then write the chip without selecting a hex, then select your hex and write.
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.
I went back to using the pickit2 with the 16f88 and now it will program. Still get a "hex file not loaded error", but at the end of programming I get the green box.
The problem is intermittent. I got less failure when running power of the board instead of powering through the pickit2. In other words, it always programmed.
I did manage to build my own 4 digit meter with a 16f88 and PBP using some of the example code at MEL about driving led displays. This meter will display from 0 to 100.0 volts if you use a rail to rail opamp instead of the LT1077 I got in it now. Below are links to drawing and code.
Hex
Code
Drawing
Back when I was using a PIC Start I had to add a couple of capacitors across VDD-VSS or it would not program some of the 18Fs.The problem is intermittent. I got less failure when running power of the board instead of powering through the pickit2. In other words, it always programmed.
Maybe a similar problem???
Dave
Always wear safety glasses while programming.
I added a photo of the meter at my profile album. I designed a pcb to make up the circuit and had Expresspcb make it. The board can be configured into a frequency counter or event counter. Just load a different program for a new function. Its a multipurpose board. You can also bring out the ports through a 16 pin ribbon connector instead of a 4 digit display.
Looks like a useful piece of work! I like the dual function idea.
Dave
Always wear safety glasses while programming.
Bookmarks