Hi, Using a PIC18F4550. I am writing a modbus slave in C18, all is going well with the osc set to 24Mhz (using PLL div by 4). I am now running out of time to do all the tasks before servicing the serial so I would like to increase the cpu freq to 48Mhz (by changing the div to 2), when I do this the ICD2 looses connection. If I change to div by 3 it will work some of the time but is not reliable. Does the ICD2 have any clock limitations? I have looked through the spec and don't see anything. Is it very fussy about cable lengths etc? The PIC18F4550 should be good to 48Mhz. thanks Lee McLaren -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist