Forum: Mikrocontroller und Digitale Elektronik atmel avr-programmierung


von christian schmidt (Gast)


Lesenswert?

servus
ich hab mir einen avr isp-programmer über ebay gekauft.das teil scheint
auch zu funktionieren, ponyprog bringt aber beim lesen und schreiben
den fehlercode "-21".was könnte das problem sein?die einstellungen
des programms sind richtig.
hab es an nen at90s8515 angeschlossen. die mosi-leitung hab ich mal mit
ner led getestet, da kam auch irgendwas an. programmieren lässt sich
aber nix...
könnte dies am quarz oder so liegen(4MHz)?

danke
chris

von Conlost (Gast)


Lesenswert?

Hallo Chris,

schau mal in die Hilfe von Ponyprog, da steht bei dieser
Fehlermeldung etwas von :

Q: I can't program AVR AT90Sxxx, I receive error -21 and the program
fails. What is the problem?

A: Increase the following parameters in the ponyprog.ini file (all
times are in milliseconds)

   AVRByteWriteDelay=30         'Delay to complete the write of a
single word
   AVREraseDelay=100            'Delay to complete the erase of all
the memory

   In case of ATmega increase also the following parameter:
   ATMegaPageWriteDelay=50      'Delay to complete the write of a page
of flash memory

Ich hoffe es hilft etwas.

Gruß,
Arno

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.