Searching \ for '[PIC]: Config bit problems' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Config bit problems'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Config bit problems'
2002\10\20@151820 by Jai Dhar

flavicon
face
Hi,

I recently made a TLVP for my 16f628. When programming, I use picprg for
linux. It programs hex files fine except for one problem... the config bit. if
I program just a clear buffer, it works fine, no errors. But when I try a
config bit such as 3DFD, it doesn't work. It sais something like 2007: 3FFD !=
3DFD. Then when I read the PIC back, in position 2007, it has 07C0 in the 2007
field. Are there specific bits I have to set for LVP? I want to use an
internal oscillator, thats all. What config bit should I use?

Thanx

Jai



----------------------------------------
This mail sent through http://www.mywaterloo.ca

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2002\10\20@234128 by Jai Dhar

flavicon
face
Just to add something.. it seems to always differ by a bit. For eg, if I want
to program 3DFD, it will give me 3FFD. It does this for every combo. I also
tried switching computers, and pics, and software to David Tait's FPP. I still
got the same error (cannot program config bit). I have tried it with 3
different PIC's. Any suggestions will be nice, thanx

Jai
Quoting Jai Dhar <spam_OUTjdharTakeThisOuTspamENGMAIL.UWATERLOO.CA>:

{Quote hidden}

----------------------------------------
This mail sent through http://www.mywaterloo.ca

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2002\10\21@073540 by Olin Lathrop

face picon face
> Just to add something.. it seems to always differ by a bit. For eg, if I
want
> to program 3DFD, it will give me 3FFD.

That's what it's supposed to do.  Read the manual and you'll see that bit 9
is reserved.  The reserved bit stays in the unprogrammed state.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\10\21@075332 by Jai Dhar

flavicon
face
Hi,

Maybe I am missing something here. I programmed it with config word 3DFD, and
when I read back the PIC, I didn't see that anywhere.. from 2000, it just had
3FFF's and one 07C0, no 3DFD. Is this normal? If it is, I guess I'm ok
Quoting Olin Lathrop <.....olin_piclistKILLspamspam@spam@EMBEDINC.COM>:

{Quote hidden}

----------------------------------------
This mail sent through http://www.mywaterloo.ca

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...