Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make MAC_BYTE_6=0xB1 IP_ADDRESS_4=31 all
- -------- begin --------
- avr-gcc (GCC) 4.8.1
- Copyright (C) 2013 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.
- Compiling C: ../etherflash.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../etherflash.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/etherflash.o.d ../etherflash.c -o etherflash.o
- ../etherflash.c: In function ‘tftp_get’:
- ../etherflash.c:402:17: warning: assertions are a deprecated extension [-Wdeprecated]
- #if DEBUG_AV && #DEBUG_FLASH_PROG
- ^
- ../etherflash.c:263:22: warning: variable ‘ETH_packet’ set but not used [-Wunused-but-set-variable]
- struct ETH_header * ETH_packet; // ETH_struct anlegen
- ^
- Compiling C: ../checksum.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../checksum.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/checksum.o.d ../checksum.c -o checksum.o
- Compiling C: ../ethernet.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../ethernet.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/ethernet.o.d ../ethernet.c -o ethernet.o
- ../ethernet.c: In function ‘eth_packet_dispatcher’:
- ../ethernet.c:87:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- if (((struct IP_header *)ðernetbuffer[ETH_HDR_LEN])->IP_Proto == PROT_UDP)
- ^
- Compiling C: ../arp.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../arp.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/arp.o.d ../arp.c -o arp.o
- ../arp.c: In function ‘arp_reply’:
- ../arp.c:58:59: warning: iteration 6u invokes undefined behavior [-Waggressive-loop-optimizations]
- ARP_packet->ARP_destMac[i] = ARP_packet->ARP_sourceMac[i]; // MAC und IP umkopieren
- ^
- ../arp.c:57:4: note: containing loop
- for ( i = 0; i < 10; i++ )
- ^
- Compiling C: ../enc28j60.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../enc28j60.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/enc28j60.o.d ../enc28j60.c -o enc28j60.o
- Compiling C: ../spi.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../spi.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/spi.o.d ../spi.c -o spi.o
- Compiling C: ../udp.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../udp.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/udp.o.d ../udp.c -o udp.o
- Compiling C: ../dhcpc.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./../dhcpc.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/dhcpc.o.d ../dhcpc.c -o dhcpc.o
- Compiling C: eemem.c
- avr-gcc -c -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=./eemem.lst -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/eemem.o.d eemem.c -o eemem.o
- Calculate code size: device_001.sizeelf
- avr-gcc -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=etherflash.o -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/device_001.sizeelf.d etherflash.o checksum.o ethernet.o arp.o enc28j60.o spi.o udp.o dhcpc.o eemem.o --output device_001.sizeelf -Wl,--defsym=app_start=0 -Wl,-Map=device_001.map,--cref -lm -Wl,--defsym=app_start=0x7C00 -Wl,--section-start=.text=0x7C00 -T ../make.files/eth-avr5.x -Wl,--section-start=.bootloader=0x0000
- avr-size -x -A device_001.sizeelf > size.txt
- PATH=$PATH:../make.files && . checksize.sh size.txt 0x3ff 0x7C00
- Linking: device_001.elf
- blss=`gawk '/BL_CODE_START[[:space:]]+[[:xdigit:]]+/ {print $2}' size.txt`; avr-gcc -DCONFIG_MAC_BYTE_6=0xB1 -DCONFIG_IP_ADDRESS_4=31 -DCONFIG_REQ_FILENAME_3SYM= -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_FLAVOR=1 -DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=etherflash.o -I. -I.. -std=gnu99 -Wundef -MMD -MP -MF .dep/device_001.elf.d etherflash.o checksum.o ethernet.o arp.o enc28j60.o spi.o udp.o dhcpc.o eemem.o --output device_001.elf -Wl,--defsym=app_start=0 -Wl,-Map=device_001.map,--cref -lm -Wl,--defsym=app_start=0x7C00 -Wl,--section-start=.text=0x7C00 -T ../make.files/eth-avr5.x -Wl,--section-start=.bootloader=$blss
- Creating load file for Flash: device_001.hex
- avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock device_001.elf device_001.hex
- Creating load file for EEPROM: device_001.eep
- avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex device_001.elf device_001.eep || exit 0
- Creating Extended Listing: device_001.lss
- avr-objdump -h -S -z device_001.elf > device_001.lss
- Creating Symbol Table: device_001.sym
- avr-nm -n device_001.elf > device_001.sym
- Size after:
- AVR Memory Usage
- ----------------
- Device: atmega328p
- Program: 4326 bytes (13.2% Full)
- (.text + .data + .bootloader)
- Data: 783 bytes (38.2% Full)
- (.data + .bss + .noinit)
- EEPROM: 110 bytes (10.7% Full)
- (.eeprom)
- -------- end --------
- $ make program
- avrdude -p atmega328p -c stk500v1 -P/dev/ttyACM0 -b19200 -v -v -U flash:w:device_001.hex -U eeprom:w:device_001.eep
- avrdude: Version 6.1, compiled on Sep 11 2014 at 20:00:34
- Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
- Copyright (c) 2007-2014 Joerg Wunsch
- System wide configuration file is "/etc/avrdude.conf"
- User configuration file is "/home/samson/.avrduderc"
- User configuration file does not exist or is not a regular file, skipping
- Using Port : /dev/ttyACM0
- Using Programmer : stk500v1
- Overriding Baud Rate : 19200
- AVR Part : ATmega328P
- Chip Erase delay : 9000 us
- PAGEL : PD7
- BS2 : PC2
- RESET disposition : dedicated
- RETRY pulse : SCK
- serial program mode : yes
- parallel program mode : yes
- Timeout : 200
- StabDelay : 100
- CmdexeDelay : 25
- SyncLoops : 32
- ByteDelay : 0
- PollIndex : 3
- PollValue : 0x53
- Memory Detail :
- Block Poll Page Polled
- Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
- ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
- flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
- lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
- Programmer Type : STK500
- Description : Atmel STK500 Version 1.x firmware
- Hardware Version: 2
- Firmware Version: 1.18
- Topcard : Unknown
- Vtarget : 0.0 V
- Varef : 0.0 V
- Oscillator : Off
- SCK period : 0.1 us
- avrdude: AVR device initialized and ready to accept instructions
- Reading | ################################################## | 100% 0.06s
- avrdude: Device signature = 0x1e950f
- avrdude: safemode: lfuse reads as FF
- avrdude: safemode: hfuse reads as DE
- avrdude: safemode: efuse reads as 5
- 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 "device_001.hex"
- avrdude: input file device_001.hex auto detected as Intel Hex
- avrdude: writing flash (32458 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 32458 bytes of flash written
- avrdude: verifying flash memory against device_001.hex:
- avrdude: load data flash data from input file device_001.hex:
- avrdude: input file device_001.hex auto detected as Intel Hex
- avrdude: input file device_001.hex contains 32458 bytes
- avrdude: reading on-chip flash data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 32458 bytes of flash verified
- avrdude: reading input file "device_001.eep"
- avrdude: input file device_001.eep auto detected as Intel Hex
- avrdude: writing eeprom (110 bytes):
- Writing | ################################################## | 100% 6.19s
- avrdude: 110 bytes of eeprom written
- avrdude: verifying eeprom memory against device_001.eep:
- avrdude: load data eeprom data from input file device_001.eep:
- avrdude: input file device_001.eep auto detected as Intel Hex
- avrdude: input file device_001.eep contains 110 bytes
- avrdude: reading on-chip eeprom data:
- Reading | ################################################## | 100% 1.16s
- avrdude: verifying ...
- avrdude: 110 bytes of eeprom verified
- avrdude: safemode: lfuse reads as FF
- avrdude: safemode: hfuse reads as DE
- avrdude: safemode: efuse reads as 5
- avrdude: safemode: Fuses OK (E:05, H:DE, L:FF)
- avrdude done. Thank you.
- $ make fuse
- avrdude -p atmega328p -c stk500v1 -P/dev/ttyACM0 -b19200 -v -v -U lfuse:w:0xff:m -U hfuse:w:0xde:m -U efuse:w:0x05:m
- avrdude: Version 6.1, compiled on Sep 11 2014 at 20:00:34
- Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
- Copyright (c) 2007-2014 Joerg Wunsch
- System wide configuration file is "/etc/avrdude.conf"
- User configuration file is "/home/samson/.avrduderc"
- User configuration file does not exist or is not a regular file, skipping
- Using Port : /dev/ttyACM0
- Using Programmer : stk500v1
- Overriding Baud Rate : 19200
- AVR Part : ATmega328P
- Chip Erase delay : 9000 us
- PAGEL : PD7
- BS2 : PC2
- RESET disposition : dedicated
- RETRY pulse : SCK
- serial program mode : yes
- parallel program mode : yes
- Timeout : 200
- StabDelay : 100
- CmdexeDelay : 25
- SyncLoops : 32
- ByteDelay : 0
- PollIndex : 3
- PollValue : 0x53
- Memory Detail :
- Block Poll Page Polled
- Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
- ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
- flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
- lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
- Programmer Type : STK500
- Description : Atmel STK500 Version 1.x firmware
- Hardware Version: 2
- Firmware Version: 1.18
- Topcard : Unknown
- Vtarget : 0.0 V
- Varef : 0.0 V
- Oscillator : Off
- SCK period : 0.1 us
- avrdude: AVR device initialized and ready to accept instructions
- Reading | ################################################## | 100% 0.05s
- avrdude: Device signature = 0x1e950f
- avrdude: safemode: lfuse reads as FF
- avrdude: safemode: hfuse reads as DE
- avrdude: safemode: efuse reads as 5
- avrdude: reading input file "0xff"
- avrdude: writing lfuse (1 bytes):
- Writing | ################################################## | 100% 0.02s
- avrdude: 1 bytes of lfuse written
- avrdude: verifying lfuse memory against 0xff:
- avrdude: load data lfuse data from input file 0xff:
- avrdude: input file 0xff contains 1 bytes
- avrdude: reading on-chip lfuse data:
- Reading | ################################################## | 100% 0.02s
- avrdude: verifying ...
- avrdude: 1 bytes of lfuse verified
- avrdude: reading input file "0xde"
- avrdude: writing hfuse (1 bytes):
- Writing | ################################################## | 100% 0.02s
- avrdude: 1 bytes of hfuse written
- avrdude: verifying hfuse memory against 0xde:
- avrdude: load data hfuse data from input file 0xde:
- avrdude: input file 0xde contains 1 bytes
- avrdude: reading on-chip hfuse data:
- Reading | ################################################## | 100% 0.02s
- avrdude: verifying ...
- avrdude: 1 bytes of hfuse verified
- avrdude: reading input file "0x05"
- avrdude: writing efuse (1 bytes):
- Writing | ################################################## | 100% 0.02s
- avrdude: 1 bytes of efuse written
- avrdude: verifying efuse memory against 0x05:
- avrdude: load data efuse data from input file 0x05:
- avrdude: input file 0x05 contains 1 bytes
- avrdude: reading on-chip efuse data:
- Reading | ################################################## | 100% 0.02s
- avrdude: verifying ...
- avrdude: 1 bytes of efuse verified
- avrdude: safemode: lfuse reads as FF
- avrdude: safemode: hfuse reads as DE
- avrdude: safemode: efuse reads as 5
- avrdude: safemode: Fuses OK (E:05, H:DE, L:FF)
- avrdude done. Thank you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement