Forum: Mikrocontroller und Digitale Elektronik ISP Mode Error


von Jonas W. (mf-fahrer)


Lesenswert?

Hallo,
wenn ich mit dem AVR Studio4 programmieren möchte, kommt immer diese 
Fehlermeldung, ich verwende einen ATMEL ISP Programmer:


---------------------------
ISP Mode Error
---------------------------
A problem occurred when executing the command. Make sure that you are 
using the correct
programming method. Current mode is ISP. See the command output for more 
info.

The troubleshooting section in the help system contains more information 
on what may
have caused the problems. To open the help system, click the Help button 
below.

Quick Tips: Verify that the device is placed in the correct socket, and 
that the ISP
cable is properly connected. Check that the ISP programming frequency 
specified on the
'Main' page is well below 1/4 of the clock frequency of the device. 
Extra precaution
should be made when using the CKDIV fuse and/or Clock Prescaler Register 
(CLKPR) on
parts supporting this.
---------------------------
OK   Hilfe
---------------------------

von Ralf G. (ralg)


Lesenswert?

Jonas W. schrieb:
> wenn ich mit dem AVR Studio4 programmieren möchte, kommt immer diese
> Fehlermeldung

Ja, kommt vor.

Welche von den angegebenen Punkten hast du schon abgearbeitet?

von Al3ko -. (al3ko)


Lesenswert?

Hi Jonas,

so wirklich warm mit µC bist du wohl noch nicht geworden, oder? :)

Jonas W. schrieb:
> ---------------------------
> ISP Mode Error
> ---------------------------
> A problem occurred when executing the command. Make sure that you are
> using the correct
> programming method. Current mode is ISP. See the command output for more
> info.
>
> The troubleshooting section in the help system contains more information
> on what may
> have caused the problems. To open the help system, click the Help button
> below.
>
> Quick Tips: Verify that the device is placed in the correct socket, and
> that the ISP
> cable is properly connected. Check that the ISP programming frequency
> specified on the
> 'Main' page is well below 1/4 of the clock frequency of the device.
> Extra precaution
> should be made when using the CKDIV fuse and/or Clock Prescaler Register
> (CLKPR) on
> parts supporting this.
> ---------------------------
> OK   Hilfe
> ---------------------------

Hast du die Quick Tips schon befolgt? Wenn du den Programmer anschließt, 
müsste eine zweite LED grün leuchten - das heißt, alles ist 
hardwaremäßig OK. Kannst du das bestätigen?

Ferner probier doch mal, die Frequenz herunterzuschalten. 125 kHz z.B.

Wenn du Pech hast, hast du dich von deinem µC ausgesperrt und müsstest 
ihn ggf. austauschen :(


Gruß

von Jonas W. (mf-fahrer)


Lesenswert?

Beide LEDs leuchten grün.
Und die Punkte habe ich abgearbeitet und es hat sich nichts geändert.

von Al3ko -. (al3ko)


Lesenswert?

Jonas W. schrieb:
> Beide LEDs leuchten grün.
Das ist doch schon mal gut :)
> Und die Punkte habe ich abgearbeitet und es hat sich nichts geändert.

Das ist nicht so gut :(

Hast du zufällig einen Ersatz-µC, den du ausprobieren könntest?


Gruß

von Visitor (Gast)


Lesenswert?

Hängt an den ISP-Programmierpins irendwelche Periphie? Falls ja, würde 
ich die zum Programmieren einfach mal vom MC trennen.

von Al3ko -. (al3ko)


Lesenswert?

Jonas W. schrieb:
> Beide LEDs leuchten grün.
> Und die Punkte habe ich abgearbeitet und es hat sich nichts geändert.

Hast du mal die Fuses geprüft? Mit denen kenne ich mich leider auch 
nicht sonderlich gut aus, aber das ist das, was ich mit "aussperren" 
meinte.

Gruß

von Jonas W. (mf-fahrer)


Lesenswert?

Anderen Controller habe ich schon geprüft.

von Al3ko -. (al3ko)


Lesenswert?

Jonas W. schrieb:
> Anderen Controller habe ich schon geprüft.
Hast du mal ein Update für den Programmer durchgeführt?

Wenn du AVR Studio geöffnet hast, ist da so ein Button mit "Con". Hast 
du da den richtigen Programmer ausgewählt?

von Jonas W. (mf-fahrer)


Lesenswert?

Er ist Ubgedatet und richtig ausgewählt.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.