Problem with comparison.
/Designs/LABduino/SW/bootloader/flash.sh |
---|
0,0 → 1,7 |
# Linux Shell Script |
# ATprogISPUSB02A fash script |
# Uses DAPA (Direct Parallel Access) Programmer |
read -p "WARNING: This procedure enables external clock. Make sure if a 16MHz crystal is installed on MCU module with ATmega328 and connect the MCU module to the programmer ATprogISPUSB02A" |
avrdude -F -p atmega328P -P /dev/ttyUSB1 -c stk500v2 -B 50 -v -U efuse:w:0x05:m -U lfuse:w:0xff:m -U hfuse:w:0xda:m |
avrdude -F -p atmega328P -P /dev/ttyUSB1 -c stk500v2 -B 50 -U flash:w:ATmegaBOOT_168_atmega328.hex:a |
echo "If none errors above - Please connect the USB232R01B module to bootload the LABduino via Arduino software." |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/Designs/LABduino/SW/bootloader/README.txt |
---|
0,0 → 1,3 |
To flash bootloader to ATmega328P install avrdude and run |
sudo ./flash.sh |
/Designs/LABduino/SW/bootloader/ATmegaBOOT_168_atmega328.hex |
---|
0,0 → 1,125 |
:107800000C94343C0C94513C0C94513C0C94513CE1 |
:107810000C94513C0C94513C0C94513C0C94513CB4 |
:107820000C94513C0C94513C0C94513C0C94513CA4 |
:107830000C94513C0C94513C0C94513C0C94513C94 |
:107840000C94513C0C94513C0C94513C0C94513C84 |
:107850000C94513C0C94513C0C94513C0C94513C74 |
:107860000C94513C0C94513C11241FBECFEFD8E036 |
:10787000DEBFCDBF11E0A0E0B1E0ECE9FFE702C060 |
:1078800005900D92A230B107D9F712E0A2E0B1E065 |
:1078900001C01D92AD30B107E1F70E942D3D0C945F |
:1078A000CC3F0C94003C982F959595959595959582 |
:1078B000905D8F708A307CF0282F295A8091C0000B |
:1078C00085FFFCCF9093C6008091C00085FFFCCF60 |
:1078D0002093C6000895282F205DF0CF982F809127 |
:1078E000C00085FFFCCF9093C6000895EF92FF92F1 |
:1078F0000F931F93EE24FF2487018091C00087FD22 |
:1079000017C00894E11CF11C011D111D81E4E8164B |
:1079100082E4F8068FE0080780E0180770F3E09132 |
:107920000401F091050109958091C00087FFE9CF1E |
:107930008091C6001F910F91FF90EF9008950E94D3 |
:10794000763C982F8091C00085FFFCCF9093C600B5 |
:1079500091362CF490330CF09053892F089597555D |
:10796000892F08951F930E949F3C182F0E949F3CCF |
:107970001295107F810F1F9108951F93182F882350 |
:1079800021F00E94763C1150E1F71F9108951F935A |
:10799000182F0E94763C803249F0809103018F5F5E |
:1079A000809303018530C1F01F9108958091C0003C |
:1079B00085FFFCCF84E18093C6008091C00085FFE5 |
:1079C000FCCF1093C6008091C00085FFFCCF80E102 |
:1079D0008093C6001F910895E0910401F091050184 |
:1079E00009951F9108950E94763C803241F0809164 |
:1079F00003018F5F80930301853081F008958091AA |
:107A0000C00085FFFCCF84E18093C6008091C00058 |
:107A100085FFFCCF80E18093C6000895E0910401CA |
:107A2000F09105010995089540E951E08823A1F0FE |
:107A30002D9A28EE33E0FA013197F1F721503040CA |
:107A4000D1F72D9828EE33E0FA013197F1F7215064 |
:107A50003040D1F7815061F708953F924F925F9285 |
:107A60006F927F928F929F92AF92BF92CF92DF924E |
:107A7000EF92FF920F931F93CF93DF93000080E16B |
:107A80008093C4001092C50088E18093C10086E015 |
:107A90008093C2005098589A259A81E00E94143D24 |
:107AA00024E1F22E9EE1E92E85E9D82E0FE0C02ECA |
:107AB00010E1B12EAA24A394B1E49B2EA6E58A2E50 |
:107AC000F2E57F2EE0E26E2E79E4572E63E5462E36 |
:107AD00050E5352E0E94763C8033B1F18133B9F107 |
:107AE000803409F46FC0813409F476C0823409F41B |
:107AF00085C0853409F488C0803531F1823521F1A3 |
:107B0000813511F1853509F485C0863509F48DC0BC |
:107B1000843609F496C0843709F403C1853709F423 |
:107B200072C1863709F466C0809103018F5F80932C |
:107B30000301853079F6E0910401F0910501099582 |
:107B40000E94763C803351F60E94F33CC3CF0E94E2 |
:107B5000763C803249F78091C00085FFFCCFF092DF |
:107B6000C6008091C00085FFFCCF9092C600809136 |
:107B7000C00085FFFCCF8092C6008091C00085FFC9 |
:107B8000FCCF7092C6008091C00085FFFCCF609250 |
:107B9000C6008091C00085FFFCCF5092C600809146 |
:107BA000C00085FFFCCF4092C6008091C00085FFD9 |
:107BB000FCCF3092C6008091C00085FFFCCFB09210 |
:107BC000C60088CF0E94763C863808F4BDCF0E945C |
:107BD000763C0E94F33C7ECF0E94763C803809F4CC |
:107BE0009CC0813809F40BC1823809F43CC1883942 |
:107BF00009F48FC080E00E94C73C6CCF84E10E94F2 |
:107C0000BD3C0E94F33C66CF85E00E94BD3C0E94D3 |
:107C1000F33C60CF0E94763C809306010E94763C44 |
:107C2000809307010E94F33C55CF0E94763C80333D |
:107C300009F41DC183E00E94BD3C80E00E94C73C66 |
:107C400049CF0E94763C809309020E94763C809343 |
:107C5000080280910C028E7F80930C020E94763C79 |
:107C6000853409F415C18091080290910902892B8D |
:107C700089F000E010E00E94763CF801E85FFE4FDA |
:107C800080830F5F1F4F80910802909109020817AF |
:107C9000190788F30E94763C803209F045CF809125 |
:107CA0000C0280FF01C16091060170910701660F0F |
:107CB000771F7093070160930601A0910802B091AD |
:107CC00009021097C9F0E8E0F1E09B01AD014E0F09 |
:107CD0005F1FF999FECF32BD21BD819180BDFA9A17 |
:107CE000F99A2F5F3F4FE417F50799F76A0F7B1F4B |
:107CF00070930701609306018091C00085FFFCCF5F |
:107D0000F092C6008091C00085FFFCCFB092C60003 |
:107D1000E1CE83E00E94C73CDDCE82E00E94C73CFA |
:107D2000D9CE0E94763C809309020E94763C8093D3 |
:107D300008028091060190910701880F991F909386 |
:107D40000701809306010E94763C853409F4A6C0A1 |
:107D500080910C028E7F80930C020E94763C8032D0 |
:107D600009F0B8CE8091C00085FFFCCFF092C6002C |
:107D7000609108027091090261157105B9F140E046 |
:107D800050E080910C02A82FA170B82FB27011C0E2 |
:107D9000BB2309F45CC0E0910601F0910701319624 |
:107DA000F0930701E09306014F5F5F4F46175707B7 |
:107DB000E8F4AA2369F3F999FECF209106013091E6 |
:107DC000070132BD21BDF89A90B58091C00085FFB2 |
:107DD000FCCF9093C6002F5F3F4F30930701209355 |
:107DE00006014F5F5F4F4617570718F38091C00099 |
:107DF00085FDE5CE8091C00085FFF8CFE0CE81E023 |
:107E00000E94C73C67CE0E94763C803209F08CCE3F |
:107E10008091C00085FFFCCFF092C6008091C00029 |
:107E200085FFFCCFE092C6008091C00085FFFCCFAB |
:107E3000D092C6008091C00085FFFCCFC092C600E2 |
:107E40008091C00085FFFCCFB092C60043CEE09188 |
:107E50000601F091070194918091C00085FFFCCF4D |
:107E60009093C6009CCF80E10E94C73C33CE0E9415 |
:107E7000763C0E94763C182F0E94763C112309F430 |
:107E800083C0113009F484C08FE00E94C73C22CE29 |
:107E900080910C02816080930C02E5CE80910C02EF |
:107EA000816080930C0259CF809107018823880F4D |
:107EB000880B8A2180930B02809106019091070123 |
:107EC000880F991F90930701809306018091080203 |
:107ED00080FF09C080910802909109020196909359 |
:107EE000090280930802F894F999FECF1127E091D6 |
:107EF0000601F0910701C8E0D1E08091080290915D |
:107F00000902103091F40091570001700130D9F34B |
:107F100003E000935700E89500915700017001308D |
:107F2000D9F301E100935700E89509901990009169 |
:107F3000570001700130D9F301E000935700E89534 |
:107F40001395103498F011270091570001700130FB |
:107F5000D9F305E000935700E895009157000170B0 |
:107F60000130D9F301E100935700E895329602976A |
:107F700009F0C7CF103011F00296E5CF112480919F |
:107F8000C00085FFB9CEBCCE8EE10E94C73CA2CD19 |
:0C7F900085E90E94C73C9ECDF894FFCF0D |
:027F9C00800063 |
:040000030000780081 |
:00000001FF |
/Designs/LABduino/SW/demos/Blink/build/Blink.cpp.elf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/LABduino/SW/demos/Blink/build/Blink.pde |
---|
0,0 → 1,29 |
/** |
* Blink the Wiring board LED |
* by BARRAGAN http://barraganstudio.com |
* |
* turns on and off the Wiring board LED, with |
* intervals of 1 second (1000 milliseconds). |
* For the Wiring boards v1 the on-board LED is on pin 48, |
* on Wiring S the on-board LED is on pin 15. |
* it is also possible to use the WLED constant with the |
* digitalWrite command: digitalWrite(WLED, HIGH). WLED will be the |
* correct pin in the current board selected in the |
* Tools -> Board menu. |
*/ |
// blinks the board LED, use 48 for Wiring 1.0 boards, use pin 15 |
// for Wiring S |
void setup() |
{ |
pinMode(2, OUTPUT); // set pin as output |
} |
void loop() |
{ |
digitalWrite(2, HIGH); // set the LED on |
delay(1000); // wait for a second |
digitalWrite(2, LOW); // set the LED off |
delay(1000); // wait for a second |
} |
/Designs/LABduino/SW/demos/Blink/build/Blink.cpp |
---|
0,0 → 1,33 |
/** |
* Blink the Wiring board LED |
* by BARRAGAN http://barraganstudio.com |
* |
* turns on and off the Wiring board LED, with |
* intervals of 1 second (1000 milliseconds). |
* For the Wiring boards v1 the on-board LED is on pin 48, |
* on Wiring S the on-board LED is on pin 15. |
* it is also possible to use the WLED constant with the |
* digitalWrite command: digitalWrite(WLED, HIGH). WLED will be the |
* correct pin in the current board selected in the |
* Tools -> Board menu. |
*/ |
// blinks the board LED, use 48 for Wiring 1.0 boards, use pin 15 |
// for Wiring S |
#include "WProgram.h" |
void setup(); |
void loop(); |
void setup() |
{ |
pinMode(2, OUTPUT); // set pin as output |
} |
void loop() |
{ |
digitalWrite(2, HIGH); // set the LED on |
delay(1000); // wait for a second |
digitalWrite(2, LOW); // set the LED off |
delay(1000); // wait for a second |
} |
/Designs/LABduino/SW/demos/Blink/build/Blink.cpp.eep |
---|
0,0 → 1,0 |
:00000001FF |
/Designs/LABduino/SW/demos/Blink/build/Blink.cpp.hex |
---|
0,0 → 1,129 |
:100000000C9435000C945D000C945D000C945D0024 |
:100010000C945D000C945D000C945D000C947A01CE |
:100020000C94A3010C94CC010C9470020C94F50177 |
:100030000C941E020C9447020C94FF000C942801AF |
:100040000C9451010C945D000C945D000C945D00C7 |
:100050000C945D000C945D000C945D000C945D00AC |
:100060000C945D000C945D00E20311241FBECFEFE1 |
:10007000D8E0DEBFCDBF11E0A0E0B1E0E4EFF7E0F3 |
:1000800002C005900D92A030B107D9F711E0A0E0B1 |
:10009000B1E001C01D92AF36B107E1F710E0CAE64A |
:1000A000D0E004C02297FE010E94F403C836D107B5 |
:1000B000C9F70E94CD000C94F8030C940000529AEA |
:1000C00008955A9A68EE73E080E090E00E94A300E1 |
:1000D0005A9868EE73E080E090E00E94A3000895D3 |
:1000E0008091040190910501A0910601B091070152 |
:1000F000309108010196A11DB11D232F2D5F2D37D1 |
:1001000020F02D570196A11DB11D20930801809369 |
:10011000040190930501A0930601B093070180911B |
:10012000000190910101A0910201B091030101969B |
:10013000A11DB11D8093000190930101A0930201C4 |
:10014000B09303010895EF92FF920F931F937B01E9 |
:100150008C018FB7F8944091040150910501609192 |
:100160000601709107018FBF2FB7F89480910401A9 |
:1001700090910501A0910601B09107012FBF841B4A |
:10018000950BA60BB70B8E159F05A007B10760F363 |
:100190001F910F91FF90EF9008950E94D4000E944C |
:1001A0005F000E946100FDCF0F931F9309E011E0F3 |
:1001B000C80163E00E94C903C80160E040E750E065 |
:1001C00021E00E949E03C80164E00E9499020BE2B4 |
:1001D00011E0C80161E00E94C903C80164E00E9407 |
:1001E00099020DE411E0C80161E00E94C903C80151 |
:1001F00064E00E94990278941F910F9108951F92D4 |
:100200000F920FB60F9211242F933F934F935F934A |
:100210006F937F938F939F93AF93BF93EF93FF93CE |
:10022000E0912301F0912401309709F00995FF91A5 |
:10023000EF91BF91AF919F918F917F916F915F915E |
:100240004F913F912F910F900FBE0F901F901895D7 |
:100250001F920F920FB60F9211242F933F934F933B |
:100260005F936F937F938F939F93AF93BF93EF931E |
:10027000FF93E0912501F0912601309709F009954F |
:10028000FF91EF91BF91AF919F918F917F916F916E |
:100290005F914F913F912F910F900FBE0F901F9044 |
:1002A00018951F920F920FB60F9211242F933F9320 |
:1002B0004F935F936F937F938F939F93AF93BF936E |
:1002C000EF93FF93E0912101F0912201309709F023 |
:1002D0000995FF91EF91BF91AF919F918F917F9180 |
:1002E0006F915F914F913F912F910F900FBE0F90A3 |
:1002F0001F9018951F920F920FB60F9211242F93F3 |
:100300003F934F935F936F937F938F939F93AF939D |
:10031000BF93EF93FF93E0916701F09168013097ED |
:1003200009F00995FF91EF91BF91AF919F918F9146 |
:100330007F916F915F914F913F912F910F900FBEE1 |
:100340000F901F9018951F920F920FB60F921124C5 |
:100350002F933F934F935F936F937F938F939F93CD |
:10036000AF93BF93EF93FF93E0916901F0916A011E |
:10037000309709F00995FF91EF91BF91AF919F914F |
:100380008F917F916F915F914F913F912F910F903E |
:100390000FBE0F901F9018951F920F920FB60F92DD |
:1003A00011242F933F934F935F936F937F938F937A |
:1003B0009F93AF93BF93EF93FF93E0916501F0910B |
:1003C0006601309709F00995FF91EF91BF91AF91C8 |
:1003D0009F918F917F916F915F914F913F912F915D |
:1003E0000F900FBE0F901F9018951F920F920FB68F |
:1003F0000F9211242F933F934F935F936F937F93AB |
:100400008F939F93AF93BF93EF93FF93E091450139 |
:10041000F0914601309709F00995FF91EF91BF9156 |
:10042000AF919F918F917F916F915F914F913F918C |
:100430002F910F900FBE0F901F9018951F920F9243 |
:100440000FB60F9211242F933F934F935F936F93A7 |
:100450007F938F939F93AF93BF93EF93FF93E0911D |
:100460004701F0914801309709F00995FF91EF910C |
:10047000BF91AF919F918F917F916F915F914F91BC |
:100480003F912F910F900FBE0F901F9018951F92C4 |
:100490000F920FB60F9211242F933F934F935F93B8 |
:1004A0006F937F938F939F93AF93BF93EF93FF933C |
:1004B000E0914301F0914401309709F00995FF91D3 |
:1004C000EF91BF91AF919F918F917F916F915F91CC |
:1004D0004F913F912F910F900FBE0F901F90189545 |
:1004E0001F920F920FB60F9211242F933F934F93A9 |
:1004F0005F936F937F938F939F93AF93BF93EF938C |
:10050000FF93E0914B01F0914C01309709F0099570 |
:10051000FF91EF91BF91AF919F918F917F916F91DB |
:100520005F914F913F912F910F900FBE0F901F90B1 |
:100530001895FC018081823081F4643031F165309E |
:1005400028F46230E1F06330F0F40FC0663009F156 |
:100550006630E8F0673009F51EC06630B1F06730EC |
:1005600038F4623061F0643071F06130B1F409C088 |
:10057000683079F0683058F0693079F40CC092E056 |
:100580000DC091E00BC093E009C094E007C095E076 |
:1005900005C096E003C097E001C090E00284F385B7 |
:1005A000E02D8081887F982B90830895CF93DF93EF |
:1005B000EC016883613019F1613020F0623009F09C |
:1005C0006CC048C01B821A8286E490E09D838C83B5 |
:1005D0008EE690E09F838E8384E490E099878887FD |
:1005E00085E490E09B878A871D861C8687E490E0DF |
:1005F0009F878E87198A188A88E490E022C08FE648 |
:1006000090E09F838E8385E890E09B838A8384E8D3 |
:1006100090E09D838C8380E890E09987888781E8CB |
:1006200090E09B878A8789E890E09D878C8788E89F |
:1006300090E09F878E878BE890E0998B888B8AE883 |
:1006400090E09B8B8A8B1D8A1C8A1F8A1E8A82E0FF |
:10065000898323C01B821A8282EB90E09D838C8366 |
:1006600080E790E09F838E8380EB90E09987888776 |
:1006700081EB90E09B878A871D861C8683EB90E048 |
:100680009F878E87198A188A84EB90E09B8B8A8BD0 |
:100690001D8A1C8A1F8A1E8A6983CE0160E00E941F |
:1006A0009902EA81FB81309709F01082EC81FD818B |
:1006B0001082198E188E1B8E1A8E1D8E1C8E1F8E08 |
:1006C0001E8E19A218A2DF91CF910895FC0162300D |
:1006D00071F0633028F4662381F0613071F505C054 |
:1006E000633039F0643049F506C081E007C082E02C |
:1006F00005C083E003C085E001C080E00680F7818B |
:10070000E02D2081682F772767FD709581E090E0CC |
:10071000062E02C0880F991F0A94E2F78095822363 |
:1007200020E030E0442311F021E030E002C0220F4D |
:10073000331F6A95E2F7822B80830895FC016230B3 |
:1007400091F0633028F4662341F06130A1F408C0D1 |
:10075000633061F0643079F40CC0518F408F0BC06E |
:10076000538F428F08C0558F448F05C0578F468FD7 |
:1007700002C051A340A3452B29F4CF0140E00E94C1 |
:1007800066030895222321F0CF0141E00E94660311 |
:100790000895CF93DF93EC01E885F9858081962F4A |
:1007A00093708C7F982B9083EA85FB85808170E025 |
:1007B0006C707070660F771F877E862B8083DF9149 |
:1007C000CF91089589E091E060E00E94D6028BE22B |
:1007D00091E061E00E94D6028DE491E062E00E9427 |
:1007E000D6020895EE0FFF1F0590F491E02D0994B5 |
:0407F000F894FFCFAB |
:00000001FF |
/Designs/LABduino/SW/demos/Blink/Blink.pde |
---|
0,0 → 1,29 |
/** |
* Blink the Wiring board LED |
* by BARRAGAN http://barraganstudio.com |
* |
* turns on and off the Wiring board LED, with |
* intervals of 1 second (1000 milliseconds). |
* For the Wiring boards v1 the on-board LED is on pin 48, |
* on Wiring S the on-board LED is on pin 15. |
* it is also possible to use the WLED constant with the |
* digitalWrite command: digitalWrite(WLED, HIGH). WLED will be the |
* correct pin in the current board selected in the |
* Tools -> Board menu. |
*/ |
// blinks the board LED, use 48 for Wiring 1.0 boards, use pin 15 |
// for Wiring S |
void setup() |
{ |
pinMode(2, OUTPUT); // set pin as output |
} |
void loop() |
{ |
digitalWrite(2, HIGH); // set the LED on |
delay(1000); // wait for a second |
digitalWrite(2, LOW); // set the LED off |
delay(1000); // wait for a second |
} |