Fehler schreiben 90S2343 Pony Prog

Gast #120436
Lesenswert?

Hallo

folgendes Problem: ich habe im AVR Studio einen kleinen Assembler
geschrieben. Den habe ich assembliert und die hex File mit Ponyprog
versucht zu schreiben: Fehler -21 beim Pony:-(

Lesen vom ATMEL klappt mit Pony. Leere Datei wieder zurückschreiben
auch!

Das HEX File sieht irgendwie auch komisch aus: (siehe Bild...)
Angehängte Dateien:
Gast #120437
Lesenswert?

wie wärs wenn du mal selber auf die ponyprog site gehst und in der doku
nach der besagten fehlermeldung suchst? ist doch nicht so schwer...

da findet sich ganz schnell sowas hier:
Q: I can't program ATmega, I always got "Write failed message".
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
Gast #120438
Lesenswert?

Okay...soweit so gut: aber es klappt immer noch nicht:-(

Liegt es ventuell an dem Format der .hex Datei? was hat die Option im
AVR STudio (siehe Bild) für das Format auf sich??????????? Liegts
eventuell daran???
Angehängte Dateien:
Gast #120440
Lesenswert?

Ich hatte mal das selbe Problem!
(kann mich jedoch nicht mehr genau erinnert)

Das Problem lag damals an einer alten PonyProg Version!

Wie man im Screenshot gut erkennen kann, interpretiert Ponyprog den
File
nicht richtig als intel-hex Datei.

Versuche mal ein Bin-File zu erzeugen und zu programmieren.

(Ich benutze die Version PonyProg 2.06c)

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren