-------- begin --------
avr-gcc (GCC) 4.1.1
Copyright (C) 2006 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 148 0
.stab 1632 0
.stabstr 1820 0
Total 3600
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: there are no sections to be copied!
avr-objcopy: --change-section-lma .eeprom=0x00000000 never used
make: [main.eep] Error 1 (ignored)
Size after:
main.elf :
section size addr
.text 148 0
.stab 1632 0
.stabstr 1820 0
Total 3600
Errors: none
-------- end --------
macerei:Desktop hannes$ avrdude -c avr911 -e -p m32 -P /dev/tty.SLAB_USBtoUART -b 19200 -U flash:w:main.hex
Connecting to programmer: .
Found programmer: Id = "AVR ISP"; type = S
Software Version = 2.5; Hardware Version = 2.0
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x01
Device code: 0x02
Device code: 0x03
.
.
.
Device code: 0x7c
Device code: 0x7d
Device code: 0x7e
Device code: 0x7f
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e9502
avrdude: erasing chip
avrdude: reading input file "main.hex"
avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (148 bytes):
Writing | ################################################## | 100% 0.16s
avrdude: 148 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 148 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.08s
avrdude: verifying ...
avrdude: 148 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
macerei:Desktop hannes$