Avrisp mkii and atmel studio 6.2

Started by onupi, August 17, 2015, 01:29:13 AM

Previous topic - Next topic

onupi

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.

JohnS


onupi

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.

JohnS

#3
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

onupi

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.

JohnS

Try an older version -- sounds like they broke it (changed something).

Or just junk it and use another tool.

John