ubuntuusers.de

AVR Ausgabe

Autor:
pfannkuchen
Datum:
7. Mai 2010 19:00
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
-------- 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$