Forum: Mikrocontroller und Digitale Elektronik Programmieren (SP12) geht nicht


von Honkey H. (honkeys)


Lesenswert?

Hallo ich habe folgendes Problem ich habe eine kleine gemultiplexte 
Schaltung auf meinem Steckbrett aufgebau und versuche diese nun zu 
programmieren, allerdings kommt dann folgender Fehler:

> "make.exe" program
avrdude -p attiny2313 -P lpt1 -c sp12    -U flash:w:segment.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.00s

avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be 
performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "segment.hex"
avrdude: input file segment.hex auto detected as Intel Hex
avrdude: writing flash (114 bytes):

Writing | ################################################## | 100% 
0.14s

avrdude: 114 bytes of flash written
avrdude: verifying flash memory against segment.hex:
avrdude: load data flash data from input file segment.hex:
avrdude: input file segment.hex auto detected as Intel Hex
avrdude: input file segment.hex contains 114 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 
0.05s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x000b
         0xc0 != 0xff
avrdude: verification error; content mismatch

avrdude done.  Thank you.

make.exe: *** [program] Error 1

> Process Exit Code: 2
> Time Taken: 00:03


kann es sein dass es etwas mit dem Quarz zu tun hat (im Makefile falsche 
Frequenz, bzw. dass er nichts schwingt?

Vielleicht hatte ihr schonmal ein ähnliches problem bin jetzt schon seit 
Stunden auf der Fehlersuche, am Programmierer kann es nicht liegen habe 
das mit nem anderen Controllerboard getestet.

von A.K. (Gast)


Lesenswert?

Ohne Takt würde avrdude es nicht mal bis zur Signatur bringen.

von alfsch (Gast)


Lesenswert?

was nu : sp12 oder avrdude ??

tiny2313 ging bei mir nur mit sp12, nicht mit avrdude !!

von Honkey H. (honkeys)


Lesenswert?

ich dachte sp12 ist eine programmierart und avrdude die software dazu 
oder liege ich da falsch?

von A.K. (Gast)


Lesenswert?

SP12 ist sowohl ein Parallelportinterface, ähnlich STK200/Kanda nur 
andere Pins, als auch eine Programm für ebendieses (und Kanda).

von Honkey H. (honkeys)


Lesenswert?

Mmh wie kann ich um zu überprüfen ob es am Quarz liegt einen 
Funktionsgenerator an den µController anschließen?

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.