I've spent more time, too much time, with the 14K22 today and still not getting anywhere. Twiddled with bits all over the place The odd thing is that whatever I do there's always 250kHz on Osc2. It's like this frequency-setting at the start of main code is never executed movlw b'00010000' ; 0 Run ; 110 8MHz ; - OSTS ; - freq stable ; 00 internal RC (set by Config1 FOSC) movwf osccon and possibly that the following port initialisation doesn't either I get no programming errors in situ with ICSP or on a breadboard, and tried 4 new chips out of the tube. Main code is at 0x100 and start vector is at 0x00, pointing to 0x100 Any thoughts ? What am I missing ? TIA Joe ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.6172 / Virus Database: 4447/10853 - Release Date: 10/19/15 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .