Jepujee, ei hassummin, sain ensimmäistä kertaa koko workflown
kurppa@lanka:~/Desktop/datat/koulu/digiele/avr/lcd_ohjaus$ gavrasm lcd_test.asm
+------------------------------------------------------------+
| gavrasm gerd's AVR assembler Version 2.1 (C)2006 by DG4FAC |
+------------------------------------------------------------+
Compiling Source file: lcd_test.asm
-------
Pass: 1
Line: 1
Warning 009: Include defs not necessary, using internal values!
File: lcd_test.asm, Line: 1
Source line: .include "tn2313def.inc"
472 lines done.
Pass 1 ok.
-------
Pass: 2
Line: 1
Warning 009: Include defs not necessary, using internal values!
File: lcd_test.asm, Line: 1
Source line: .include "tn2313def.inc"
Line: 472
Warning 004: Number of bytes on line is odd, added 00 to fit program memory!
File: lcd_test.asm, Line: 472
Source line: start2: .DB "15. 3. 2008 ", 0x00
472 lines done.
Warning 001: 9 symbol(s) defined, but not used!
203 words code, 13 words constants, total=216 = 21.1%
3 warnings!
Compilation completed, no errors. Bye, bye ...
kurppa@lanka:~/Desktop/datat/koulu/digiele/avr/lcd_ohjaus$ avrdude -p t2313 -P /dev/ttyS0 -c stk500v2 -U flash:w:lcd_test.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e910a
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 "lcd_test.hex"
avrdude: input file lcd_test.hex auto detected as Intel Hex
avrdude: writing flash (454 bytes):
Writing | ################################################## | 100% 0.69s
avrdude: 454 bytes of flash written
avrdude: verifying flash memory against lcd_test.hex:
avrdude: load data flash data from input file lcd_test.hex:
avrdude: input file lcd_test.hex auto detected as Intel Hex
avrdude: input file lcd_test.hex contains 454 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.58s
avrdude: verifying ...
avrdude: 454 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
kurppa@lanka:~/Desktop/datat/koulu/digiele/avr/lcd_ohjaus$