RA head unit "out of sync" with new release

Related to the development libraries, released by Curt Binder
Post Reply
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

RA head unit "out of sync" with new release

Post by sjmusic2 »

My RA was working great before I migrated to the new releases, now I'm getting out of sync and/or protocol errors. I've tried rebooting, selecting different boards and programmers, reinstalling the driver, but nothing is working. My RA is now blank and is obviously not controlling anything. It appears as if some of the code gets through and then it fails.

Please help...

Code: Select all

Binary sketch size: 19256 bytes (of a 32256 byte maximum)
C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM4 -b115200 -D -Uflash:w:C:\Users\*****\AppData\Local\Temp\build5883721221870216432.tmp\ControllerTester.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM4
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
         AVR Part                      : ATMEGA328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         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    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
avrdude: Send: A [41] . [80]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [04] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [98]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
         Hardware Version: 3
         Firmware Version: 4.0
avrdude: Send: A [41] . [84]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [85]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [86]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [87]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [89]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [03] 
avrdude: Recv: . [10] 
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [04] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: P [50]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: u [75]   [20] 
avrdude: Recv: . [14] . [1e] . [95] . [0f] . [10] 
################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f
avrdude: Send: V [56] . [a0] . [03] . [fc] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] . [a0] . [03] . [fd] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] . [a0] . [03] . [fe] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] . [a0] . [03] . [ff] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: reading input file "C:\Users\Simon\AppData\Local\Temp\build5883721221870216432.tmp\ControllerTester.cpp.hex"
avrdude: writing flash (19256 bytes):

