Picallw and a 16F88

Started by petesplace1234 April 8, 2004
Currently I'm trying to get a 16F88 programmed on Picall hardware. It
looks like it works though the led flash program doesn't (Wiz-c/FED).
Could someone look over my shoulder and verify my settings?

;---------------------------------
-------------
;DEVICE PROG DATA ALG FUS PINS MAXPC P.DELAY CAL rev VPP CRC
NEW NEW1 NEW2
;---------------------------------
-------------
PIC16F88 4096 256 1 25 18 4 2 0 3 1 0
CCPMX WRT0 WRT1

Fuses 25 CP NEW /DEB NEW2 NEW1 CPD LVP BODEN MCLRE OSC2 /PWRTE WDTE
OSC1 OSC0

I basically copied the entry from PIC16F818 as it's very similar and
made mdoifications.
Thanks, Pete



I think this micro is challenging to programmers. My EPIC+ won't
program it via ICSP but will if its in the socket. I suspect the Vpp
needs to be higher but haven't actually looked into it.

Phil

--- In , "petesplace1234" <petesplace@s...>
wrote:
> Currently I'm trying to get a 16F88 programmed on Picall hardware.
It
> looks like it works though the led flash program doesn't (Wiz-
c/FED).
> Could someone look over my shoulder and verify my settings?
>
> ;-------------------------------
--
> -------------
> ;DEVICE PROG DATA ALG FUS PINS MAXPC P.DELAY CAL rev VPP CRC
> NEW NEW1 NEW2
> ;-------------------------------
--
> -------------
> PIC16F88 4096 256 1 25 18 4 2 0 3 1 0
> CCPMX WRT0 WRT1
>
> Fuses 25 CP NEW /DEB NEW2 NEW1 CPD LVP BODEN MCLRE OSC2 /PWRTE
WDTE
> OSC1 OSC0
>
> I basically copied the entry from PIC16F818 as it's very similar
and
> made mdoifications.
> Thanks, Pete






On Fri, 9 Apr 2004, Phil wrote:

> I think this micro is challenging to programmers. My EPIC+ won't
> program it via ICSP but will if its in the socket. I suspect the Vpp
> needs to be higher but haven't actually looked into it.

scope + good eyes = problem solved

is not the Vpp value but the SC or SD noise problem ( rising edge with
garbage ) >
> Phil
>
> --- In , "petesplace1234" <petesplace@s...>
> wrote:
> > Currently I'm trying to get a 16F88 programmed on Picall hardware.
> It
> > looks like it works though the led flash program doesn't (Wiz-
> c/FED).
> > Could someone look over my shoulder and verify my settings?
> >
> > ;-------------------------------
> --
> > -------------
> > ;DEVICE PROG DATA ALG FUS PINS MAXPC P.DELAY CAL rev VPP CRC
> > NEW NEW1 NEW2
> > ;-------------------------------
> --
> > -------------
> > PIC16F88 4096 256 1 25 18 4 2 0 3 1 0
> > CCPMX WRT0 WRT1
> >
> > Fuses 25 CP NEW /DEB NEW2 NEW1 CPD LVP BODEN MCLRE OSC2 /PWRTE
> WDTE
> > OSC1 OSC0
> >
> > I basically copied the entry from PIC16F818 as it's very similar
> and
> > made mdoifications.
> > Thanks, Pete >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
> Yahoo! Groups Links





Thanks for the responses, Phil, Vasile... looks like the settings
work. I've used Wouter's led flash as opposed to my WIZ-C cut, and it
seems to work. That is with the odd quick flash here and there... not
too sure about that. Wiz-C seems to have some issue though I'm
setting OSCCON myself. More to do I guess...



Make sure you have watchdog turned off. That catches many many
beginners (including me at one point). Its unclear to me why that
seems to get defaulted to on in all too many cases.

Phil

--- In , "petesplace1234" <petesplace@s...>
wrote:
> Thanks for the responses, Phil, Vasile... looks like the settings
> work. I've used Wouter's led flash as opposed to my WIZ-C cut, and
it
> seems to work. That is with the odd quick flash here and there...
not
> too sure about that. Wiz-C seems to have some issue though I'm
> setting OSCCON myself. More to do I guess...





Luckily (?) I've been bitten by that one a while ago :D Wouter's
program has fuse settings for internal clock etc. and I figured it
would be a good place to start (with a known working program) while
trying to prove the Picall settings. Wiz-C v10.00 is an unknown with
the 16F88 (I've a few programs for the 877 and 452 that work ok).
Still it almost feels like a floating MCLR (though it's set to
internal in Wouter's led flash and I even tied it for kicks). Odd.
I'm going to try the ext. clock and see how it goes. I hope I can
figgure it out as I like this chips features/fit to a project I want
to do.
-Thanks, Pete

--- In , "Phil" <phil1960us@y...> wrote:
> Make sure you have watchdog turned off. That catches many many
> beginners (including me at one point). Its unclear to me why that
> seems to get defaulted to on in all too many cases.



I agree on the F88 as having a great set of resources in an 18 pin
package. I've used it in 3 projects and none of them have suffered
from the problem you are seeing so I bet you will figure it out.
Have you looked through the generated ASM just make sure its not a
compiler error?

I went to look at the F88 errata but the microchip site gives an
error when clicking on that link. Does anyone have a copy they could
share?

Phil --- In , "petesplace1234" <petesplace@s...>
wrote:
> Luckily (?) I've been bitten by that one a while ago :D Wouter's
> program has fuse settings for internal clock etc. and I figured it
> would be a good place to start (with a known working program) while
> trying to prove the Picall settings. Wiz-C v10.00 is an unknown
with
> the 16F88 (I've a few programs for the 877 and 452 that work ok).
> Still it almost feels like a floating MCLR (though it's set to
> internal in Wouter's led flash and I even tied it for kicks). Odd.
> I'm going to try the ext. clock and see how it goes. I hope I can
> figgure it out as I like this chips features/fit to a project I
want
> to do.
> -Thanks, Pete
>
> --- In , "Phil" <phil1960us@y...> wrote:
> > Make sure you have watchdog turned off. That catches many many
> > beginners (including me at one point). Its unclear to me why
that
> > seems to get defaulted to on in all too many cases.





Hey Phil, seems like the led demo works quite well so I'd say the
programmer values/entry is probably fine. Works repeatedly with the
samples both cristal and internally clocked (and now quite stable
maybe due to a decoupling cap). The Wiz-c issue is still a mystery...
I've tried a number of things but, perhaps, the .00 status of the
compiler is the issue... now on .06. I'm not to familliar with PIC
asm... I was hoping not to have to learn it :p Perhaps JAL and
assembler is my future.
-Pete

--- In , "Phil" <phil1960us@y...> wrote:
>...so I bet you will figure it out.
> Have you looked through the generated ASM just make sure its not a
> compiler error?