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: www.piclist.com/techref/index.htm?key=accessing+configuration
Search entire site for: 'Accessing configuration within code'.

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

flavicon
face
Hi,
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)

Regards
Scott.

1999\01\20@085309 by Jim Robertson

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

No.

>Regards
>Scott.
>
--------------------------------------------------------
Jim Robertson
Email: spam_OUTnewfoundTakeThisOuTspampipeline.com.au

http://www.pipeline.com.au/users/newfound
--------------------------------------------------------

1999\01\20@091808 by Joe and Pam

flavicon
face
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 http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

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