-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Robert schrieb:
Alexander Neumann schrieb:
Wenn du das alles gemacht hast, gib mal 'make install' ein, dann sollte dir avrdude die Datei fnordlicht.hex aufspielen. Danach trennst du das fnordlicht vom Strom, setzt den Jumper zurueck, und haengst es wieder dran, und schaust mal, was passiert :)
Gruss,
- fd0
Danke für deine Geduld, aber irgdendwas mach ich wohl noch falsch. Es gibt leider keine Veränderung. :(
Ciao treb
Ha, nun funktionierts doch. Ich hab meinen Ordner mit der firmware gelöscht und nochmal neu entpackt, das Script geändert und 'make' ausgeführt.
Dabei bekomme ich jetzt einiges mehr an Meldung:
$ make avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o fnordlicht.o fnordlicht.c In file included from fnordlicht.c:51: testscript.h:169: warning: large integer implicitly truncated to unsigned type avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o fifo.o fifo.c fifo.c:32: warning: C99 inline functions are not supported; using GNU89 fifo.c:32: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute fifo.c:41: warning: C99 inline functions are not supported; using GNU89 fifo.c:46: warning: C99 inline functions are not supported; using GNU89 fifo.c:54: warning: C99 inline functions are not supported; using GNU89 fifo.c:66: warning: C99 inline functions are not supported; using GNU89 fifo.c:77: warning: C99 inline functions are not supported; using GNU89 avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o i2c.o i2c.c avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o pwm.o pwm.c pwm.c:104: warning: C99 inline functions are not supported; using GNU89 pwm.c:104: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute pwm.c:124: warning: C99 inline functions are not supported; using GNU89 avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o rc5.o rc5.c avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o static_scripts .o static_scripts.c avr-gcc -DRS485_ADDRESS=0x01 -g -Os -finline-limit=800 -mmcu=atmega8 - -DF_CPU=16000000UL -std=gnu99 -c -o uart.o uart.c uart.c:46: warning: C99 inline functions are not supported; using GNU89 uart.c:46: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute uart.c:56: warning: C99 inline functions are not supported; using GNU89 avr-gcc -L/usr/local/avr/avr/lib -mmcu=atmega8 fnordlicht.o fifo.o i2c.o pwm.o rc5.o static_scripts.o uart.o -o fnordl icht avr-objcopy -O ihex -R .eeprom fnordlicht fnordlicht.hex avr-objcopy --set-section-flags=.eeprom="alloc,load" - --change-section-lma .eeprom=0 -O ihex -j .eeprom fnordlicht fnordli cht.eep.hex avr-objcopy: there are no sections to be copied! avr-objcopy: --change-section-lma .eeprom=0x0000000000000000 nie benutzt make: *** [fnordlicht.eep.hex] Fehler 1
Aber das neue Script läuft! :))
Wenn ich dann aber ein neues Script draufspielen will, muss ich immer erst den firmware-Ordner löschen und neu entpacken. Wenn ich das Script nur ändere und 'Make' ausführe erscheint u.a.:
avr-objcopy: there are no sections to be copied!
Aber das ist erstmal ein zu vernachlässigendes Problem.
Danke für die schnelle Hilfe!
Ciao, treb