Being new to AVR (However not a uC programming newbie), i decided to buy a ICE from atmel, hoped reliable hardware will help to quickstart my project.
However, somehow i get stuck in the first step.
I have ATmega162 on my selfmade board, where i soldered only the MCU, power supply and the JTAG pod so far.
When i press the "Connect to the selected Programmer" button right after starting AVRStudio(v.4.16), most time i can read the device signature. I get the following output:
Setting device parameters.. OK!
Entering programming mode.. OK!
Reading signature .. 0x1E, 0x94, 0x04 .. OK!
Leaving programming mode.. OK!
When i switch between tabs of the programmer dialog, sometimes i get the message
Failed to identify target. Would you like to retry with external reset enabled?
When i start debugging, i get either a dialog which says "Could not connect to JTAGICE mkII", or the messages
JTAGICE mkII: Failed to enter programming mode for reading bootloader fuses.
Coordinator: Error when trying to make JTAGICE target device enter programming mode
Coordinator: Error loading object file.
When i try the "Connect to the selected Programmer" button after this, i get the message
JTAGICE mkII: USB connection skipped. Each instance of AVR Studio can only have one active USB device at a time.
Could anyone give me some advice? Thank you.