Where to find full list of CONFIG directive commands?

Status
Not open for further replies.

futz

Active Member
Where would I look to find a full list of CONFIG directive commands for the 18F4620? I grabbed my code from the 4550, thinking the CONFIG line would be fairly close. Of course it won't work at all.

I've dug thru the datasheet and found nothing useful. Oh sure there's Chapter 23 - Configuration Bits, but nowhere in there do they tell you what to put in the CONFIG line. And then there's the stuff at the end of the include file, but those don't work in a CONFIG directive either.

Somewhere there's a proper list of these for each MCU model. Where???

Here's a (broken) example of what I'm looking for (for asm programming):
CONFIG FOSC = INTRC-OSC2, WDT = OFF, LVP = OFF, PBADEN = OFF
 
If you look in C:\MCC18\mpasm you will find P18F4620.inc, scroll down to the bottom.

Mike.
 
P.S. if you need them for C18 there is a document from Microchip. **broken link removed**

Mike.
 
Oh, fer Pete's sake! I was skipping right past em to the equates at the bottom of the inc file. Scrolled up a bit and there they were!

Thanks guys.
 
In the most "obvious place"

After looking at the Microchip web site, last week, I found that "they are in the help for MPLAB".

No more out of date documents. If you have the latest MPLAB, you have the latest list of CONFIGs for all chips.

 
August Treubig said:
After looking at the Microchip web site, last week, I found that "they are in the help for MPLAB".

No more out of date documents. If you have the latest MPLAB, you have the latest list of CONFIGs for all chips.


Unless your working in C18.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…