I suspect your "OSCCON=%01110000" setting but I could not figure it out for 20Mhz HS setting.


------------------------------