Vielen Dank für die Antwort, hat mir weiter geholfen.
Der Mega32 läuft jetzt einwandfrei