OK, I'm trying to make an LED blink on a 18F46J50.
I've done it (and more) successfully on several 16Fxxx chips, but this is my first "18F" experience, and boy this sucker sure has a lot of registers that want setting...

So far I'm stumped with the CONFIG1L, CONFIG1H, and CONFIG2L registers. (oscillator control)

When I attempt to set these particular 3 registers, I get syntax ERROR messages (I.E., ERROR Line 20: Syntax error.)

Here, the OSCCON line compiles fine, but the 3 CONFIGxx lines do not.

Code:
OSCCON = %01111100      'idle enable off, 8MHz clock, primary clock source
CONFIG1L = %11101100    'debugger disabled, no PLL divide, WDT off
CONFIG1H = %11110111   'no memory code protect, no CPU clock divide
CONFIG2L = %00000001   'osc out on RA6
If I open the P18F46J50.INC file, I don't see any reference to any of those CONFIGxx registers in the register definition list.

What am I doing wrong here that those 3 registers pop up with a Syntax Error?
Could someone please help point me in the right direction..?

Thanks!


steve