vinyl@ubuntu:~/Desktop/CHV/output
devices/speaker$ sudo make -f
hello.speaker.45.make
program-usbtiny
avr-objcopy -O
ihex hello.speaker.45.out hello.speaker.45.c.hex;\
avr-size --mcu=attiny45
--format=avr hello.speaker.45.out
AVR Memory Usage
----------------
Device: attiny45
Program: 372 bytes
(9.1% Full)
(.text + .data + .bootloader)
Data:
10 bytes (3.9% Full)
(.data + .bss + .noinit)
avrdude -v
-p t45 -P usb -c usbtiny -U
flash:w:hello.speaker.45.c.hex
avrdude:
Version 5.11.1, compiled on Oct 30 2011 at 10:37:28
Copyright
(c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright
(c) 2007-2009 Joerg Wunsch
System
wide configuration file is "/etc/avrdude.conf"
User
configuration file is "/home/vinyl/.avrduderc"
User
configuration file does not exist or is not a regular file,
skipping
Using
Port
:
usb
Using
Programmer
:
usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: 002:053
AVR
Part
:
ATtiny45
Chip
Erase delay
:
4500 us
PAGEL
:
P00
BS2 :
P00
RESET
disposition
:
possible i/o
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 6
4 0 no
256 4
0 4000
4500 0xff 0xff
flash 65
6 32 0 yes
4096 64 64
4500
4500 0xff 0xff
signature 0
0 0 0 no
3 0
0 0
0 0x00 0x00
lock
0
0 0 0 no
1 0
0 9000
9000 0x00 0x00
lfuse
0
0 0 0 no
1 0
0 9000
9000 0x00 0x00
hfuse
0
0 0 0 no
1 0
0 9000
9000 0x00 0x00
efuse
0
0 0 0 no
1 0
0 9000
9000 0x00 0x00
calibration 0 0
0 0 no
2 0
0 0
0 0x00 0x00
Programmer
Type : USBtiny
Description : USBtiny
simple USB programmer,
http://www.ladyada.net/make/usbtinyisp/
avrdude:
programmer operation not supported
avrdude:
Using SCK period of 10 usec
avrdude:
AVR device initialized and ready to accept instructions
Reading |
################################################## | 100% 0.00s
avrdude:
Device signature = 0x1e9206
avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as DF
avrdude: safemode: efuse reads as FF
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:
Using SCK period of 10 usec
avrdude:
reading input file "hello.speaker.45.c.hex"
avrdude:
input file hello.speaker.45.c.hex auto detected as Intel Hex
avrdude:
writing flash (372 bytes):
Writing |
################################################## | 100% 0.40s
avrdude:
372 bytes of flash written
avrdude:
verifying flash memory against hello.speaker.45.c.hex:
avrdude:
load data flash data from input file hello.speaker.45.c.hex:
avrdude:
input file hello.speaker.45.c.hex auto detected as Intel Hex
avrdude:
input file hello.speaker.45.c.hex contains 372 bytes
avrdude:
reading on-chip flash data:
Reading |
################################################## | 100% 0.36s
avrdude:
verifying ...
avrdude:
verification error, first mismatch at byte 0x0000
0x0e != 0x00
avrdude:
verification error; content mismatch
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: lfuse changed! Was 62, and is now 0
Would you like this fuse to be changed back? [y/n]