A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
Hey to all: I have been recently working with 12F629's and 12F675's and have encountered a bit of a problem. My setup is MPLAB, IC-PROG, and the Olimex PG2B serial programmer. Everything has been working good with the 16F684A and 16F628's, then I moved on to the 12F629's. After a few writes, the chip won't take a write any longer (verified failed at 0000h). So I move on to the next chip, and after a few (say 6 or so) burns, it won't take another write. Same with the 675's. I know the chips still have the smoke in them as I programmed them with the internal oscillator, and set the clock out on GP4, and the clock is alive (I put a scope on it). Also, with one of the chips the program allows me to 'step through' a 7 segment LED (driven by a 595). But I can't read (it reads as blank) and can't write. So I'm a bit confused . . . apparently these chips are less forgiving than the 16F6's to program? Maybe I'm doing something stupid to lock the chip from accepting a new burn? Any ideas would be appreciated . . . I've tried to search the archives here, at piclist.com, and at arch.embedded.piclist, to no avail. Maybe I'll post there too. Thanks, John. |
|
|
|
> I have been recently working with 12F629's and 12F675's and have > encountered a bit of a problem. I can't be sure because I don't know your programmer, but some PICs officially require an enter-programmer sequence that applies Vpp (13 Volt) *before* Vdd (5 Volt). The 12F's, 16F630/676 and 16F628 are among these chips. In my expercience the 16F628 never actually needs this sequence, and the other chips can often be programmed with the 'normal' sequence (power first, then Vpp) *if* you configure the MCLR pin as MCLR. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products |
|
|
|
maybe there is the problem . . . I'm got the chips configured for the MCLR to be tied internally to VDD, freeing up that pin for I/O. I will try that, thanks. --- Wouter van Ooijen <> wrote: > > I have been recently working with 12F629's and 12F675's and have > > encountered a bit of a problem. > > I can't be sure because I don't know your programmer, but some PICs > officially require an enter-programmer sequence that applies Vpp (13 > Volt) *before* Vdd (5 Volt). The 12F's, 16F630/676 and 16F628 are > among > these chips. In my expercience the 16F628 never actually needs this > sequence, and the other chips can often be programmed with the > 'normal' > sequence (power first, then Vpp) *if* you configure the MCLR pin as > MCLR. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products __________________________________ |