I'm using the Atmel Studio IDE and a AVRISP mkII to program microcontrollers. I've always powered the microcontrollers to be programmed with an external power supply but I was wondering if it is possible to power the target microcontroller through the AVRISP mkII itself?
It is with a bit of a mod, see EEVBlog #158:
I've found very nice step by step instruction at the Arduino forum with the following pics:
Hope it will help someone...
I found a reference a long time ago to modify my AVRISP. Basically I added a mini toggle switch on the front cover of the AVRISP and it connects the +5 from the USB connector to the VCC pin on the ISP cable. There isn't a nice jumper or set of solder pads for doing this.
My connections are from the outside pin on the green LED (away from the USB connector) to what looks like pin 5 of the ISP connector on the bottom of the board. Pictures of this mod are pretty common as this isn't an uncommon thing to want to do.
The switch is pretty important. I would NOT plug or unplug the ISP cable from the device being programmed with the power on. I also would NOT recommend connecting USB power to a device with its own separate power source.