Gast
#2761077
Hallo,
seit heute beschäftige ich mich mit Mikrocontrollern und stelle nun
vermutlich für euch eine triviale Frage.
Ich bin im besitz eines ATmega8, sowie dem Atmel Evaluationsboard v2.01
und möchte das Ding nun über seriellen Abschluss an Win7 X64 betreiben.
Ich benutze das Atmel Studio 6.0.
Hier ein kleiner Testquelltext den ich kopiert habe:
#include <avr/io.h>
//globale Variablen
//**********************************************************************
************************
//Interruptroutinen
//**********************************************************************
************************
void main (void)
{
//**********************************************************************
************************
//Initialisierung
//**********************************************************************
************************
//IO-Ports konfigurieren
DDRD = 0b01100000; //Port D: PD5, PD6 output, Rest Eingang
PORTD = 0b11110011; //Port D: PD5, PD6 low; PD2 (Int0) und PD3
(int1) tri-state; Rest: pull up
// Variablen definieren
//**********************************************************************
************************
//Programmbeginn
//**********************************************************************
************************
while(1)
{
PORTD ^= 0b01100000;
for (unsigned int i = 0; i < 500; i++) {}
}
}
Wenn ich nun auf device programming klicke, STK500, den Mikrocontroller
sowie ISP auswähle erscheint folgende Fehlermeldung:
Unable to connect to tool STK500 (COM1)
Timestamp: 2012-07-18 23:28:02.063
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Tool:connect failed.)
Could not establish communication with the tool.
Ich hoffe ihr werft jetzt nicht sofort mit höchsten Fachjargon um euch,
damit ich auch nochwas verstehe ;-)
Beste Grüße