I'm trying to program a PIC18F2550 with a PicKit2 programmer. I haven't had any trouble programming the device when using power from the USB port, but I cannot get it to work when using an external power supply. I have set the PicKit to be powered from target and there is no voltage across my rails when my external power supply is not connected, however as soon as I connect the negative supply rail (which is connected to earth) my power supply shorts and turns off (before I have connected the positive rail). How do i fix this?
If I power the PIC from the USB port, there is a potential difference of about 11 volts between the negative USB line and the earth. Obviously this explains the short circuits, but how do I get around this? I've seen it written everywhere that it is possible to power the PicKit from an external power supply...
If i use my laptop with the charger plugged in I can still measure a voltage between Vss (on the pickit) and earth, but when i run the laptop off battery there is no voltage measured (obviously this is expected but perhaps someone has heard of someone else having a similar problem?). Unfortunately I cant test it with Pickit2 because my laptop runs on linux.
If I power the PIC from the USB port, there is a potential difference of about 11 volts between the negative USB line and the earth. Obviously this explains the short circuits, but how do I get around this? I've seen it written everywhere that it is possible to power the PicKit from an external power supply...