First we need some info....What chip body? What compiler version? Is it a 20Mhz crystal or resonator?

Nick