Olimex Support Forum

Microcontrollers => AVR => Topic started by: onupi on August 17, 2015, 01:29:13 AM

Title: Avrisp mkii and atmel studio 6.2
Post by: onupi on August 17, 2015, 01:29:13 AM
Hi everyone. I am a beginner and I need some help. I bought a olimex avrisp mkii but I cant communicate with the microcontroller mega1280. I got the message: target not found. I try to read the device information but I got that message. The led is green and before I get the message the led blinks red and then again green.
What am I doing wrong?.

Thanks in advance.
Title: Re: Avrisp mkii and atmel studio 6.2
Post by: JohnS on August 17, 2015, 08:32:24 AM
Details of software?

John
Title: Re: Avrisp mkii and atmel studio 6.2
Post by: onupi on August 18, 2015, 01:57:36 PM
Hi John.

The software is a simply "hello world". It prints that message in USART2 (atmega1280) and blinks a LED connected to pin PORTK2. No more.

But when I tried to read the device I get this message:

Unable to enter programming mode.

Please verify device selection, interface settings, target power and connections to the target device. Look in the details section for more information.

Timestamp: 2015-08-18 12:55:29.009
Severity: INFO
ComponentId: 20000
StatusCode: 0

Failed to enter programming mode. Error received from tool:
Target not detected


Unable to enter programming mode. Verify device selection, interface settings, target power and connections to the target device.


The olimex programmer is set VCC OFF.
Title: Re: Avrisp mkii and atmel studio 6.2
Post by: JohnS on August 18, 2015, 02:44:19 PM
The software you're using? OS? Tool? Command(s) you enter?

You could hardly have given less info...

OTOH, maybe you have the same problem someone else has had so try reading other posts.

Another idea - change tool/OS/both.

John
Title: Re: Avrisp mkii and atmel studio 6.2
Post by: onupi on August 18, 2015, 02:54:42 PM
I am using Atmel Studio 6.2 in Windows 7 (64bits)

I have found this post: https://www.olimex.com/forum/index.php?topic=4471.msg18809#msg18809

But I still have the same problem.
Title: Re: Avrisp mkii and atmel studio 6.2
Post by: JohnS on August 18, 2015, 05:26:50 PM
Try an older version -- sounds like they broke it (changed something).

Or just junk it and use another tool.

John