Hi all, First of let me thank everyone for the great responces. As much as I lie to fix things myself, when the time comes to give up and ask a web list, the quality of the replies always amazes me!! Thank you all. So what I did last night: Got fed up with the fixed 4Mhz xtal in my EasyPIC board so de-soldered this and it's caps and replaced with a three pin SIL socket so I could swap resonators easily. Then pop in a 20MHz res and set the Oscialltor mode to HS and hey presto it worked!!! Then it, failed then worked..... I then realised for some reason each time I reload a new HEX file in the mikroe picusb1 programmer software it resets the oscialltor mode to XT!!! How annoying! Tried the lastest release no different. I'll post on the mikroe forums to see if this can be fixed. The LCD now worked but I could not read the data I needed to read, it was capturing bytes but they were wrong, but consistanly wrong... so after some more fiddling I worked it out. I have a feed which is 9600 baud, 8 data bits, even parity, one stop bit, true levels. I was using the PBP Serin2 mode of 8276 which should match this... but I worked out the default number of data bits INCLUDES the parity bit so it was actually running 7 bits of real data + 1 bit of even parity. I then changed the default 'total' number of data bits to 9 (8 real + 1 parity) and it worked perfectly! Not sure if this is just my understanding or if this is the rs232 standard... or maybe a bug in PBP Serin2 modes??? So thanks once again all... now I can move on to how I capture different lengths of 'serial packets' where the length is one of the byte at the start of the packet! Cheers Kev/. ----- Original Message ----- From: "Paul James E." To: Sent: Tuesday, November 29, 2005 5:25 AM Subject: Re: [PIC] I Can't get a 16F877 to run at 20MHz... > > Kev, > > Are you changing the Oscillator from XT (4 Mhz) to HS (>4 Mhz)? > If not, you probably aren't even getting the PIC to run at all. > Just a thought. Let us know when you find the answer. > > > Regards, > > Jim > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist