Thanks for the advice

I did try changing the oscillator type to HS - no luck

I will try the other suggestions. I read a fair amount before investing and was under the impression that the 16F877a was a reasonable place to start. Maybe not!

Thanks

Fred