Arduino Duemilanove 328P

Does anyone know how to properly connect and setup the JTAGICE MKII to either debug the Arduino using AVR Studio, or program a bootloader in ISP mode using avrdude from the command prompt or through the Arduino IDE?