20130329-164719

This commit is contained in:
2013-03-29 15:46:49 +00:00
parent bc21a2147a
commit a1129dead7
30 changed files with 2885 additions and 1740 deletions
Binary file not shown.
+6 -2
View File
@@ -1,4 +1,4 @@
Reciver.d Reciver.o: .././Reciver.c \
Reciver.d Reciver.o: .././Reciver.c .././global.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/io.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/sfr_defs.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/inttypes.h \
@@ -14,7 +14,9 @@ Reciver.d Reciver.o: .././Reciver.c \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay_basic.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/math.h \
.././rf12.h
.././rf12.h .././codes.h
.././global.h:
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/io.h:
@@ -47,3 +49,5 @@ c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/math.h:
.././rf12.h:
.././codes.h:
Binary file not shown.
+102 -72
View File
@@ -1,78 +1,108 @@
:100000000C942A000C9447000C9447000C94470071
:100010000C9447000C9447000C9447000C94470044
:100020000C9447000C94A9000C9447000C944700D2
:100020000C9447000C94C9000C9447000C944700B2
:100030000C9447000C9447000C9447000C94470024
:100040000C9447000C9447000C9447000C94470014
:100050000C94470011241FBECFE5D4E0DEBFCDBF16
:1000600010E0A0E6B0E0E2ECF4E002C005900D92F2
:10007000A036B107D9F710E0A0E6B0E001C01D92AC
:10008000A236B107E1F70E94DB000C945F020C94EA
:100090000000B89AC09A8FE39CE90197F1F700C07D
:1000A0000000C0988AEC90E090936100809360001B
:1000B0008FEF96E1A1E181509040A040E1F700C0B0
:1000C000000010926100109260008FEF96E1A1E1B4
:1000D00081509040A040E1F700C000000895CF9308
:1000E000DF9300D0CDB7DEB719821A82CE01019618
:1000F00062E00E94F2018981873329F48A81833684
:1001000011F40E9449000F900F90DF91CF91089554
:10011000CF93DF930F92CDB7DEB781E08983CE0115
:10012000019661E00E94AA018FEF90E7A2E0815062
:100130009040A040E1F700C000000F90DF91CF9108
:10014000089585E083BF88E582BF1CBE81E089BF3A
:1001500008951F920F920FB60F9211242F933F9381
:100160008F939F9388E582BFB99AC19A8FEA94E0F2
:100170000197F1F700C0000080916000909161004C
:100180001816190674F480E090E025E12A95F1F73D
:100190000000019620916000309161008217930762
:1001A000A4F3C1989F918F913F912F910F900FBE13
:1001B0000F901F9018950E94160180E296E00E9411
:1001C0005E0181E060E047E00E94400180E895E246
:1001D0000E946E0180E066E00E9495010E94A100ED
:1001E00078940E946F008FEF91EEA4E081509040D0
:1001F000A040E1F700C00000F4CF949840E120E077
:1002000030E0992314F4969A01C09698220F331F78
:1002100083992160959A880F991F00C000009598D6
:10022000415079F7949A822F932F089580E781BBEC
:1002300080E182BB8FEF90E7A2E081509040A04028
:10024000E1F700C0000080EE90EC0E94FD0087ED19
:1002500090E80E94FD008BEA92EC0E94FD0081E88C
:100260009AEC0E94FD0080E090EE0E94FD0080E08C
:1002700098EC0E94FD0087EF94EC0E94FD00089529
:1002800090E0880F991F82959295907F9827807FA4
:100290009827907050E047705070842B952B94698C
:1002A00070E063707070660F771F660F771F660FC0
:1002B000771F862B972B0E94FD00089580369105AD
:1002C00038F02FE08034920728F08FE39FE002C0DF
:1002D00080E690E0906A0E94FD00089522E0873950
:1002E000920710F125E18831920780F49C0140E0EB
:1002F00050E060E678EA80E090E00E944402C901A4
:1003000001978068966C0E94FD0008959C0140E072
:1003100050E06CEF72E485E090E00E942202C90197
:100320000197966C0E94FD00089590E08770907090
:10033000986970E062957295707F7627607F762766
:100340007070862B972B0E94FD0008959498839BD4
:10035000FECF08950F931F93CF93DF938C01C62F89
:1003600088E392E80E94FD000E94A6018AEA98EBC9
:100370000E94FD000E94A6018AEA98EB0E94FD00FF
:100380000E94A6018AEA98EB0E94FD000E94A60145
:100390008DE298EB0E94FD000E94A60184ED98EB8F
:1003A0000E94FD00CC2399F0C8010196C1509C0128
:1003B0002C0F311DE9010E94A601F80181918F01E6
:1003C00090E0986B0E94FD000C171D07A1F70E949A
:1003D000A60188E092E80E94FD00DF91CF911F9175
:1003E0000F9108950F931F93CF93DF938C01D62F16
:1003F00088EC92E80E94FD0081E89AEC0E94FD00E2
:1004000083E89AEC0E94FD00DD2399F0C801019673
:10041000D1509C012D0F311DE9010E94A60180E001
:1004200090EB0E94FD00F80181938F01EC17FD070E
:10043000A1F788E092E80E94FD00DF91CF911F9123
:100440000F910895A1E21A2EAA1BBB1BFD010DC03E
:10045000AA1FBB1FEE1FFF1FA217B307E407F50774
:1004600020F0A21BB30BE40BF50B661F771F881F50
:10047000991F1A9469F760957095809590959B01E6
:10048000AC01BD01CF01089597FB092E05260ED0C2
:1004900057FD04D0D7DF0AD0001C38F450954095A2
:1004A000309521953F4F4F4F5F4F0895F6F7909548
:1004B0008095709561957F4F8F4F9F4F0895F89469
:0204C000FFCF6C
:1000600010E0A0E6B0E0E0EAF6E002C005900D92F4
:10007000A236B107D9F710E0A2E6B0E001C01D92A8
:10008000A636B107E1F70E9461010C944E030C946F
:10009000000080916000909161008630910511F11F
:1000A00086E090E090936100809360008AEC90E09D
:1000B00090936300809362008FEF96E1A1E18150FD
:1000C0009040A040E1F700C0000010926300109241
:1000D00062008FEF96E1A1E181509040A040E1F7EE
:1000E00000C0000008950895CF930E9427020E9447
:1000F00034028823E1F70E943902882321F08A30F4
:1001000011F0803FE1F50E9434028823E1F70E945C
:100110003902C82F0E9434028823E1F7C13079F5F3
:100120000E943902843051F0853018F4813039F55D
:1001300016C0853051F0873011F50EC082E090E096
:1001400090936100809360000AC083E090E09093F8
:1001500061008093600003C00E94490010C00E94AB
:100160003E028FE39CE90197F1F700C00000409147
:1001700060005091610081E06AE00E94BB02CF9173
:10018000089585E083BF88E582BF1CBE81E089BFFA
:1001900008951F920F920FB60F9211242F933F9341
:1001A0008F939F9388E582BF80916000909161005A
:1001B00082309105D9F4809164009091650082337A
:1001C000910554F48091640090916500019690939C
:1001D0006500809364000AC0B89AB09B02C0C098C2
:1001E00001C0C09A10926500109264008091600076
:1001F0009091610083309105D9F4809164009091D1
:1002000065008530910554F48091640090916500FB
:10021000019690936500809364000AC0B89AB09BE1
:1002200002C0C09801C0C09A10926500109264008C
:10023000809160009091610086309105D9F48091A1
:100240006400909165001816190654F080916400BE
:1002500090916500019690936500809364000AC0B8
:10026000B89AB09B02C0C09801C0C09A10926500B5
:1002700010926400B99AC19A8FEA94E00197F1F75D
:1002800000C000008091620090916300181619066A
:1002900074F480E090E025E12A95F1F700000196E2
:1002A000209162003091630082179307A4F3C198F4
:1002B0009F918F913F912F910F900FBE0F901F90A4
:1002C00018950E94930180E296E00E94DB0181E094
:1002D00060E047E00E94BD0180E895E20E94EB01EA
:1002E00080E066E00E9412020E94C10078940E94A1
:1002F0007400FDCF949840E120E030E0992314F49D
:10030000969A01C09698220F331F83992160959A7F
:10031000880F991F00C000009598415079F7949A72
:10032000822F932F089581B3806781BB949A8FEFBA
:1003300090E7A2E081509040A040E1F700C00000AB
:1003400080EE90EC0E947A0187ED90E80E947A019D
:100350008BEA92EC0E947A0181E89AEC0E947A0181
:1003600080E090EE0E947A0180E098EC0E947A0191
:1003700087EF94EC0E947A01089590E0880F991F0E
:1003800082959295907F9827807F9827907050E073
:1003900047705070842B952B946970E06370707077
:1003A000660F771F660F771F660F771F862B972BB9
:1003B0000E947A0108958036910538F02FE080344C
:1003C000920728F08FE39FE002C080E690E0906AF9
:1003D0000E947A01089522E08739920710F125E101
:1003E0008831920780F49C0140E050E060E678EAB2
:1003F00080E090E00E943303C90101978068966C09
:100400000E947A0108959C0140E050E06CEF72E494
:1004100085E090E00E941103C9010197966C0E944B
:100420007A01089590E087709070986970E0629505
:100430007295707F7627607F76277070862B972B5A
:100440000E947A0108959498839BFECF089588ECCA
:1004500092E80E947A0181E89AEC0E947A0183E88E
:100460009AEC0E947A010895949881E0839980E043
:10047000089580E090EB0E947A01089588E092E868
:100480000E947A0108950F931F93CF93DF938C01FD
:10049000C62F88E392E80E947A010E9423028AEA2A
:1004A00098EB0E947A010E9423028AEA98EB0E944C
:1004B0007A010E9423028AEA98EB0E947A010E9444
:1004C00023028DE298EB0E947A010E94230284EDC0
:1004D00098EB0E947A01CC2399F0C8010196C15093
:1004E0009C012C0F311DE9010E942302F80181912A
:1004F0008F0190E0986B0E947A010C171D07A1F7FD
:100500000E94230288E092E80E947A01DF91CF9155
:100510001F910F9108950F931F93CF93DF938C0139
:10052000D62F88EC92E80E947A0181E89AEC0E942A
:100530007A0183E89AEC0E947A01DD2399F0C801E0
:100540000196D1509C012D0F311DE9010E9423021B
:1005500080E090EB0E947A01F80181938F01EC1703
:10056000FD07A1F788E092E80E947A01DF91CF9120
:100570001F910F9108951F93CF93DF93182FD62FBC
:10058000C42F88E392E80E947A010E9423028AEA3B
:1005900098EB0E947A010E9423028AEA98EB0E945B
:1005A0007A010E9423028AEA98EB0E947A010E9453
:1005B00023028DE298EB0E947A010E94230284EDCF
:1005C00098EB0E947A010E942302812F90E0986BA1
:1005D0000E947A010E9423028D2F90E0986B0E9466
:1005E0007A010E9423028C2F90E0986B0E947A017E
:1005F0000E94230280E098EB0E947A010E9423026D
:1006000088E092E80E947A018FEF90E7A2E08150A3
:100610009040A040E1F700C00000DF91CF911F9112
:100620000895A1E21A2EAA1BBB1BFD010DC0AA1F33
:10063000BB1FEE1FFF1FA217B307E407F50720F04B
:10064000A21BB30BE40BF50B661F771F881F991FC6
:100650001A9469F760957095809590959B01AC010F
:10066000BD01CF01089597FB092E05260ED057FD39
:1006700004D0D7DF0AD0001C38F45095409530954F
:1006800021953F4F4F4F5F4F0895F6F79095809516
:10069000709561957F4F8F4F9F4F0895F894FFCFCE
:0206A000020056
:00000001FF
File diff suppressed because it is too large Load Diff
+108 -101
View File
@@ -124,7 +124,7 @@ LOAD c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1
.rela.plt
*(.rela.plt)
.text 0x00000000 0x4c2
.text 0x00000000 0x6a0
*(.vectors)
.vectors 0x00000000 0x54 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5/crtm16a.o
0x00000000 __vector_default
@@ -200,42 +200,47 @@ LOAD c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1
0x0000008e __vector_16
0x0000008e __vector_18
0x0000008e __vector_20
.text 0x00000092 0x168 Reciver.o
.text 0x00000092 0x262 Reciver.o
0x00000092 turn
0x000000de recive
0x00000110 send
0x00000142 init_timer
0x00000152 __vector_9
0x000001b6 main
.text 0x000001fa 0x24a rf12.o
0x000001fa rf12_trans
0x0000022c rf12_init
0x00000280 rf12_setbandwidth
0x000002bc rf12_setfreq
0x000002dc rf12_setbaud
0x0000032a rf12_setpower
0x0000034c rf12_ready
0x00000354 rf12_txdata
0x000003e4 rf12_rxdata
.text 0x00000444 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.text 0x00000444 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.text 0x00000444 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.text 0x00000444 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.text 0x00000444 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
0x00000444 . = ALIGN (0x2)
0x000000e6 poll
0x000000e8 recive
0x00000182 init_timer
0x00000192 __vector_9
0x000002c2 main
.text 0x000002f4 0x32e rf12.o
0x000002f4 rf12_trans
0x00000326 rf12_init
0x0000037a rf12_setbandwidth
0x000003b6 rf12_setfreq
0x000003d6 rf12_setbaud
0x00000424 rf12_setpower
0x00000446 rf12_ready
0x0000044e rf12_beginasyncrx
0x00000468 rf12_hasdata
0x00000472 rf12_rxbyte
0x0000047c rf12_endasyncrx
0x00000486 rf12_txdata
0x00000516 rf12_rxdata
0x00000576 rf12_txpacket
.text 0x00000622 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.text 0x00000622 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.text 0x00000622 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.text 0x00000622 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.text 0x00000622 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
0x00000622 . = ALIGN (0x2)
*(.text.*)
.text.libgcc 0x00000444 0x44 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
0x00000444 __udivmodsi4
.text.libgcc 0x00000488 0x36 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
0x00000488 __divmodsi4
.text.libgcc 0x000004be 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.text.libgcc 0x000004be 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.text.libgcc 0x000004be 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
0x000004be . = ALIGN (0x2)
.text.libgcc 0x00000622 0x44 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
0x00000622 __udivmodsi4
.text.libgcc 0x00000666 0x36 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
0x00000666 __divmodsi4
.text.libgcc 0x0000069c 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.text.libgcc 0x0000069c 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.text.libgcc 0x0000069c 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
0x0000069c . = ALIGN (0x2)
*(.fini9)
.fini9 0x000004be 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
0x000004be _exit
0x000004be exit
.fini9 0x0000069c 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
0x0000069c _exit
0x0000069c exit
*(.fini9)
*(.fini8)
*(.fini8)
@@ -254,53 +259,55 @@ LOAD c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1
*(.fini1)
*(.fini1)
*(.fini0)
.fini0 0x000004be 0x4 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.fini0 0x0000069c 0x4 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
*(.fini0)
0x000004c2 _etext = .
0x000006a0 _etext = .
.data 0x00800060 0x0 load address 0x000004c2
.data 0x00800060 0x2 load address 0x000006a0
0x00800060 PROVIDE (__data_start, .)
*(.data)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5/crtm16a.o
.data 0x00800060 0x0 Reciver.o
.data 0x00800060 0x0 rf12.o
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.data 0x00800060 0x2 Reciver.o
0x00800060 status
.data 0x00800062 0x0 rf12.o
.data 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.data 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.data 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.data 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.data 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
*(.data*)
*(.rodata)
*(.rodata*)
*(.gnu.linkonce.d*)
0x00800060 . = ALIGN (0x2)
0x00800060 _edata = .
0x00800060 PROVIDE (__data_end, .)
0x00800062 . = ALIGN (0x2)
0x00800062 _edata = .
0x00800062 PROVIDE (__data_end, .)
.bss 0x00800060 0x2
0x00800060 PROVIDE (__bss_start, .)
.bss 0x00800062 0x4
0x00800062 PROVIDE (__bss_start, .)
*(.bss)
.bss 0x00800060 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5/crtm16a.o
.bss 0x00800060 0x2 Reciver.o
0x00800060 servopos
.bss 0x00800062 0x0 rf12.o
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.bss 0x00800062 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5/crtm16a.o
.bss 0x00800062 0x4 Reciver.o
0x00800062 servopos
0x00800064 pwm_led
.bss 0x00800066 0x0 rf12.o
.bss 0x00800066 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.bss 0x00800066 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.bss 0x00800066 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.bss 0x00800066 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.bss 0x00800066 0x0 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
*(.bss*)
*(COMMON)
0x00800062 PROVIDE (__bss_end, .)
0x000004c2 __data_load_start = LOADADDR (.data)
0x000004c2 __data_load_end = (__data_load_start + SIZEOF (.data))
0x00800066 PROVIDE (__bss_end, .)
0x000006a0 __data_load_start = LOADADDR (.data)
0x000006a2 __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x00800062 0x0
0x00800062 PROVIDE (__noinit_start, .)
.noinit 0x00800066 0x0
0x00800066 PROVIDE (__noinit_start, .)
*(.noinit*)
0x00800062 PROVIDE (__noinit_end, .)
0x00800062 _end = .
0x00800062 PROVIDE (__heap_start, .)
0x00800066 PROVIDE (__noinit_end, .)
0x00800066 _end = .
0x00800066 PROVIDE (__heap_start, .)
.eeprom 0x00810000 0x0
*(.eeprom*)
@@ -373,53 +380,53 @@ LOAD c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1
.debug_pubnames
*(.debug_pubnames)
.debug_info 0x00000000 0xb90
.debug_info 0x00000000 0xc22
*(.debug_info)
.debug_info 0x00000000 0x3d4 Reciver.o
.debug_info 0x000003d4 0x36b rf12.o
.debug_info 0x0000073f 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_info 0x0000081c 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_info 0x000008f9 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_info 0x000009d6 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_info 0x00000ab3 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.debug_info 0x00000000 0x38b Reciver.o
.debug_info 0x0000038b 0x446 rf12.o
.debug_info 0x000007d1 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_info 0x000008ae 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_info 0x0000098b 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_info 0x00000a68 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_info 0x00000b45 0xdd c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
*(.gnu.linkonce.wi.*)
.debug_abbrev 0x00000000 0x37d
.debug_abbrev 0x00000000 0x388
*(.debug_abbrev)
.debug_abbrev 0x00000000 0x1a6 Reciver.o
.debug_abbrev 0x000001a6 0x173 rf12.o
.debug_abbrev 0x00000319 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_abbrev 0x0000032d 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_abbrev 0x00000341 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_abbrev 0x00000355 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_abbrev 0x00000369 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.debug_abbrev 0x00000000 0x189 Reciver.o
.debug_abbrev 0x00000189 0x19b rf12.o
.debug_abbrev 0x00000324 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_abbrev 0x00000338 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_abbrev 0x0000034c 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_abbrev 0x00000360 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_abbrev 0x00000374 0x14 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.debug_line 0x00000000 0x6d5
.debug_line 0x00000000 0x71d
*(.debug_line)
.debug_line 0x00000000 0x1f0 Reciver.o
.debug_line 0x000001f0 0x1f5 rf12.o
.debug_line 0x000003e5 0xa8 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_line 0x0000048d 0xa1 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_line 0x0000052e 0x88 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_line 0x000005b6 0x91 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_line 0x00000647 0x8e c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.debug_line 0x00000000 0x20b Reciver.o
.debug_line 0x0000020b 0x222 rf12.o
.debug_line 0x0000042d 0xa8 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_udivmodsi4.o)
.debug_line 0x000004d5 0xa1 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_divmodsi4.o)
.debug_line 0x00000576 0x88 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_exit.o)
.debug_line 0x000005fe 0x91 c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_copy_data.o)
.debug_line 0x0000068f 0x8e c:/program files (x86)/atmel/atmel studio 6.0/extensions/atmel/avrgcc/3.4.1.95/avrtoolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_clear_bss.o)
.debug_frame 0x00000000 0x180
.debug_frame 0x00000000 0x1c8
*(.debug_frame)
.debug_frame 0x00000000 0xb4 Reciver.o
.debug_frame 0x000000b4 0xcc rf12.o
.debug_frame 0x00000000 0x9c Reciver.o
.debug_frame 0x0000009c 0x12c rf12.o
.debug_str 0x00000000 0x1fe
.debug_str 0x00000000 0x25b
*(.debug_str)
.debug_str 0x00000000 0x150 Reciver.o
0x184 (size before relaxing)
.debug_str 0x00000150 0xae rf12.o
0x208 (size before relaxing)
.debug_str 0x00000000 0x164 Reciver.o
0x19d (size before relaxing)
.debug_str 0x00000164 0xf7 rf12.o
0x25b (size before relaxing)
.debug_loc 0x00000000 0x408
.debug_loc 0x00000000 0x557
*(.debug_loc)
.debug_loc 0x00000000 0x15c Reciver.o
.debug_loc 0x0000015c 0x2ac rf12.o
.debug_loc 0x00000000 0x215 Reciver.o
.debug_loc 0x00000215 0x342 rf12.o
.debug_macinfo
*(.debug_macinfo)
+102 -72
View File
@@ -1,79 +1,109 @@
S00F0000526563697665722E7372656345
S11300000C942A000C9447000C9447000C9447006D
S11300100C9447000C9447000C9447000C94470040
S11300200C9447000C94A9000C9447000C944700CE
S11300200C9447000C94C9000C9447000C944700AE
S11300300C9447000C9447000C9447000C94470020
S11300400C9447000C9447000C9447000C94470010
S11300500C94470011241FBECFE5D4E0DEBFCDBF12
S113006010E0A0E6B0E0E2ECF4E002C005900D92EE
S1130070A036B107D9F710E0A0E6B0E001C01D92A8
S1130080A236B107E1F70E94DB000C945F020C94E6
S11300900000B89AC09A8FE39CE90197F1F700C079
S11300A00000C0988AEC90E0909361008093600017
S11300B08FEF96E1A1E181509040A040E1F700C0AC
S11300C0000010926100109260008FEF96E1A1E1B0
S11300D081509040A040E1F700C000000895CF9304
S11300E0DF9300D0CDB7DEB719821A82CE01019614
S11300F062E00E94F2018981873329F48A81833680
S113010011F40E9449000F900F90DF91CF91089550
S1130110CF93DF930F92CDB7DEB781E08983CE0111
S1130120019661E00E94AA018FEF90E7A2E081505E
S11301309040A040E1F700C000000F90DF91CF9104
S1130140089585E083BF88E582BF1CBE81E089BF36
S113015008951F920F920FB60F9211242F933F937D
S11301608F939F9388E582BFB99AC19A8FEA94E0EE
S11301700197F1F700C00000809160009091610048
S11301801816190674F480E090E025E12A95F1F739
S1130190000001962091600030916100821793075E
S11301A0A4F3C1989F918F913F912F910F900FBE0F
S11301B00F901F9018950E94160180E296E00E940D
S11301C05E0181E060E047E00E94400180E895E242
S11301D00E946E0180E066E00E9495010E94A100E9
S11301E078940E946F008FEF91EEA4E081509040CC
S11301F0A040E1F700C00000F4CF949840E120E073
S113020030E0992314F4969A01C09698220F331F74
S113021083992160959A880F991F00C000009598D2
S1130220415079F7949A822F932F089580E781BBE8
S113023080E182BB8FEF90E7A2E081509040A04024
S1130240E1F700C0000080EE90EC0E94FD0087ED15
S113025090E80E94FD008BEA92EC0E94FD0081E888
S11302609AEC0E94FD0080E090EE0E94FD0080E088
S113027098EC0E94FD0087EF94EC0E94FD00089525
S113028090E0880F991F82959295907F9827807FA0
S11302909827907050E047705070842B952B946988
S11302A070E063707070660F771F660F771F660FBC
S11302B0771F862B972B0E94FD00089580369105A9
S11302C038F02FE08034920728F08FE39FE002C0DB
S11302D080E690E0906A0E94FD00089522E087394C
S11302E0920710F125E18831920780F49C0140E0E7
S11302F050E060E678EA80E090E00E944402C901A0
S113030001978068966C0E94FD0008959C0140E06E
S113031050E06CEF72E485E090E00E942202C90193
S11303200197966C0E94FD00089590E0877090708C
S1130330986970E062957295707F7627607F762762
S11303407070862B972B0E94FD0008959498839BD0
S1130350FECF08950F931F93CF93DF938C01C62F85
S113036088E392E80E94FD000E94A6018AEA98EBC5
S11303700E94FD000E94A6018AEA98EB0E94FD00FB
S11303800E94A6018AEA98EB0E94FD000E94A60141
S11303908DE298EB0E94FD000E94A60184ED98EB8B
S11303A00E94FD00CC2399F0C8010196C1509C0124
S11303B02C0F311DE9010E94A601F80181918F01E2
S11303C090E0986B0E94FD000C171D07A1F70E9496
S11303D0A60188E092E80E94FD00DF91CF911F9171
S11303E00F9108950F931F93CF93DF938C01D62F12
S11303F088EC92E80E94FD0081E89AEC0E94FD00DE
S113040083E89AEC0E94FD00DD2399F0C80101966F
S1130410D1509C012D0F311DE9010E94A60180E0FD
S113042090EB0E94FD00F80181938F01EC17FD070A
S1130430A1F788E092E80E94FD00DF91CF911F911F
S11304400F910895A1E21A2EAA1BBB1BFD010DC03A
S1130450AA1FBB1FEE1FFF1FA217B307E407F50770
S113046020F0A21BB30BE40BF50B661F771F881F4C
S1130470991F1A9469F760957095809590959B01E2
S1130480AC01BD01CF01089597FB092E05260ED0BE
S113049057FD04D0D7DF0AD0001C38F4509540959E
S11304A0309521953F4F4F4F5F4F0895F6F7909544
S11304B08095709561957F4F8F4F9F4F0895F89465
S10504C0FFCF68
S113006010E0A0E6B0E0E0EAF6E002C005900D92F0
S1130070A236B107D9F710E0A2E6B0E001C01D92A4
S1130080A636B107E1F70E9461010C944E030C946B
S1130090000080916000909161008630910511F11B
S11300A086E090E090936100809360008AEC90E099
S11300B090936300809362008FEF96E1A1E18150F9
S11300C09040A040E1F700C000001092630010923D
S11300D062008FEF96E1A1E181509040A040E1F7EA
S11300E000C0000008950895CF930E9427020E9443
S11300F034028823E1F70E943902882321F08A30F0
S113010011F0803FE1F50E9434028823E1F70E9458
S11301103902C82F0E9434028823E1F7C13079F5EF
S11301200E943902843051F0853018F4813039F559
S113013016C0853051F0873011F50EC082E090E092
S113014090936100809360000AC083E090E09093F4
S113015061008093600003C00E94490010C00E94A7
S11301603E028FE39CE90197F1F700C00000409143
S113017060005091610081E06AE00E94BB02CF916F
S1130180089585E083BF88E582BF1CBE81E089BFF6
S113019008951F920F920FB60F9211242F933F933D
S11301A08F939F9388E582BF809160009091610056
S11301B082309105D9F48091640090916500823376
S11301C0910554F480916400909165000196909398
S11301D06500809364000AC0B89AB09B02C0C098BE
S11301E001C0C09A10926500109264008091600072
S11301F09091610083309105D9F4809164009091CD
S113020065008530910554F48091640090916500F7
S1130210019690936500809364000AC0B89AB09BDD
S113022002C0C09801C0C09A109265001092640088
S1130230809160009091610086309105D9F480919D
S11302406400909165001816190654F080916400BA
S113025090916500019690936500809364000AC0B4
S1130260B89AB09B02C0C09801C0C09A10926500B1
S113027010926400B99AC19A8FEA94E00197F1F759
S113028000C0000080916200909163001816190666
S113029074F480E090E025E12A95F1F700000196DE
S11302A0209162003091630082179307A4F3C198F0
S11302B09F918F913F912F910F900FBE0F901F90A0
S11302C018950E94930180E296E00E94DB0181E090
S11302D060E047E00E94BD0180E895E20E94EB01E6
S11302E080E066E00E9412020E94C10078940E949D
S11302F07400FDCF949840E120E030E0992314F499
S1130300969A01C09698220F331F83992160959A7B
S1130310880F991F00C000009598415079F7949A6E
S1130320822F932F089581B3806781BB949A8FEFB6
S113033090E7A2E081509040A040E1F700C00000A7
S113034080EE90EC0E947A0187ED90E80E947A0199
S11303508BEA92EC0E947A0181E89AEC0E947A017D
S113036080E090EE0E947A0180E098EC0E947A018D
S113037087EF94EC0E947A01089590E0880F991F0A
S113038082959295907F9827807F9827907050E06F
S113039047705070842B952B946970E06370707073
S11303A0660F771F660F771F660F771F862B972BB5
S11303B00E947A0108958036910538F02FE0803448
S11303C0920728F08FE39FE002C080E690E0906AF5
S11303D00E947A01089522E08739920710F125E1FD
S11303E08831920780F49C0140E050E060E678EAAE
S11303F080E090E00E943303C90101978068966C05
S11304000E947A0108959C0140E050E06CEF72E490
S113041085E090E00E941103C9010197966C0E9447
S11304207A01089590E087709070986970E0629501
S11304307295707F7627607F76277070862B972B56
S11304400E947A0108959498839BFECF089588ECC6
S113045092E80E947A0181E89AEC0E947A0183E88A
S11304609AEC0E947A010895949881E0839980E03F
S1130470089580E090EB0E947A01089588E092E864
S11304800E947A0108950F931F93CF93DF938C01F9
S1130490C62F88E392E80E947A010E9423028AEA26
S11304A098EB0E947A010E9423028AEA98EB0E9448
S11304B07A010E9423028AEA98EB0E947A010E9440
S11304C023028DE298EB0E947A010E94230284EDBC
S11304D098EB0E947A01CC2399F0C8010196C1508F
S11304E09C012C0F311DE9010E942302F801819126
S11304F08F0190E0986B0E947A010C171D07A1F7F9
S11305000E94230288E092E80E947A01DF91CF9151
S11305101F910F9108950F931F93CF93DF938C0135
S1130520D62F88EC92E80E947A0181E89AEC0E9426
S11305307A0183E89AEC0E947A01DD2399F0C801DC
S11305400196D1509C012D0F311DE9010E94230217
S113055080E090EB0E947A01F80181938F01EC17FF
S1130560FD07A1F788E092E80E947A01DF91CF911C
S11305701F910F9108951F93CF93DF93182FD62FB8
S1130580C42F88E392E80E947A010E9423028AEA37
S113059098EB0E947A010E9423028AEA98EB0E9457
S11305A07A010E9423028AEA98EB0E947A010E944F
S11305B023028DE298EB0E947A010E94230284EDCB
S11305C098EB0E947A010E942302812F90E0986B9D
S11305D00E947A010E9423028D2F90E0986B0E9462
S11305E07A010E9423028C2F90E0986B0E947A017A
S11305F00E94230280E098EB0E947A010E94230269
S113060088E092E80E947A018FEF90E7A2E081509F
S11306109040A040E1F700C00000DF91CF911F910E
S11306200895A1E21A2EAA1BBB1BFD010DC0AA1F2F
S1130630BB1FEE1FFF1FA217B307E407F50720F047
S1130640A21BB30BE40BF50B661F771F881F991FC2
S11306501A9469F760957095809590959B01AC010B
S1130660BD01CF01089597FB092E05260ED057FD35
S113067004D0D7DF0AD0001C38F45095409530954B
S113068021953F4F4F4F5F4F0895F6F79095809512
S1130690709561957F4F8F4F9F4F0895F894FFCFCA
S10506A0020052
S9030000FC
+6 -6
View File
@@ -10,10 +10,10 @@ rf12.d rf12.o: .././rf12.c \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/version.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/fuse.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/lock.h \
.././rf12.h .././global.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay_basic.h \
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/math.h \
.././global.h .././rf12.h
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/math.h
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/io.h:
@@ -37,12 +37,12 @@ c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/avr/lock.h:
.././rf12.h:
.././global.h:
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay.h:
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/util/delay_basic.h:
c:\program\ files\ (x86)\atmel\atmel\ studio\ 6.0\extensions\atmel\avrgcc\3.4.1.95\avrtoolchain\bin\../lib/gcc/avr/4.6.2/../../../../avr/include/math.h:
.././global.h:
.././rf12.h:
+112 -19
View File
@@ -5,45 +5,93 @@
* Author: netz
*/
#define F_CPU 8000000
#define LEFT 600
#define RIGHT 202
#define STEP 8
#include "global.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "rf12.h"
#include "codes.h"
volatile int status = SLEEP;
volatile int pwm_led = 0;
volatile int servopos = 0;
void turn() {
DDRB |= (1<<PB0);
PORTB |= (1<<PB0);
_delay_ms(20);
PORTB &= ~(1<<PB0);
if(status == RUN)
return;
status = RUN;
servopos = RIGHT;
_delay_ms(700);
servopos = 0;
_delay_ms(700);
}
void poll() {
if(status == ACTIVE) {
}
}
void recive() {
unsigned char text[2];
rf12_beginasyncrx();
while(rf12_hasdata()) {
poll();
}
uint8_t addr = rf12_rxbyte();
if(addr == ALL || addr == DEVICE || addr == GROUP) {
while(rf12_hasdata()) {
poll();
}
uint8_t from = rf12_rxbyte();
while(rf12_hasdata()) {
poll();
}
if(from == MASTER) {
uint8_t data = rf12_rxbyte();
switch(data) {
case PING: {
break;
}
case SETSLEEP: {
status = SLEEP;
break;
}
case SETACTIVE: {
status = ACTIVE;
break;
}
case SETRUN: {
turn();
}
default:
{
return;
}
}
rf12_endasyncrx();
_delay_ms(20);
rf12_txpacket(MASTER, DEVICE, status);
return;
}
}
/*unsigned char text[2];
text[0] = 0;
text[1] = 0;
rf12_rxdata(text,2);
if(text[0] == 55 && text[1] == 99) {
if(text[0] == DEVICE && text[1] == PING) {
turn();
}
}*/
}
void send() {
unsigned char text[1] = {0x01};
/*void send() {
/*unsigned char text[1] = {0x01};
rf12_txdata(text,1);
_delay_ms(100);
}
rf12_txpacket(55,99);
//_delay_ms(100);
}*/
void init_timer() {
// Timer/Counter 0 initialization
@@ -63,6 +111,46 @@ ISR(TIMER0_OVF_vect) {
// Reinitialize Timer 0 value
TCNT0=0x58;
if(status == SLEEP) {
if(pwm_led < 50) {
pwm_led++;
} else {
DDRB |= (1<<PB0);
if(PINB & (1<<PINB0)) {
PORTB &= ~(1<<PB0);
} else {
PORTB |= (1<<PB0);
}
pwm_led = 0;
}
}
if(status == ACTIVE) {
if(pwm_led < 5) {
pwm_led++;
} else {
DDRB |= (1<<PB0);
if(PINB & (1<<PINB0)) {
PORTB &= ~(1<<PB0);
} else {
PORTB |= (1<<PB0);
}
pwm_led = 0;
}
}
if(status == RUN) {
if(pwm_led < 1) {
pwm_led++;
} else {
DDRB |= (1<<PB0);
if(PINB & (1<<PINB0)) {
PORTB &= ~(1<<PB0);
} else {
PORTB |= (1<<PB0);
}
pwm_led = 0;
}
}
DDRB |= (1<<PB1);
PORTB |= (1<<PB1);
_delay_us(LEFT);
@@ -74,22 +162,27 @@ ISR(TIMER0_OVF_vect) {
int main(void)
{
rf12_init(); // ein paar Register setzen (z.B. CLK auf 10MHz)
rf12_setfreq(RF12FREQ(433.92)); // Sende/Empfangsfrequenz auf 433,92MHz einstellen
rf12_setbandwidth(1, 0, 7); // 400kHz Bandbreite, 0dB Verstärkung, DRSSI threshold: -61dBm
rf12_setbaud(9600); // 19200 baud
rf12_setpower(0, 6); // 1mW Ausgangsleistung, 120kHz Frequenzshift
//rf12_ready();
init_timer();
sei();
//DDRB = (1<<PINB0);
//DDRB |= (1<<PINB0);
while(1)
{
recive();
_delay_ms(200);
//_delay_ms(200);
/*PORTB |= (1<<PINB0);
send();
//_delay_ms(100);
_delay_ms(100);
PORTB &= ~(1<<PINB0);
_delay_ms(900);*/
}
+12 -9
View File
@@ -33,7 +33,7 @@
</OverrideVtorValue>
<Channel>
<host>127.0.0.1</host>
<port>57603</port>
<port>49418</port>
<ssl>False</ssl>
</Channel>
<ToolOptions>
@@ -52,17 +52,17 @@
</ToolOptions>
</com_atmel_avrdbg_tool_ispmk2>
<com_atmel_avrdbg_tool_simulator>
<ToolType xmlns="">com.atmel.avrdbg.tool.simulator</ToolType>
<ToolName xmlns="">AVR Simulator</ToolName>
<ToolNumber xmlns="">
<ToolType>com.atmel.avrdbg.tool.simulator</ToolType>
<ToolName>AVR Simulator</ToolName>
<ToolNumber>
</ToolNumber>
<KeepTimersRunning xmlns="">true</KeepTimersRunning>
<OverrideVtor xmlns="">false</OverrideVtor>
<OverrideVtorValue xmlns="">
<KeepTimersRunning>true</KeepTimersRunning>
<OverrideVtor>false</OverrideVtor>
<OverrideVtorValue>
</OverrideVtorValue>
<Channel xmlns="">
<Channel>
<host>127.0.0.1</host>
<port>57603</port>
<port>49418</port>
<ssl>False</ssl>
</Channel>
</com_atmel_avrdbg_tool_simulator>
@@ -112,6 +112,9 @@
</ToolchainSettings>
</PropertyGroup>
<ItemGroup>
<Compile Include="codes.h">
<SubType>compile</SubType>
</Compile>
<Compile Include="global.h">
<SubType>compile</SubType>
</Compile>
+29
View File
@@ -0,0 +1,29 @@
/*
* codes.h
*
* Created: 29.03.2013 13:58:28
* Author: netz
*/
#ifndef CODES_H_
#define CODES_H_
#ifndef ALL
#define ALL 0
#define GROUP 240
#define DEVICE 10
#define MASTER 1
#endif
#ifndef PING
#define PING 1
#define SLEEP 2
#define ACTIVE 3
#define SETSLEEP 4
#define SETACTIVE 5
#define RUN 6
#define SETRUN 7
#endif
#endif /* CODES_H_ */
+20 -4
View File
@@ -10,11 +10,27 @@
#ifndef GLOBAL_H_
#define GLOBAL_H_
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#ifndef F_CPU
#define F_CPU 8000000
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#ifndef LEFT
#define LEFT 600
#define RIGHT 202
#define STEP 8
#endif
#ifndef RF_PORT
#define RF_PORT PORTD
#define RF_DDR DDRD
#define RF_PIN PIND
#endif
#ifndef CS
#define CS PIND4
#define SCK PIND5
#define SDI PIND6
#define SDO PIND3
#endif
#endif /* GLOBAL_H_ */
+86 -44
View File
@@ -5,49 +5,41 @@
* Author: netz
*/
#define F_CPU 8000000
#define RF_PORT PORTD
#define RF_DDR DDRD
#define RF_PIN PIND
#define CS PD4
#define SCK PD5
#define SDI PD6
#define SDO PD3
#include <avr/io.h>
#include <util/delay.h>
#include "global.h"
#include "rf12.h"
#include <util/delay.h>
unsigned short rf12_trans(unsigned short wert)
{ unsigned short werti=0;
{
unsigned short werti = 0;
unsigned char i;
cbi(RF_PORT, CS);
RF_PORT &= ~(1<<CS);
for (i=0; i<16; i++)
{ if (wert&32768)
sbi(RF_PORT, SDI);
else
cbi(RF_PORT, SDI);
{
if (wert&32768) {
RF_PORT |= (1<<SDI);
}
else {
RF_PORT &= ~(1<<SDI);
}
werti<<=1;
if (RF_PIN&(1<<SDO))
werti|=1;
sbi(RF_PORT, SCK);
if (RF_PIN & (1<<SDO)) {
werti|=1;
}
RF_PORT |= (1<<SCK);
wert<<=1;
_delay_us(0.3);
cbi(RF_PORT, SCK);
RF_PORT &= ~(1<<SCK);
}
sbi(RF_PORT, CS);
RF_PORT |= (1<<CS);
return werti;
}
void rf12_init(void)
{
RF_DDR=(1<<SDI)|(1<<SCK)|(1<<CS);
RF_PORT=(1<<CS);
RF_DDR |= (1<<SDI) | (1<<SCK) | (1<<CS);
RF_PORT |= (1<<CS);
_delay_ms(100);
@@ -66,21 +58,25 @@ void rf12_setbandwidth(unsigned char bandwidth, unsigned char gain, unsigned cha
}
void rf12_setfreq(unsigned short freq)
{ if (freq<96) // 430,2400MHz
freq=96;
else if (freq>3903) // 439,7575MHz
freq=3903;
{
if (freq<96) { // 430,2400MHz
freq=96;
} else if (freq>3903) { // 439,7575MHz
freq=3903;
}
rf12_trans(0xA000|freq);
}
void rf12_setbaud(unsigned short baud)
{
if (baud<663)
return;
if (baud<5400) // Baudrate= 344827,58621/(R+1)/(1+CS*7)
rf12_trans(0xC680|((43104/baud)-1));
else
rf12_trans(0xC600|((344828UL/baud)-1));
if (baud<663) {
return;
}
if (baud<5400) { // Baudrate= 344827,58621/(R+1)/(1+CS*7)
rf12_trans(0xC680|((43104/baud)-1));
} else {
rf12_trans(0xC600|((344828UL/baud)-1));
}
}
void rf12_setpower(unsigned char power, unsigned char mod)
@@ -89,12 +85,30 @@ void rf12_setpower(unsigned char power, unsigned char mod)
}
void rf12_ready(void)
{ cbi(RF_PORT, CS);
while (!(RF_PIN&(1<<SDO))); // wait until FIFO ready
{
RF_PORT &= ~(1<<CS);
while (!(RF_PIN & (1<<SDO))); // wait until FIFO ready
}
void rf12_beginasyncrx() {
rf12_trans(0x82C8); // RX on
rf12_trans(0xCA81); // set FIFO mode
rf12_trans(0xCA83); // enable FIFO
}
uint8_t rf12_hasdata() {
RF_PORT &= ~(1<<CS);
return !(RF_PIN & (1<<SDO));
}
uint8_t rf12_rxbyte() {
return rf12_trans(0xB000);
}
void rf12_endasyncrx() {
rf12_trans(0x8208); // RX off
}
void rf12_txdata(unsigned char *data, unsigned char number)
{ unsigned char i;
{
unsigned char i;
rf12_trans(0x8238); // TX on
rf12_ready();
rf12_trans(0xB8AA);
@@ -107,7 +121,8 @@ void rf12_txdata(unsigned char *data, unsigned char number)
rf12_ready();
rf12_trans(0xB8D4);
for (i=0; i<number; i++)
{ rf12_ready();
{
rf12_ready();
rf12_trans(0xB800|(*data++));
}
rf12_ready();
@@ -115,13 +130,40 @@ void rf12_txdata(unsigned char *data, unsigned char number)
}
void rf12_rxdata(unsigned char *data, unsigned char number)
{ unsigned char i;
{
unsigned char i;
rf12_trans(0x82C8); // RX on
rf12_trans(0xCA81); // set FIFO mode
rf12_trans(0xCA83); // enable FIFO
for (i=0; i<number; i++)
{ rf12_ready();
{
rf12_ready();
*data++=rf12_trans(0xB000);
}
rf12_trans(0x8208); // RX off
}
void rf12_txpacket(uint8_t addr, uint8_t from, uint8_t data) {
rf12_trans(0x8238); // TX on
rf12_ready();
rf12_trans(0xB8AA);
rf12_ready();
rf12_trans(0xB8AA);
rf12_ready();
rf12_trans(0xB8AA);
rf12_ready();
rf12_trans(0xB82D);
rf12_ready();
rf12_trans(0xB8D4);
rf12_ready();
rf12_trans(0xB800|addr);
rf12_ready();
rf12_trans(0xB800|from);
rf12_ready();
rf12_trans(0xB800|data);
rf12_ready();
rf12_trans(0xB800);
rf12_ready();
rf12_trans(0x8208); // TX off
_delay_ms(100);
}
+6
View File
@@ -18,8 +18,14 @@ extern void rf12_setbandwidth(unsigned char bandwidth, unsigned char gain, unsig
extern void rf12_txdata(unsigned char *data, unsigned char number); // transmit number of bytes from array
extern void rf12_rxdata(unsigned char *data, unsigned char number); // receive number of bytes into array
extern void rf12_ready(void); // wait until FIFO ready (to transmit/read data)
extern void rf12_txpacket(uint8_t addr, uint8_t from, uint8_t data); // Send two bytes over the air
void rf12_beginasyncrx(); // Init RX of Bytes
uint8_t rf12_hasdata(); // Returns 0 if Bytes are there
uint8_t rf12_rxbyte(); // Rx one Byte
void rf12_endasyncrx(); // End RX of Bytes
#define RF12FREQ(freq) ((freq-430.0)/0.0025) // macro for calculating frequency value out of frequency in MHz
#include "global.h"
#endif /* RF12_H_ */