Date post: | 18-Jun-2015 |
Category: |
Technology |
Upload: | vaneza-caycho-nuflo |
View: | 195 times |
Download: | 1 times |
Week 10
Creater a mold of a mold
Introduction to the chapter
LIGHT
• root@fablab-desktop:~# cd Escritorio/ • root@fablab-desktop:~/Escritorio# cd input\ device/
root@fablab-desktop:~/Escritorio/input device# sudo make -f hello.light.45.make program-usbtiny avr-objcopy -O ihex hello.light.45.out hello.light.45.c.hex;\ avr-size --mcu=attiny45 --format=avr hello.light.45.out AVR Memory Usage ---------------- Device: attiny45
• Program: 522 bytes (12.7% Full) (.text + .data + .bootloader)
• Data: 1 bytes (0.4% Full) (.data + .bss + .noinit)
• avrdude -p t45 -P usb -c usbtiny -U flash:w:hello.light.45.c.hex
• avrdude: AVR device initialized and ready to accept instructions • Reading | ################################################## | 100% 0.00s • avrdude: Device signature = 0x1e9206
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 "hello.light.45.c.hex" avrdude: input file hello.light.45.c.hex auto detected as Intel Hex avrdude: writing flash (522 bytes):
• Writing | ################################################## | 100% 0.77s • • avrdude: 522 bytes of flash written
avrdude: verifying flash memory against hello.light.45.c.hex: avrdude: load data flash data from input file hello.light.45.c.hex: avrdude: input file hello.light.45.c.hex auto detected as Intel Hex avrdude: input file hello.light.45.c.hex contains 522 bytes avrdude: reading on-chip flash data:
• Reading | ################################################## | 100% 0.50s • • avrdude: verifying ...
avrdude: 522 bytes of flash verified • avrdude: safemode: Fuses OK • avrdude done. Thank you. •
SOUND
• root@fablab-desktop:~/Escritorio# cd input\ device/ • root@fablab-desktop:~/Escritorio/input device# sudo make -f hello.mic.45.make program-usbtiny
avr-objcopy -O ihex hello.mic.45.out hello.mic.45.c.hex;\ avr-size --mcu=attiny45 --format=avr hello.mic.45.out AVR Memory Usage ---------------- Device: attiny45
• Program: 570 bytes (13.9% Full) (.text + .data + .bootloader)
• Data: 201 bytes (78.5% Full) (.data + .bss + .noinit)
• avrdude -p t45 -P usb -c usbtiny -U flash:w:hello.mic.45.c.hex
• avrdude: AVR device initialized and ready to accept instructions
• Reading | ################################################## | 100% 0.00s • avrdude: Device signature = 0x1e9206
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 "hello.mic.45.c.hex" avrdude: input file hello.mic.45.c.hex auto detected as Intel Hex avrdude: writing flash (570 bytes):
• Writing | ################################################## | 100% 0.82s
• avrdude: 570 bytes of flash written • avrdude: verifying flash memory against hello.mic.45.c.hex:
avrdude: load data flash data from input file hello.mic.45.c.hex: avrdude: input file hello.mic.45.c.hex auto detected as Intel Hex avrdude: input file hello.mic.45.c.hex contains 570 bytes avrdude: reading on-chip flash data:
• Reading | ################################################## | 100% 0.54s
• avrdude: verifying ... • avrdude: 570 bytes of flash verified • avrdude: safemode: Fuses OK • avrdude done. Thank you.
Vaneza Caycho