Searching \ for '[PIC]How to change CONFIG directive with PICkit3' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/languages.htm?key=directive
Search entire site for: 'How to change CONFIG directive with PICkit3'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]How to change CONFIG directive with PICkit3'
2011\10\21@162735 by jana1972

flavicon
face
I started programming in assembly language  with PICkit3.
I found out samples that use __config directive but with  PICkit2, that is
different from PICkit3
E.g PICkit2 uses

__CONFIG _CONFIG1, _LVP_OFF & _FCMEN_OFF & _IESO_OFF &
_BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF &
_PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
__CONFIG _CONFIG2, _WRT_OFF & _BOR21V

how must  I rewrite that config for using with PICkit3?

Is there any explanation of all those configuration bits?

Thanks for help
L.
 

2011\10\21@170046 by RG

picon face
Here on page  11 you can find a good  esplanation of configuration word. Of
course you have to adapt to your particular processor and to what you want
to do.
Renzo



2011/10/21 <spam_OUTjana1972TakeThisOuTspamcentrum.cz>

{Quote hidden}

>

2011\10\22@021204 by jana1972

flavicon
face
Hi Renzo
Thanks for your reply.
You say :
"Here on page  11... "
but where is "HERE"?
Do you have a website address?
Thanks
L.

{Quote hidden}

> > --

2011\10\22@025753 by IVP

face picon face

> Is there any explanation of all those configuration bits?

/Program Files/Microchip/MPASM Suite

If you look in the .inc file for your PIC you will find entries like these

_PWRTE_ON        EQU  H'FFDF'    ; PWRT enabled
_PWRTE_OFF       EQU  H'FFFF'    ; PWRT disabled

_MCLRE_OFF       EQU  H'FFBF'    ; MCLR/VPP pin function is digital input
_MCLRE_ON        EQU  H'FFFF'    ; MCLR/VPP pin function is MCLR

_CP_ON           EQU  H'FF7F'    ; Program memory code protection is enabled
_CP_OFF          EQU  H'FFFF'    ; Program memory code protection is disabled

_CPD_ON          EQU  H'FEFF'    ; Data memory code protection is enabled
_CPD_OFF         EQU  H'FFFF'    ; Data memory code protection is disabled

CONFIG1, CONFIG2 for example will also be in the datasheet

Joe

2011\10\22@031131 by RG

picon face
Oh sorry
http://www.gooligum.com.au/tutorials/midrange/PIC_Mid_A_1.pdf

page 8-11
Renzo

2011/10/21 RG <renzogiugspamKILLspamgmail.com>

{Quote hidden}

>> -

2011\10\22@045902 by Jan-Erik Soderholm

face picon face


EraseMEjana1972spam_OUTspamTakeThisOuTcentrum.cz wrote 2011-10-21 22:27:
> I started programming in assembly language  with PICkit3.
> I found out samples that use __config directive but with  PICkit2, that is
> different from PICkit3

The CONFIG setting are specific for the PIC processor used and
has nothing to do with the programmer used to program it.

Why do you think that changing programmer from PICkit2 to PICkit3
will force you to make changes to the CONFIG settings ?

> E.g PICkit2 uses

No, no, no... The PICkit2 doesn't "use" any CONFIG settings at all !
It is the processor who uses the settings, the PICkit2 (or 3) only
programms them into the processor.

>
> how must  I rewrite that config for using with PICkit3?
>

Not at all.

> Is there any explanation of all those configuration bits?
>

Of course. The datasheet for your speicfic processor. There is a
chapter called something like "SPECIAL FEATURES OF THE CPU",
"Configuration Bits". Didn't that answer your questions ?


> Thanks for help
> L.
>
>
>

2011\10\22@071738 by jana1972

flavicon
face
Hi,
Thanks ALL for the explanation and help
L.
{Quote hidden}

> -

2011\10\22@075135 by Jim Franklin

flavicon
face
;) I was thinking the same thing when I read the email; I thought it was
just me and it was late at night.

-Jim

-----Original Message-----


Hi Renzo
Thanks for your reply.
You say :
"Here on page  11... "
but where is "HERE"?
Do you have a website address?
Thanks
L.

> Here on page  11 you can find a good  esplanation of configuration word.
Of
> course you have to adapt to your particular processor and to what you want
> to do.
> Renzo

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