Writing | avrdude: Send: U [55] . [00] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [0c] . [94] P [50] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] . [f3] . [1a] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] . [ea] . [1d] . [0c] . [94] x [78] . [07] . [0c] . [94] . [2e]   [20] . [0c] . [94] u [75]   [20] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] x [78] . [07] . [0c] . [94] / [2f] . [0b] . [0c] . [94] x [78] . [07] . [00] . [00] . [00] . [00] . [00] . [00] . [06] _ [5f] . [06] . [00] . [07] . [03] . [00] . [07] . [03] $ [24] ~ [7e] $ [24] ~ [7e] $ [24] $ [24] + [2b] j [6a] . [12]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] @ [40] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] c [63] . [13] . [08] d [64] c [63] 6 [36] I [49] V [56]   [20] P [50] . [00] . [07] . [03] . [00] . [00] . [00] > [3e] A [41] . [00] . [00] . [00] A [41] > [3e] . [00] . [00] . [08] > [3e] . [1c] > [3e] . [08] . [08] . [08] > [3e] . [08] . [08] . [00] . [e0] ` [60] . [00] . [00] . [08] . [08] . [08] . [08] . [08] . [00] ` [60] ` [60] . [00] . [00]   [20] . [10] . [08] . [04] . [02] > [3e] Q [51] I [49] E [45] > [3e] . [00] B [42] . [7f] @ [40] . [00] b [62] Q [51] I [49] I [49] F [46] " [22] I [49] I [49] I [49] 6 [36] . [18] . [14] . [12] . [7f] . [10] / [2f] I [49] I [49] I [49] 1 [31] < [3c] J [4a] I [49] I [49] 0 [30] . [01] q [71] . [09] . [05] . [03] 6 [36] I [49] I [49] I [49] 6 [36] . [06] I [49] I [49] ) [29] . [1e] . [00] l [6c] l [6c] . [00] . [00] . [00] . [ec] l [6c] . [00] . [00] . [08] . [14] " [22] A [41] . [00] $ [24] $ [24] $ [24] $ [24] $ [24] . [00] A [41]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [80] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] " [22] . [14] . [08] . [02] . [01] Y [59] . [09] . [06] > [3e] A [41] ] [5d] U [55] . [1e] ~ [7e] . [09] . [09] . [09] ~ [7e] . [7f] I [49] I [49] I [49] 6 [36] > [3e] A [41] A [41] A [41] " [22] . [7f] A [41] A [41] A [41] > [3e] . [7f] I [49] I [49] I [49] A [41] . [7f] . [09] . [09] . [09] . [01] > [3e] A [41] I [49] I [49] z [7a] . [7f] . [08] . [08] . [08] . [7f] . [00] A [41] . [7f] A [41] . [00] 0 [30] @ [40] @ [40] @ [40] ? [3f] . [7f] . [08] . [14] " [22] A [41] . [7f] @ [40] @ [40] @ [40] @ [40] . [7f] . [02] . [04] . [02] . [7f] . [7f] . [02] . [04] . [08] . [7f] > [3e] A [41] A [41] A [41] > [3e] . [7f] . [09] . [09] . [09] . [06] > [3e] A [41] Q [51] ! [21] ^ [5e] . [7f] . [09] . [09] . [19] f [66] & [26] I [49] I [49] I [49] 2 [32] . [01] . [01] . [7f] . [01] . [01] ? [3f] @ [40] @ [40] @ [40] ? [3f] . [1f]   [20] @ [40]   [20] . [1f] ? [3f] @ [40] < [3c] @ [40] ? [3f]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [c0] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] c [63] . [14] . [08] . [14] c [63] . [07] . [08] p [70] . [08] . [07] q [71] I [49] E [45] C [43] . [00] . [00] . [7f] A [41] A [41] . [00] . [02] . [04] . [08] . [10]   [20] . [00] A [41] A [41] . [7f] . [00] . [04] . [02] . [01] . [02] . [04] . [80] . [80] . [80] . [80] . [80]   [20] @ [40] . [80] @ [40]   [20]   [20] T [54] T [54] T [54] x [78] . [7f] D [44] D [44] D [44] 8 [38] 8 [38] D [44] D [44] D [44] ( [28] 8 [38] D [44] D [44] D [44] . [7f] 8 [38] T [54] T [54] T [54] . [18] . [08] ~ [7e] . [09] . [09] . [00] . [18] . [a4] . [a4] . [a4] | [7c] . [7f] . [04] . [04] x [78] . [00] . [00] . [00] } [7d] . [00] . [00] @ [40] . [80] . [84] } [7d] . [00] . [7f] . [10] ( [28] D [44] . [00] . [00] . [00] . [7f] @ [40] . [00] | [7c] . [04] . [18] . [04] x [78] | [7c] . [04] . [04] x [78] . [00] 8 [38] D [44] D [44] D [44] 8 [38] . [fc] D [44] D [44] D [44] 8 [38] 8 [38] D [44] D [44]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [00] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] D [44] . [fc] D [44] x [78] D [44] . [04] . [08] . [08] T [54] T [54] T [54]   [20] . [04] > [3e] D [44] $ [24] . [00] < [3c] @ [40]   [20] | [7c] . [00] . [1c]   [20] @ [40]   [20] . [1c] < [3c] ` [60] 0 [30] ` [60] < [3c] l [6c] . [10] . [10] l [6c] . [00] . [9c] . [a0] ` [60] < [3c] . [00] d [64] T [54] T [54] L [4c] . [00] 3 [33] f [66] . [cc] f [66] 3 [33] . [00] . [00] . [7f] . [00] . [00] . [cc] f [66] 3 [33] f [66] . [cc] . [02] . [01] . [02] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [e0] . [00] . [e0] . [00] . [e0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [c0] . [00] . [c0] . [00] 0 [30] . [00] 0 [30] . [00] . [0c] . [00] . [0c] . [00] . [03] . [00] . [03] . [c0] . [00] . [c0] . [00] 0 [30] . [00] 0 [30] . [00] . [0c] . [00] . [0c] . [00] . [03]   [20] 
avrdude: Recv: . [15] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [00] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] D [44] . [fc] D [44] x [78] D [44] . [04] . [08] . [08] T [54] T [54] T [54]   [20] . [04] > [3e] D [44] $ [24] . [00] < [3c] @ [40]   [20] | [7c] . [00] . [1c]   [20] @ [40]   [20] . [1c] < [3c] ` [60] 0 [30] ` [60] < [3c] l [6c] . [10] . [10] l [6c] . [00] . [9c] . [a0] ` [60] < [3c] . [00] d [64] T [54] T [54] L [4c] . [00] 3 [33] f [66] . [cc] f [66] 3 [33] . [00] . [00] . [7f] . [00] . [00] . [cc] f [66] 3 [33] f [66] . [cc] . [02] . [01] . [02] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [e0] . [00] . [e0] . [00] . [e0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [c0] . [00] . [c0] . [00] 0 [30] . [00] 0 [30] . [00] . [0c] . [00] . [0c] . [00] . [03] . [00] . [03] . [c0] . [00] . [c0] . [00] 0 [30] . [00] 0 [30] . [00] . [0c] . [00] . [0c] . [00] . [03]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] @ [40] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [03] . [00] . [00] . [00] . [f8] . [1f] . [fc] ? [3f] . [06] p [70] . [03] . [d8] . [03] . [cc] . [03] . [c6] . [03] . [c3] . [83] . [c1] . [c3] . [c0] c [63] . [c0] 3 [33] . [c0] . [1e] ` [60] . [fc] ? [3f] . [f8] . [1f] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] 0 [30] . [c0] 0 [30] . [c0] 8 [38] . [c0] < [3c] . [c0] . [ff] . [ff] . [ff] . [ff] . [00] . [c0] . [00] . [c0] . [00] . [c0] . [00] . [c0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [08] . [f0] . [0c] . [fc] . [0e] . [de] . [07] . [c7] . [03] . [c3] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [c3] . [c1] . [c3] . [c0] . [c7] . [c0] . [fe] . [e0] | [7c] . [e0] 8 [38] . [e0] . [00] . [00] . [00] . [00] . [08] . [10] . [0c] 0 [30] . [0e] p [70] . [07] . [e0] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [c7] . [e3] . [ee] w [77] | [7c] > [3e] 8 [38]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [80] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [1c] . [00] . [00] . [00] . [00] . [80] . [07] . [c0] . [07] . [e0] . [07] p [70] . [06] 8 [38] . [06] . [1c] . [06] . [0e] . [c6] . [07] . [c6] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [00] . [c6] . [00] . [c6] . [00] . [00] . [00] . [00] . [00] . [00] ? [3f] ` [60] . [7f] . [e0] . [ff] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [e1] . [83] s [73] . [03] ? [3f] . [03] . [1e] . [00] . [00] . [00] . [00] . [e0] . [1f] . [f0] ? [3f] . [f8] . [7f] . [bc] . [e1] . [9e] . [c1] . [8e] . [c1] . [87] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [80] . [e3] . [00] . [7f] . [00] > [3e] . [00] . [00] . [00] . [00] . [02] . [00] . [03] . [00] . [03] . [00] . [03] . [00] . [03] . [fc] . [03] . [fe] . [03] . [ff] . [83] . [03] . [c3] . [01] . [e3] . [00] s [73] . [00] ? [3f] . [00] . [1f] . [00] . [0e]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [c0] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [18] . [1e] < [3c] ? [3f] . [fe] s [73] . [e7] . [e1] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [c3] . [c0] . [e7] . [e1] . [fe] s [73] < [3c] ? [3f] . [18] . [1e] . [00] . [00] . [00] . [00] | [7c] . [00] . [fe] . [00] . [c7] . [01] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [c1] . [83] . [e1] . [83] q [71] . [83] y [79] . [87] = [3d] . [fe] . [1f] . [fc] . [0f] . [f8] . [07] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] 0 [30] x [78] x [78] 0 [30] 0 [30] . [00] 0 [30] . [00] l [6c] l [6c] l [6c] . [00] . [00] . [00] . [00] . [00] l [6c] l [6c] . [fe] l [6c] . [fe] l [6c] l [6c] . [00] . [18] > [3e] ` [60] < [3c] . [06] | [7c] . [18] . [00] . [00] c [63] f [66] . [0c] . [18] 3 [33] c [63] . [00] . [1c] 6 [36] . [1c] ; [3b] n [6e] f [66] ; [3b] . [00] 0 [30] 0 [30] ` [60] . [00] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [00] . [02]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [0c] . [18] 0 [30] 0 [30] 0 [30] . [18] . [0c] . [00] 0 [30] . [18] . [0c] . [0c] . [0c] . [18] 0 [30] . [00] . [00] f [66] < [3c] . [ff] < [3c] f [66] . [00] . [00] . [00] 0 [30] 0 [30] . [fc] 0 [30] 0 [30] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] 0 [30] . [00] . [00] . [00] ~ [7e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [00] . [03] . [06] . [0c] . [18] 0 [30] ` [60] @ [40] . [00] > [3e] c [63] c [63] k [6b] c [63] c [63] > [3e] . [00] . [18] 8 [38] X [58] . [18] . [18] . [18] ~ [7e] . [00] < [3c] f [66] . [06] . [1c] 0 [30] f [66] ~ [7e] . [00] < [3c] f [66] . [06] . [1c] . [06] f [66] < [3c] . [00] . [0e] . [1e] 6 [36] f [66] . [7f] . [06] . [0f] . [00] ~ [7e] ` [60] | [7c] . [06] . [06] f [66] < [3c] . [00] . [1c] 0 [30] ` [60] | [7c] f [66] f [66] < [3c] . [00] ~ [7e] f [66] . [06] . [0c] . [18]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] @ [40] . [02]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [18] . [18] . [00] < [3c] f [66] f [66] < [3c] f [66] f [66] < [3c] . [00] < [3c] f [66] f [66] > [3e] . [06] . [0c] 8 [38] . [00] . [00] . [18] . [18] . [00] . [00] . [18] . [18] . [00] . [00] . [18] . [18] . [00] . [00] . [18] . [18] 0 [30] . [0c] . [18] 0 [30] ` [60] 0 [30] . [18] . [0c] . [00] . [00] . [00] ~ [7e] . [00] . [00] ~ [7e] . [00] . [00] 0 [30] . [18] . [0c] . [06] . [0c] . [18] 0 [30] . [00] < [3c] f [66] . [06] . [0c] . [18] . [00] . [18] . [00] > [3e] c [63] o [6f] i [69] o [6f] ` [60] > [3e] . [00] . [18] < [3c] f [66] f [66] ~ [7e] f [66] f [66] . [00] ~ [7e] 3 [33] 3 [33] > [3e] 3 [33] 3 [33] ~ [7e] . [00] . [1e] 3 [33] ` [60] ` [60] ` [60] 3 [33] . [1e] . [00] | [7c] 6 [36] 3 [33] 3 [33] 3 [33] 6 [36] | [7c] . [00] . [7f] 1 [31] 4 [34] < [3c] 4 [34] 1 [31] . [7f] . [00] . [7f] 1 [31] 4 [34] < [3c] 4 [34] 0 [30] x [78] . [00] . [1e] 3 [33] ` [60] ` [60] g [67]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [80] . [02]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] 3 [33] . [1f] . [00] f [66] f [66] f [66] ~ [7e] f [66] f [66] f [66] . [00] < [3c] . [18] . [18] . [18] . [18] . [18] < [3c] . [00] . [0f] . [06] . [06] . [06] f [66] f [66] < [3c] . [00] s [73] 3 [33] 6 [36] < [3c] 6 [36] 3 [33] s [73] . [00] x [78] 0 [30] 0 [30] 0 [30] 1 [31] 3 [33] . [7f] . [00] c [63] w [77] . [7f] . [7f] k [6b] c [63] c [63] . [00] c [63] s [73] { [7b] o [6f] g [67] c [63] c [63] . [00] > [3e] c [63] c [63] c [63] c [63] c [63] > [3e] . [00] ~ [7e] 3 [33] 3 [33] > [3e] 0 [30] 0 [30] x [78] . [00] < [3c] f [66] f [66] f [66] n [6e] < [3c] . [0e] . [00] ~ [7e] 3 [33] 3 [33] > [3e] 6 [36] 3 [33] s [73] . [00] < [3c] f [66] 0 [30] . [18] . [0c] f [66] < [3c] . [00] ~ [7e] Z [5a] . [18] . [18] . [18] . [18] < [3c] . [00] f [66] f [66] f [66] f [66] f [66] f [66] ~ [7e] . [00] f [66] f [66] f [66] f [66] f [66] < [3c] . [18] . [00] c [63] c [63] c [63] k [6b] . [7f]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [c0] . [02]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] w [77] c [63] . [00] c [63] c [63] 6 [36] . [1c] . [1c] 6 [36] c [63] . [00] f [66] f [66] f [66] < [3c] . [18] . [18] < [3c] . [00] . [7f] c [63] F [46] . [0c] . [19] 3 [33] . [7f] . [00] < [3c] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] < [3c] . [00] ` [60] 0 [30] . [18] . [0c] . [06] . [03] . [01] . [00] < [3c] . [0c] . [0c] . [0c] . [0c] . [0c] < [3c] . [00] . [08] . [1c] 6 [36] c [63] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ff] . [18] . [18] . [0c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] < [3c] . [06] > [3e] f [66] ; [3b] . [00] p [70] 0 [30] > [3e] 3 [33] 3 [33] 3 [33] n [6e] . [00] . [00] . [00] < [3c] f [66] ` [60] f [66] < [3c] . [00] . [0e] . [06] > [3e] f [66] f [66] f [66] ; [3b] . [00] . [00] . [00] < [3c] f [66] ~ [7e] ` [60] < [3c] . [00] . [1c] 6 [36] 0 [30] x [78] 0 [30] 0 [30] x [78] . [00] . [00] . [00] ; [3b] f [66] f [66]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [00] . [03]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] > [3e] . [06] | [7c] p [70] 0 [30] 6 [36] ; [3b] 3 [33] 3 [33] s [73] . [00] . [18] . [00] 8 [38] . [18] . [18] . [18] < [3c] . [00] . [06] . [00] . [06] . [06] . [06] f [66] f [66] < [3c] p [70] 0 [30] 3 [33] 6 [36] < [3c] 6 [36] s [73] . [00] 8 [38] . [18] . [18] . [18] . [18] . [18] < [3c] . [00] . [00] . [00] f [66] . [7f] . [7f] k [6b] c [63] . [00] . [00] . [00] | [7c] f [66] f [66] f [66] f [66] . [00] . [00] . [00] < [3c] f [66] f [66] f [66] < [3c] . [00] . [00] . [00] n [6e] 3 [33] 3 [33] > [3e] 0 [30] x [78] . [00] . [00] ; [3b] f [66] f [66] > [3e] . [06] . [0f] . [00] . [00] n [6e] ; [3b] 3 [33] 0 [30] x [78] . [00] . [00] . [00] > [3e] ` [60] < [3c] . [06] | [7c] . [00] . [08] . [18] > [3e] . [18] . [18] . [1a] . [0c] . [00] . [00] . [00] f [66] f [66] f [66] f [66] ; [3b] . [00] . [00] . [00] f [66] f [66] f [66] < [3c] . [18] . [00] . [00] . [00] c [63] k [6b] . [7f]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] @ [40] . [03]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [7f] 6 [36] . [00] . [00] . [00] c [63] 6 [36] . [1c] 6 [36] c [63] . [00] . [00] . [00] f [66] f [66] f [66] > [3e] . [06] | [7c] . [00] . [00] ~ [7e] L [4c] . [18] 2 [32] ~ [7e] . [00] . [0e] . [18] . [18] p [70] . [18] . [18] . [0e] . [00] . [0c] . [0c] . [0c] . [00] . [0c] . [0c] . [0c] . [00] p [70] . [18] . [18] . [0e] . [18] . [18] p [70] . [00] ; [3b] n [6e] . [00] . [00] . [00] . [00] . [00] . [00] . [1c] 6 [36] 6 [36] . [1c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] < [3c] < [3c] < [3c] . [18] . [18] . [18] . [00] . [18] . [18] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] " [22] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] 6 [36] 6 [36] . [7f] 6 [36] 6 [36] 6 [36] . [7f] 6 [36] 6 [36] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [80] . [03]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [0c] . [0c] > [3e] c [63] a [61] ` [60] > [3e] . [03] . [03] C [43] c [63] > [3e] . [0c] . [0c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] a [61] c [63] . [06] . [0c] . [18] 3 [33] c [63] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [1c] 6 [36] 6 [36] . [1c] ; [3b] n [6e] f [66] f [66] ; [3b] . [00] . [00] . [00] . [00] . [00] 0 [30] 0 [30] 0 [30] ` [60] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [0c] . [18] . [18] 0 [30] 0 [30] 0 [30] 0 [30] . [18] . [18] . [0c] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [0c] . [0c] . [06] . [06] . [06] . [06] . [0c] . [0c] . [18] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] B [42] f [66] < [3c] . [ff] < [3c] f [66] B [42] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [18] . [ff] . [18] . [18] . [18] . [00] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [c0] . [03]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [18] 0 [30] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ff] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [00] . [00] . [00] . [00] . [00] . [00] . [01] . [03] . [07] . [0e] . [1c] 8 [38] p [70] . [e0] . [c0] . [80] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] c [63] k [6b] k [6b] c [63] c [63] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [0c] . [1c] < [3c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] ? [3f] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] . [03] . [06] . [0c] . [18] 0 [30] a [61] c [63] . [7f] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] . [03] . [03] . [1e] . [03] . [03] . [03] c [63] > [3e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [00] . [04]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [06] . [0e] . [1e] 6 [36] f [66] f [66] . [7f] . [06] . [06] . [0f] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] ` [60] ` [60] ` [60] ~ [7e] . [03] . [03] c [63] s [73] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [1c] 0 [30] ` [60] ` [60] ~ [7e] c [63] c [63] c [63] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] c [63] . [03] . [06] . [06] . [0c] . [0c] . [18] . [18] . [18] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] c [63] > [3e] c [63] c [63] c [63] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] c [63] c [63] ? [3f] . [03] . [03] . [06] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [00] . [00] . [00] . [18] . [18] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [00] . [00] . [00] . [18] . [18] . [18]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] @ [40] . [04]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] 0 [30] . [00] . [00] . [00] . [00] . [00] . [06] . [0c] . [18] 0 [30] ` [60] 0 [30] . [18] . [0c] . [06] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] ~ [7e] . [00] . [00] ~ [7e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] ` [60] 0 [30] . [18] . [0c] . [06] . [0c] . [18] 0 [30] ` [60] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] . [06] . [0c] . [0c] . [0c] . [00] . [0c] . [0c] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] o [6f] k [6b] k [6b] n [6e] ` [60] ` [60] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [08] . [1c] 6 [36] c [63] c [63] c [63] . [7f] c [63] c [63] c [63] . [00] . [00] . [00] . [00] . [00] . [00] ~ [7e] 3 [33] 3 [33] 3 [33] > [3e] 3 [33] 3 [33] 3 [33] 3 [33] ~ [7e] . [00] . [00] . [00] . [00] . [00] . [00] . [1e] 3 [33] a [61] ` [60] ` [60] ` [60] ` [60] a [61] 3 [33] . [1e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [80] . [04]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] | [7c] 6 [36] 3 [33] 3 [33] 3 [33] 3 [33] 3 [33] 3 [33] 6 [36] | [7c] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] 3 [33] 1 [31] 4 [34] < [3c] 4 [34] 0 [30] 1 [31] 3 [33] . [7f] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] 3 [33] 1 [31] 4 [34] < [3c] 4 [34] 0 [30] 0 [30] 0 [30] x [78] . [00] . [00] . [00] . [00] . [00] . [00] . [1e] 3 [33] a [61] ` [60] ` [60] o [6f] c [63] c [63] 7 [37] . [1d] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] c [63] . [7f] c [63] c [63] c [63] c [63] c [63] . [00] . [00] . [00] . [00] . [00] . [00] < [3c] . [18] . [18] . [18] . [18] . [18] . [18] . [18] . [18] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] . [0f] . [06] . [06] . [06] . [06] . [06] . [06] f [66] f [66] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] s [73] 3 [33] 6 [36] 6 [36] < [3c] 6 [36] 6 [36] 3 [33] 3 [33] s [73] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [c0] . [04]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] x [78] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] 1 [31] 3 [33] . [7f] . [00] . [00] . [00] . [00] . [00] . [00] c [63] w [77] . [7f] k [6b] c [63] c [63] c [63] c [63] c [63] c [63] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] s [73] { [7b] . [7f] o [6f] g [67] c [63] c [63] c [63] . [00] . [00] . [00] . [00] . [00] . [00] . [1c] 6 [36] c [63] c [63] c [63] c [63] c [63] c [63] 6 [36] . [1c] . [00] . [00] . [00] . [00] . [00] . [00] ~ [7e] 3 [33] 3 [33] 3 [33] > [3e] 0 [30] 0 [30] 0 [30] 0 [30] x [78] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] c [63] c [63] c [63] c [63] k [6b] o [6f] > [3e] . [06] . [07] . [00] . [00] . [00] . [00] ~ [7e] 3 [33] 3 [33] 3 [33] > [3e] 6 [36] 6 [36] 3 [33] 3 [33] s [73] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] 0 [30] . [1c] . [06] . [03] c [63] c [63] > [3e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [00] . [05]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [ff] . [db] . [99] . [18] . [18] . [18] . [18] . [18] . [18] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] c [63] c [63] c [63] c [63] c [63] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] c [63] c [63] c [63] c [63] 6 [36] . [1c] . [08] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] c [63] c [63] k [6b] k [6b] . [7f] 6 [36] 6 [36] . [00] . [00] . [00] . [00] . [00] . [00] . [c3] . [c3] f [66] < [3c] . [18] . [18] < [3c] f [66] . [c3] . [c3] . [00] . [00] . [00] . [00] . [00] . [00] . [c3] . [c3] . [c3] f [66] < [3c] . [18] . [18] . [18] . [18] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] c [63] C [43] . [06] . [0c] . [18] 0 [30] a [61] c [63] . [7f] . [00] . [00] . [00] . [00] . [00] . [00] < [3c] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] 0 [30] < [3c] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] @ [40] . [05]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [80] . [c0] . [e0] p [70] 8 [38] . [1c] . [0e] . [07] . [03] . [01] . [00] . [00] . [00] . [00] . [00] . [00] < [3c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] < [3c] . [00] . [00] . [00] . [00] . [08] . [1c] 6 [36] c [63] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ff] . [00] . [00] . [00] . [18] . [18] . [0c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] < [3c] F [46] . [06] > [3e] f [66] f [66] ; [3b] . [00] . [00] . [00] . [00] . [00] . [00] p [70] 0 [30] 0 [30] < [3c] 6 [36] 3 [33] 3 [33] 3 [33] 3 [33] n [6e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] ` [60] ` [60] ` [60] c [63] > [3e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] . [80] . [05]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [0e] . [06] . [06] . [1e] 6 [36] f [66] f [66] f [66] f [66] ; [3b] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] ~ [7e] ` [60] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [1c] 6 [36] 2 [32] 0 [30] | [7c] 0 [30] 0 [30] 0 [30] 0 [30] x [78] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] ; [3b] f [66] f [66] f [66] f [66] > [3e] . [06] f [66] < [3c] . [00] . [00] . [00] . [00] p [70] 0 [30] 0 [30] 6 [36] ; [3b] 3 [33] 3 [33] 3 [33] 3 [33] s [73] . [00] . [00] . [00] . [00] . [00] . [00] . [0c] . [0c] . [00] . [1c] . [0c] . [0c] . [0c] . [0c] . [0c] . [1e] . [00] . [00] . [00] . [00] . [00] . [00] . [06] . [06] . [00] . [0e] . [06] . [06] . [06] . [06] . [06] f [66] f [66] < [3c] . [00] . [00] . [00] . [00] p [70] 0 [30] 0 [30] 3 [33] 3 [33] 6 [36] < [3c] 6 [36] 3 [33] s [73] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [c0] . [05]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [1c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] . [0c] . [1e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] n [6e] . [7f] k [6b] k [6b] k [6b] k [6b] k [6b] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] n [6e] 3 [33] 3 [33] 3 [33] 3 [33] 3 [33] 3 [33] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] c [63] c [63] c [63] c [63] > [3e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] n [6e] 3 [33] 3 [33] 3 [33] 3 [33] > [3e] 0 [30] 0 [30] x [78] . [00] . [00] . [00] . [00] . [00] . [00] . [00] ; [3b] f [66] f [66] f [66] f [66] > [3e] . [06] . [06] . [0f] . [00] . [00] . [00] . [00] . [00] . [00] . [00] n [6e] ; [3b] 3 [33] 0 [30] 0 [30] 0 [30] x [78] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] > [3e] c [63] 8 [38] . [0e] . [03] c [63] > [3e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [00] . [06]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [08] . [18] . [18] ~ [7e] . [18] . [18] . [18] . [18] . [1b] . [0e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] f [66] f [66] f [66] f [66] f [66] f [66] ; [3b] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] 6 [36] 6 [36] . [1c] . [1c] . [08] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] k [6b] k [6b] . [7f] 6 [36] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] c [63] 6 [36] . [1c] . [1c] . [1c] 6 [36] c [63] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] c [63] c [63] c [63] c [63] c [63] ? [3f] . [03] . [06] < [3c] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [7f] f [66] . [0c] . [18] 0 [30] c [63] . [7f] . [00] . [00] . [00] . [00] . [00] . [00] . [0e] . [18] . [18] . [18] p [70] . [18] . [18] . [18] . [18] . [0e] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
#avrdude: Send: U [55] @ [40] . [06]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] . [00] . [00] . [00] . [00] . [00] . [18] . [18] . [18] . [18] . [18] . [00] . [18] . [18] . [18] . [18] . [18] . [00] . [00] . [00] . [00] . [00] p [70] . [18] . [18] . [18] . [0e] . [18] . [18] . [18] . [18] p [70] . [00] . [00] . [00] . [00] . [00] . [00] ; [3b] n [6e] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] p [70] . [d8] . [d8] p [70] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [16] . [0d] . [1c] . [0d] # [23] . [0d] + [2b] . [0d] 1 [31] . [0d] ; [3b] . [0d] H [48] . [0d] M [4d] . [0d] U [55] . [0d] b [62] . [0d] l [6c] . [0d] u [75] . [0d] . [81] . [0d] . [8a] . [0d] . [92] . [0d] . [9c] . [0d] . [a9] . [0d] . [b5] . [0d] . [bf] . [0d] . [ca] . [0d] . [d8] . [0d] . [e4] . [0d] . [f4] . [0d] . [fc] . [0d] . [03] . [0e] . [0b] . [0e] . [18] . [0e] ' [27] . [0e] / [2f] . [0e] N [4e] o [6f]   [20]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: U [55] . [80] . [06]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: d [64] . [00] . [80] F [46] I [49] n [6e] t [74] e [65] r [72] n [6e] a [61] l [6c]   [20] M [4d] e [65] m [6d] o [6f] r [72] y [79] . [00] F [46] o [6f] u [75] n [6e] d [64] . [00] M [4d] a [61] i [69] n [6e] : [3a] . [00] S [53] e [65] t [74] u [75] p [70] : [3a] . [00] L [4c] i [69] g [67] h [68] t [74] s [73] : [3a] . [00] T [54] e [65] m [6d] p [70] : [3a] . [00] T [54] i [69] m [6d] e [65] o [6f] u [75] t [74] s [73] : [3a] . [00] < [3c] - [2d]   [20] P [50] r [72] e [65] v [76]   [20] M [4d] e [65] n [6e] u [75] . [00] E [45] x [78] i [69] t [74] . [00] F [46] e [65] e [65] d [64] i [69] n [6e] g [67] . [00] W [57] a [61] t [74] e [65] r [72]   [20] C [43] h [68] a [61] n [6e] g [67] e [65] . [00] L [4c] i [69] g [67] h [68] t [74] s [73]   [20] - [2d] > [3e] . [00] T [54] e [65] m [6d] p [70] s [73]   [20] - [2d] > [3e] . [00] T [54] i [69] m [6d] e [65] o [6f] u [75] t [74] s [73]   [20] - [2d] > [3e]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: 0 [30] 

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x30
avrdude: Send: V [56] @ [40] . [00] . [00] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [00] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [01] P [50]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [01] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [02] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [02] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [03] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [03] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [04] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [04] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [05] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [05] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [06] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [06] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [07] . [f3]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [07] . [1a]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [08] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [08] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [09] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [09] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0a] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0a] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0b] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0b] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0c] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0c] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0d] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0d] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0e] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0e] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [0f] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [0f] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [10] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [10] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [11] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [11] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [12] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [12] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [13] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [13] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [14] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [14] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [15] x [78]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [15] . [07]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] @ [40] . [00] . [16] . [0c]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] H [48] . [00] . [16] . [94]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [11] 
avrdude: stk500_cmd(): protocol error
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Hum, never seen that one before.
Does it do to all the codes you try to upload?
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Unfortunately yes - I tried with my custom code, then tried some of the examples including the Controller Tester shown. The report I posted above is a protocol error, but I have also got out of sync errors too.

It's very strange because I was uploading code fine just a few days back, albeit with the previous libraries and arduino ide. Tomorrow, I'm going to reinstall the old stuff and try again (and my fingers will be crossed)
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

OK, so curiosity got the better of me and rather than go to bed I just reinstalled the old software and my original code uploaded fine to the RA - now I'm really confused, but at least I have a functional unit. I would still appreciate your assistance in understanding the problem with the new software as I'd like to migrate over.

Thanks, Simon
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Wow. I have no explanation on why the controller wouldn't work with the new libraries and Arduino.
I do know the Arduino team has changed the avrdude, which is the app that does the actual upload and generated the error you mentioned above.
The only thing I can think of is something to do with the avrdude.
You can try using the previous avrdude and see if that solves the problem.
There is no difference to us whether you use a new one or old one.
Attached is the zip file containing avrdude.exe and avrdude.conf
They need to overwrite the following:
C:\Program Files (x86)\Reef Angel Controller\hardware\tools\avr\bin\avrdude.exe
C:\Program Files (x86)\Reef Angel Controller\hardware\tools\avr\etc\avrdude.conf
Attachments
avrdude.zip
(571.39 KiB) Downloaded 465 times
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

I just used the avrdude files you posted and this is what I got...

FYI, AVRISP mkII is the selected programmer and RA w/ OB the board.

Code: Select all

Binary sketch size: 31080 bytes (of a 32256 byte maximum)
C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM4 -b115200 -D -Uflash:w:C:\Users\Simon\AppData\Local\Temp\build8480846021918685209.tmp\Custom_Screen_v5_0.cpp.hex:i 

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"


avrdude: Can't find programmer id "arduino"

Valid programmers are:
  dasa3    = serial port banging, reset=!dtr sck=rts mosi=txd miso=cts [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:776]
  dasa     = serial port banging, reset=rts sck=dtr mosi=txd miso=cts [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:763]
  siprog   = Lancos SI-Prog <http://www.lancos.com/siprogsch.html> [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:750]
  ponyser  = design ponyprog serial, reset=!txd sck=rts mosi=dtr miso=cts [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:737]
  frank-stk200 = Frank STK200                   [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:702]
  blaster  = Altera ByteBlaster             [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:689]
  ere-isp-avr = ERE ISP-AVR <http://www.ere.co.th/download/sch050713.pdf> [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:679]
  atisp    = AT-ISP V1.1 programming cable for AVR-SDK1 from <http://micro-research.co.th/>  [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:669]
  dapa     = Direct AVR Parallel Access cable [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:658]
  xil      = Xilinx JTAG cable              [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:645]
  futurlec = Futurlec.com programming cable. [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:628]
  abcmini  = ABCmini Board, aka Dick Smith HOTCHIP [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:618]
  picoweb  = Picoweb Programming Cable, http://www.picoweb.net/ [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:608]
  sp12     = Steve Bolt's Programmer        [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:597]
  alf      = Nightshade ALF-PgmAVR, http://nightshade.homeip.net/ [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:581]
  bascom   = Bascom SAMPLE programming cable [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:571]
  dt006    = Dontronics DT006               [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:561]
  pony-stk200 = Pony Prog STK200               [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:549]
  stk200   = STK200                         [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:533]
  bsd      = Brian Dean's Programmer, http://www.bsdhome.com/avrdude/ [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:522]
  pavr     = Jason Kyle's pAVR Serial Programmer [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:514]
  dragon_dw = Atmel AVR Dragon in debugWire mode [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:507]
  dragon_hvsp = Atmel AVR Dragon in HVSP mode  [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:499]
  dragon_pp = Atmel AVR Dragon in PP mode    [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:491]
  dragon_isp = Atmel AVR Dragon in ISP mode   [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:483]
  dragon_jtag = Atmel AVR Dragon in JTAG mode  [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:475]
  jtag2dw  = Atmel JTAG ICE mkII in debugWire mode [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:467]
  jtag2isp = Atmel JTAG ICE mkII in ISP mode [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:459]
  jtag2    = Atmel JTAG ICE mkII            [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:451]
  jtag2fast = Atmel JTAG ICE mkII            [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:443]
  jtag2slow = Atmel JTAG ICE mkII            [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:435]
  jtagmkII = Atmel JTAG ICE mkII            [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:427]
  jtag1slow = Atmel JTAG ICE (mkI)           [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:420]
  jtag1    = Atmel JTAG ICE (mkI)           [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:412]
  jtagmkI  = Atmel JTAG ICE (mkI)           [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:404]
  avr911   = Atmel AppNote AVR911 AVROSP    [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:398]
  avr109   = Atmel AppNote AVR109 Boot Loader [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:392]
  butterfly = Atmel Butterfly Development Board [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:386]
  usbtiny  = USBtiny simple USB programmer  [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:380]
  usbasp   = USBasp, http://www.fischl.de/usbasp/ [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:374]
  avr910   = Atmel Low Cost Serial Programmer [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:368]
  stk500hvsp = Atmel STK500 V2 in high-voltage serial programming mode [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:362]
  stk500pp = Atmel STK500 V2 in parallel programming mode [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:356]
  stk500v2 = Atmel STK500 Version 2.x firmware [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:350]
  stk500v1 = Atmel STK500 Version 1.x firmware [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:344]
  stk500   = Atmel STK500                   [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:338]
  avrisp2  = Atmel AVR ISP mkII             [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:328]
  avrispmkII = Atmel AVR ISP mkII             [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:322]
  avrispv2 = Atmel AVR ISP V2               [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:316]
  avrisp   = Atmel AVR ISP                  [C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf:310]

Did I do something wrong ?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Oh, I forgot it was changed...
You also need to change the file boards.txt
Sorry...
File is located here: C:\Program Files (x86)\Reef Angel Controller\hardware\arduino
Open it on notepad and look for:
RA.upload.protocol=arduino
and change it to
RA.upload.protocol=stk500
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Bad news...it didn't work.

Here's the last couple of sections of the avrdude report...

Code: Select all

avrdude: Send: U [55] . [c0] * [2a]   [20] 
avrdude: Recv: 
avrdude: Recv: 
avrdude: Send: d [64] . [00] . [80] F [46] . [df] O [4f] . [88] . [83] . [83] . [e0] . [80] . [83] . [18] . [c0] . [10] . [82] . [fe] . [01] . [ea] V [56] . [ff] O [4f] . [80] . [81] . [c9] V [56] . [df] O [4f] . [88] . [83] . [f0] . [82] . [0e] . [c0] . [ce] . [01] . [0e] . [94] . [bd]   [20] . [da] . [cf] . [c3] X [58] . [df] O [4f] . [18] . [82] ' [27] . [96] . [18] . [82] . [c4] X [58] . [d0] @ [40] . [ce] . [01] . [0e] . [94] . [ec] ( [28] . [df] . [91] . [cf] . [91] . [1f] . [91] . [0f] . [91] . [ff] . [90] . [08] . [95] . [0f] . [93] . [1f] . [93] . [8c] . [01] . [87] . [e0] ` [60] . [e0] . [0e] . [94] . [f4] 5 [35] . [06] [ [5b] . [1f] O [4f] . [8f] . [ef] . [f8] . [01] . [80] . [83] . [c8] . [01] . [02] . [97] . [0e] . [94] . [b1] . [1f] . [1f] . [91] . [0f] . [91] . [08] . [95] . [8f] . [92] . [9f] . [92] . [af] . [92] . [bf] . [92] . [cf] . [92] . [df] . [92] . [ef] . [92] . [0f] . [93] . [1f] . [93] . [df] . [93]   [20] 
avrdude: Recv: 
avrdude: Recv: 
avrdude: Send: U [55] . [00] + [2b]   [20] 
avrdude: Recv: 
avrdude: Recv: 
avrdude: Send: d [64] . [00] . [80] F [46] . [cf] . [93] . [00] . [d0] . [00] . [d0] . [cd] . [b7] . [de] . [b7] l [6c] . [01] . [8c] . [01] . [0c] W [57] . [1f] O [4f] . [81] . [e0] . [d8] . [01] . [8c] . [93] . [c6] . [01] o [6f] . [ef] . [0e] . [94] I [49] ! [21] . [f6] . [01] . [e3] X [58] . [ff] O [4f] . [80] . [81] . [81] 0 [30] . [09] . [f4] g [67] . [c0] . [81] 0 [30] 8 [38] . [f0] . [82] 0 [30] . [09] . [f4] . [c0] . [c0] . [83] 0 [30] . [09] . [f0] . [1e] . [c1] . [12] . [c1] . [8f] . [ed] . [93] . [e0] . [0e] . [94] O [4f] . [15] . [9a] . [83] . [89] . [83] . [8f] . [ed] . [93] . [e0] . [0e] . [94] H [48] . [15] . [ac] . [01] . [e7] . [e4] . [f0] . [e0] . [ce] . [0e] . [df] . [1e] . [d6] . [01] . [8c] . [91] . [e9] . [eb] . [ff] . [ef] . [ce] . [0e] . [df] . [1e] . [88] # [23] 9 [39] . [f0] . [e4] . [e6] . [f2] . [e0] # [23] . [ed] 0 [30] . [e0] . [03] . [e4] . [11] . [e0] . [06] . [c0] . [e6] . [e6] . [f2] . [e0]   [20] 
avrdude: Recv: 

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x54
############### | 100% 8.28s

avrdude: failed to write flash memory, rc=-4
avrdude: Send: Q [51]   [20] 
avrdude: Recv: 
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude done.  Thank you.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Hum...
Can I see your code?
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Sure...

Code: Select all



#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <ReefAngel.h>

int T2C2;

void DrawCustomMain()
{
ReefAngel.LCD.DrawDate(6, 3);
//ReefAngel.LCD.Clear(COLOR_BLACK, 1, 11, 132, 11);
char text[7];
ReefAngel.LCD.DrawLargeText(COLOR_YELLOW, COLOR_MIDNIGHTBLUE, 0, 13, "  Simon's  Reef  ",
Font8x16);
//display Tank temp
ConvertNumToString(text, ReefAngel.Params.Temp[T1_PROBE], 10);
ReefAngel.LCD.DrawHugeNumbers(COLOR_INDIGO, DefaultBGColor, 60, 34, text);
ReefAngel.LCD.DrawLargeText(COLOR_MIDNIGHTBLUE, DefaultBGColor, 12, 38, "Tank:");
//display pH
ConvertNumToString(text, ReefAngel.Params.PH, 100);
ReefAngel.LCD.DrawLargeText(COLOR_SEAGREEN, DefaultBGColor, 12, 55, "pH :",
Font8x16);
ReefAngel.LCD.DrawLargeText(COLOR_GREEN, DefaultBGColor, 56, 57, text,
Font8x16);

//display LED array temp
ReefAngel.LCD.DrawText(T2TempColor,DefaultBGColor, 12, 80, "LED Array :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.Temp[T2_PROBE], T2TempColor,
95, 80, 10);
//Convert and display LED array in Celsius
T2C2 = CONVERT_TO_C(ReefAngel.Params.Temp[T2_PROBE]);
ConvertNumToString(text, T2C2, 10);
ReefAngel.LCD.DrawText(COLOR_OLIVEDRAB,DefaultBGColor, 95, 91, text);
ReefAngel.LCD.DrawText(COLOR_OLIVEDRAB,DefaultBGColor, 70, 91, "C");
ReefAngel.LCD.PutPixel(70, 66, 91);
ReefAngel.LCD.PutPixel(70, 67, 91);
ReefAngel.LCD.PutPixel(70, 65, 92);
ReefAngel.LCD.PutPixel(70, 65, 93);
ReefAngel.LCD.PutPixel(70, 66, 94);
ReefAngel.LCD.PutPixel(70, 67, 94);
ReefAngel.LCD.PutPixel(70, 68, 92);
ReefAngel.LCD.PutPixel(70, 68, 93);
//display air temp
ReefAngel.LCD.DrawText(T3TempColor,DefaultBGColor, 12, 102, "Ambient Air :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.Temp[T3_PROBE], T3TempColor,
95, 102, 10);

//Display PWM % for White and RB channels
ReefAngel.LCD.DrawText(COLOR_DARKORANGE,DefaultBGColor, 12, 69, "WW :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.PWM.GetDaylightValue(),
COLOR_DARKORANGE, 35, 69, 1);
ReefAngel.LCD.DrawText(COLOR_BLUE,DefaultBGColor, 55, 69, "RB :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.PWM.GetActinicValue(),
COLOR_BLUE, 78, 69, 1);

//Display port status
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(14, 114, TempRelay);
}

void DrawCustomGraph()
{
}

void setup()
{
    //Port 1 = N/A (ATO control loop)
    //Port 2 = Heater
    //Port 3 = Left powerhead
    //Port 4 = ATS pump
    //Port 5 = ATS lights
    //Port 6 = Right powerhead
    //Port 7 = Skimmer pump
    //Port 8 = 3 x 10w RB LED
    ReefAngel.Init();  //Initialize controller
    ReefAngel.PHMin=255; //reset 3/16/12 range=300
    ReefAngel.PHMax=555;
    ReefAngel.FeedingModePorts = B10000101;
    ReefAngel.WaterChangePorts = B10110101;
    ReefAngel.OverheatShutoffPorts = B00000000;
    ReefAngel.LightsOnPorts = B10000000;

    // Ports that are always on
    ReefAngel.Relay.On(Port3);
    ReefAngel.Relay.On(Port4);
    ReefAngel.Relay.On(Port6);
      
    ReefAngel.LCD.Clear(DefaultBGColor, 0, 0, 131, 100);
}

void loop()
{
    ReefAngel.ShowInterface();

    // Specific functions
    //ReefAngel.StandardLights(Port, OnHour, OnMinute, OffHour, OffMinute);
    ReefAngel.StandardLights(1,21,00,21,30);
    ReefAngel.StandardHeater(2,790,800);
    ReefAngel.StandardLights(5,3,00,11,00);
    ReefAngel.StandardLights(5,15,00,23,00);
    ReefAngel.StandardLights(7,6,00,10,00);
    ReefAngel.StandardLights(7,20,00,23,58);    
    ReefAngel.StandardLights(8,8,00,23,00);
    ReefAngel.Relay.Write();  //Writes the value of RelayData to the RelayBox
}
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Can you also post the features file?
I was able to compile and upload it, but want to use the same features to see if I can replicate the problem.
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Here goes...

Code: Select all

#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define OverheatSetup
#define DateTimeSetup
#define VersionMenu
#define StandardLightSetup
#define COLORS_PDE
#define CUSTOM_MAIN
#define FONT_8x8
#define FONT_8x16
//#define FONT_12x16
//#define NUMBERS_8x8
//#define NUMBERS_8x16
//#define NUMBERS_12x16
#define NUMBERS_16x16
#define DisplayLEDPWM

#endif  // __REEFANGEL_FEATURES_H__
Thanks, Simon
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

I was still able to compile and upload fine.
Is this problem happening to any ino code you try or just yours?
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Both...the first code I posted was using the ControllerTester.ino example code.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

What happens when you upload a very small code?

Code: Select all

void setup()
{
Serial.begin(57600);
Serial.println("Test");
}
void loop()
{
}
Does it work?
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

I tried reinstalling the RAC and then tried to upload your simple code without success and now the RA is unresponsive :(

Code: Select all

.....edited...
avrdude: Send: V [56]   [20] . [00] 4 [34] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] ( [28] . [00] 4 [34] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56]   [20] . [00] 5 [35] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] ( [28] . [00] 5 [35] . [00]   [20] 
avrdude: Recv: . [15] 
avrdude: stk500_cmd(): programmer is out of sync
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

So, even on the really small code above it fails?
I think we'll have to repair it.
Roberto.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

I'm going to try one more thing before sending it to you...

I will install RAC on my laptop and use that instead of my desktop and see if that makes a difference. Not sure when I will get an opportunity to do this, but I'll report back once its done.
sjmusic2
Posts: 33
Joined: Sun Sep 25, 2011 8:25 pm

Re: RA head unit "out of sync" with new release

Post by sjmusic2 »

Eureka, I found the problem...

When installing RAC on my laptop the TTL drivers did not install properly so I went back to my desktop and manually installed the drivers there - low and behold that did the trick and after uploading the internal memory settings I could upload my custom code :D

That was an effort, but at least it is finally resolved !!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA head unit "out of sync" with new release

Post by rimai »

Cool :)
Roberto.
Post Reply