Forum: Mikrocontroller und Digitale Elektronik ATMEGA8 Makefile


von Max (Gast)


Lesenswert?

Hallo leute,

ich hab ein ziemliches problem. Ich bekomme einfach das programm nicht 
in meinem selbstgebaute Platine rein. Ich benutze WINAVR als 
Entwicklungsumgebung und ATMEGA8 µC. Ich verwende STK200 und lpt1 
anschluss an dem pc. Es kommen solche meldungen:


reating load file for EEPROM: main.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 --no-change-warnings -O ihex main.elf 
main.eep || exit 0
d:\WinAVR\bin\avr-objcopy.exe: there are no sections to be copied!
avrdude -p atmega8 -P lpt1 -c stk200    -U flash:w:main.hex

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

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

> Process Exit Code: 2

von e_g (Gast)


Lesenswert?

Überprüfe mal ob du den Programmer richtig an deinen Mega8 angeschlossen 
hast!

von Max (Gast)


Lesenswert?

Hallo,

hab den fehler gefunden. Es lag an der Platine die GND verbindung von 
der schnittstelle habe ich vergessen gahabt zu machen.

Danke!

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.