What's the oscillator frequency and have you used DEFINE OSC xx to inform the compiler OF that oscillator frequency?

/Henrik.