Thank you everyone for your help and suggestions, sounds like isolating the circuit wins the votes. Steve w.r.t. using a 6 v transformer, I'm not sure this helps since the pic is driving a triac which is controlling lights running on mains. No opto-isolation to keep it cheap. Thanks again for helping me keep a smoke free environment : ) jim > Since you're not debugging the power supply itself, why not just power the > circuit from a 6V (or whatever) transformer after the voltage dropping > element ? You get isolation, more bench space and the ouch factor is > removed. > > Steve. > > > On 17 May 2007 at 13:08, jim ruxton wrote: > > > Hi, > > I'm working on a project which has a transformerless mains powered > > supply. I want to debug it with the ICD-2. I don't have an > > opto-isolated USB hub but I do have an isolation transformer. Would it > > would ok if I put the isolation transformer on my labtop (which the > > ICD-2 is connected to via. USB) and power the circuit I'm working on > > with mains or alternately use the isolation transformer on the circuit > > I am working on and plug the laptop in directly. Thanks, Jim > > > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist