user@host: ~/Projekte/µC/Programme/Zombie $ make -------- begin -------- avr-gcc (Gentoo 4.6.3 p1.3, pie-0.5.1) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Size before: main.elf : section size addr .text 1364 0 .data 1626 8388704 .bss 174 8390330 .debug_aranges 40 0 .debug_info 1722 0 .debug_abbrev 376 0 .debug_line 627 0 .debug_frame 212 0 .debug_str 451 0 .debug_loc 1481 0 .debug_ranges 24 0 Total 8097 Compiling: main.c avr-gcc -c -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=8000000L -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 -DF_OSC=8000000 -MD -MP -MF .dep/main.o.d main.c -o main.o main.c: In function ‘main’: main.c:249:11: warning: variable ‘rowstatus’ set but not used [-Wunused-but-set-variable] Linking: main.elf avr-gcc -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=8000000L -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 -DF_OSC=8000000 -MD -MP -MF .dep/main.elf.d main.o --output main.elf -Wl,-Map=main.map,--cref -lm Creating load file for Flash: main.hex avr-objcopy -O ihex -R .eeprom main.elf main.hex Creating load file for EEPROM: main.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex main.elf main.eep avr-objcopy: --change-section-lma .eeprom=0x0000000000000000 never used Creating Extended Listing: main.lss avr-objdump -h -S main.elf > main.lss Creating Symbol Table: main.sym avr-nm -n main.elf > main.sym Size after: main.elf : section size addr .text 1376 0 .data 1626 8388704 .bss 174 8390330 .debug_aranges 40 0 .debug_info 1722 0 .debug_abbrev 376 0 .debug_line 628 0 .debug_frame 212 0 .debug_str 451 0 .debug_loc 1465 0 .debug_ranges 24 0 Total 8094 Errors: none -------- end -------- user@host ~/Projekte/µC/Programme/Zombie $ avrdude -p m8 -c ponyser -P /dev/ttyS0 -U flash:w:main.hex -U lfuse:w:0xe4:m -U hfuse:w:0xd9:m avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9307 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 "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (3002 bytes): Writing | ################################################## | 100% 1.32s avrdude: 3002 bytes of flash written avrdude: verifying flash memory against main.hex: avrdude: load data flash data from input file main.hex: avrdude: input file main.hex auto detected as Intel Hex avrdude: input file main.hex contains 3002 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 1.07s avrdude: verifying ... avrdude: 3002 bytes of flash verified avrdude: reading input file "0xe4" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xe4: avrdude: load data lfuse data from input file 0xe4: avrdude: input file 0xe4 contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude: reading input file "0xd9" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xd9: avrdude: load data hfuse data from input file 0xd9: avrdude: input file 0xd9 contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: safemode: Fuses OK avrdude done. Thank you.