Searching \ for 'Accessing configuration within code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Accessing configuration within code'.

Truncated match.
PICList Thread
'Accessing configuration within code'
1999\01\20@073045 by Central Park Cellular

I was wondering if it is possible to access the configuration bits (read) from t
he running code.
(Using 16f84 or 12c67x currently, although protecting code in a 16f84 is as much
protection as a "(c)" stamped on
the chip!!)
Basically I want to make a chip fail to function if I forget to set the protecti
on bits, better to fail and get stopped at
QC than have them go out unprotected.
(If this is not available.. Microchip: this might be a good thing to impliment)


1999\01\20@085309 by Jim Robertson

At 22:25 20/01/99 +1100, you wrote:
>I was wondering if it is possible to access the configuration bits (read)
from the running code.


Jim Robertson

1999\01\20@091808 by Joe and Pam

According to Microchip data, the only time these bits are accessible is
during programming.  I just ran into this because I was trying to set up
the PIC for a crystal timer (the program defaults to RC) and the book
that I was using didn't cover how to access these bits for programming.

1999\01\21@182756 by Mark A Moss

picon face
When you program the chip, you can add a couple of RETLW's with the
constents of the configurations bits.  This will let the program check
what config bits were programed.

Why is this necessary?  Are you expecting to use more than one
configuration for the same program? (I'm sure there is an excellent
reason for this, and I am interested in what the application is.)

Mark Moss
Amateur Radio Operator, Technician, and General Tinkerer

On Thu, 21 Jan 1999 00:56:01 +1100 Jim Robertson
<.....newfoundKILLspamspam@spam@PIPELINE.COM.AU> writes:
{Quote hidden}

You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
or call Juno at (800) 654-JUNO [654-5866]

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