Temp 0.0 and timeout on first line of code

Share you PDE file with our community
Post Reply
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Temp 0.0 and timeout on first line of code

Post by imfortney »

Does anything look wrong here? I used this code for 2 days with no problems. I woke up today and temp says 0.0 so I tried to reload the code, but it times out on the first orange line of code uploading.

#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 <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>

// Define Relay Ports by Name
#define Return_Pump 1
#define Skimmer 2
#define Kessil 3
#define Nick_WP10 4
#define unused 5
#define Steph_ATO 6
#define Refugium 7
#define Steph_WP10 8

//ReefAngel.CustomLabels[0]="ReturnPump";
//ReefAngel.CustomLabels[1]="Skimmer";
//ReefAngel.CustomLabels[2]="Kessil";
//ReefAngel.CustomLabels[3]="Nick WP10";
//ReefAngel.CustomLabels[4]="None";
//ReefAngel.CustomLabels[5]="Steph ATO";
//ReefAngel.CustomLabels[6]="Refugium";
//ReefAngel.CustomLabels[7]="Steph WP10";

////// Place global variable code below here
#define NUMBERS_8x16
void DrawCustomMain()
{
// the graph is drawn/updated when we exit the main menu &
// when the parameters are saved
ReefAngel.LCD.DrawDate(6, 112);
ReefAngel.LCD.DrawText(COLOR_ORANGERED, COLOR_DEEPSKYBLUE,14,8, "Fortney Money Pit");
pingSerial();

DrawStatus (20,80);
DrawParams (5,40);
DrawParamsa (0,10);
pingSerial();
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(12, 93, TempRelay);
}

////// Place global variable code above here


void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.AddStandardMenu(); // Add Standard Menu
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port2Bit | Port6Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port6Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port4Bit | Port8Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );

// Feeeding and Water Change mode speed
ReefAngel.DCPump.FeedingSpeed=0;
ReefAngel.DCPump.WaterChangeSpeed=0;


// Ports that are always on
ReefAngel.Relay.On( Return_Pump );
ReefAngel.Relay.On( Nick_WP10 );
ReefAngel.Relay.On( Steph_WP10 );

////// Place additional initialization code below here
//ReefAngel.CustomLabels[0]="ReturnPump";
//ReefAngel.CustomLabels[1]="Skimmer";
//ReefAngel.CustomLabels[2]="Kessil";
//ReefAngel.CustomLabels[3]="Nick WP10";
//ReefAngel.CustomLabels[4]="None";
//ReefAngel.CustomLabels[5]="Steph ATO";
//ReefAngel.CustomLabels[6]="Refugium";
//ReefAngel.CustomLabels[7]="Steph WP10";

////// Place additional initialization code above here
}

void loop()
{
ReefAngel.Relay.DelayedOn( Skimmer,60 );
ReefAngel.MHLights( Kessil,8,00,20,00,1 );
ReefAngel.Relay.Set( Refugium, !ReefAngel.Relay.Status( Kessil ) );
ReefAngel.StandardATO(6, 40);
ReefAngel.DCPump.UseMemory = false;


////// Place your custom code below here
if (hour()>=8 && hour()<20)
{
ReefAngel.PWM.SetDaylight( ElseMode(70,30,true) ); // Else Mode at 70% +/- 30% on sync mode
}
else if (hour()>=20 && hour()<23)
{
ReefAngel.PWM.SetDaylight( NutrientTransportMode(40,80,200,true) ); // Nutrient Transport 40%minspeed - 80%maxspeed - 200ms
}
else if (hour()>=23 || hour()<8)
{
ReefAngel.PWM.SetDaylight( ElseMode(45,15,true) ); // Else Mode at 45% +/- 15% on sync mode
}
if (hour()>=11 && hour()<22)
{
ReefAngel.PWM.SetActinic( ElseMode(70,30,false) ); // Else Mode at 70% +/- 30% on anti-sync mode
}
else if (hour()>=22 || hour()<1)
{
ReefAngel.PWM.SetActinic( NutrientTransportMode(40,80,200,false) ); // Nutrient Transport 40%minspeed - 80%maxspeed - 200ms
}
else if (hour()>=1 && hour()<11)
{
ReefAngel.PWM.SetActinic( ElseMode(45,15,false) ); // Else Mode at 45% +/- 15% on anti-sync mode
}
////// Place your custom code above here

// This should always be the last line
ReefAngel.Portal( "imFortney" );
ReefAngel.ShowInterface();
}

void DrawParamsa(int x, int y){
char buf[16];
ReefAngel.LCD.DrawText(DPColor,DefaultBGColor,x+40,y+10,"Steph:");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.PWM.GetDaylightValue(), DPColor, x+78, y+10,1);
ReefAngel.LCD.DrawText(APColor,DefaultBGColor,x+40,y+20,"Nick:");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.PWM.GetActinicValue(),APColor, x+78, y+20,1);

}

void DrawParams(int x, int y) {
char buf[16];

ReefAngel.LCD.DrawText(COLOR_INDIGO,DefaultBGColor,x+5,y,"Temp:");
ReefAngel.LCD.DrawText(COLOR_INDIGO,DefaultBGColor,x+80, y, "PH:");
// Temp and PH
y+=10;

ConvertNumToString(buf, ReefAngel.Params.Temp[T1_PROBE], 10);
ReefAngel.LCD.DrawLargeText(T1TempColor, DefaultBGColor, x+5, y, buf, Num8x16);
ConvertNumToString(buf, ReefAngel.Params.PH, 100);
ReefAngel.LCD.DrawLargeText(PHColor, DefaultBGColor, x+80, y, buf, Num8x16);
y+=5;

}

void DrawStatus(int x, int y) {
int t=x;

ReefAngel.LCD.DrawLargeText(COLOR_INDIGO,DefaultBGColor,15,y,"High",Font8x16);
ReefAngel.LCD.DrawLargeText(COLOR_ORANGERED,DefaultBGColor,85,y,"Low",Font8x16);

if (ReefAngel.HighATO.IsActive()) {
ReefAngel.LCD.FillCircle(55,y+3,5,COLOR_INDIGO);
} else {
ReefAngel.LCD.FillCircle(55,y+3,5,COLOR_ORANGERED);
}

if (ReefAngel.LowATO.IsActive()) {
ReefAngel.LCD.FillCircle(70,y+3,5,COLOR_ORANGERED);
} else {
ReefAngel.LCD.FillCircle(70,y+3,5,COLOR_INDIGO);
}
}

void DrawCustomGraph()
{
}

byte ElseMode( byte MidPoint, byte Offset, boolean WaveSync )
{
// Static's only initialize the first time they are called
static unsigned long LastChange=millis(); // Set the inital time that the last change occurred
static int Delay = random( 500, 3000); // Set the initial delay
static int NewSpeed = MidPoint; // Set the initial speed
static int AntiSpeed = MidPoint; // Set the initial anti sync speed
if ((millis()-LastChange) > Delay) // Check if the delay has elapsed
{
Delay=random(500,5000); // If so, come up with a new delay
int ChangeUp = random(Offset); // Amount to go up or down
if (random(100)<50) // 50/50 chance of speed going up or going down
{
NewSpeed = MidPoint - ChangeUp;
AntiSpeed = MidPoint + ChangeUp;
}
else
{
NewSpeed = MidPoint + ChangeUp;
AntiSpeed = MidPoint - ChangeUp;
}
LastChange=millis(); // Reset the time of the last change
}
if (WaveSync)
{
return NewSpeed;
}
else
{
return AntiSpeed;
}
}


Thanks guys


Sent from my iPhone using Tapatalk
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Temp 0.0 and timeout on first line of code

Post by cosmith71 »

Bad temp sensor? Try unplugging the temp sensor and see if it uploads.

--Colin
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

unplugging the temp sensor was my first try. now i have unplugged everything and it is being powered by the usb cable. i got the error message that it set.

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Date/Time Setup Menu
Standard Menu
Binary sketch size: 41,188 bytes (of a 258,048 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 -patmega2560 -cstk500v2 -P\\.\COM4 -b115200 -D -V -Uflash:w:C:\Users\Owner\AppData\Local\Temp\build2718938394513701128.tmp\RA_Preloaded.cpp.hex:i 

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         Copyright (c) 2000-2005 Brian Dean, 
         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              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done.  Thank you.
now i am going to leave it unplugged overnight i guess. and try reprogramming in the am. Any suggestions?
thanks
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Temp 0.0 and timeout on first line of code

Post by rimai »

Are you sure that the COM4 port is the one?
Roberto.
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

yes, com3 says cannot communicate with device. com4 reboots the unit tries to start uploading code and fails.
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

i was excited for a second it started to go...

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Date/Time Setup Menu
Standard Menu
Binary sketch size: 41,188 bytes (of a 258,048 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 -patmega2560 -cstk500v2 -P\\.\COM4 -b115200 -D -V -Uflash:w:C:\Users\Owner\AppData\Local\Temp\build2718938394513701128.tmp\RA_Preloaded.cpp.hex:i 

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         Copyright (c) 2000-2005 Brian Dean,
         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              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0b] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: . [08] 
avrdude: Recv: A [41] 
avrdude: Recv: V [56] 
avrdude: Recv: R [52] 
avrdude: Recv: I [49] 
avrdude: Recv: S [53] 
avrdude: Recv: P [50] 
avrdude: Recv: _ [5f] 
avrdude: Recv: 2 [32] 
avrdude: Recv: t [74] 
avrdude: stk500v2_getsync(): found AVRISP programmer
         AVR Part                      : ATMEGA2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         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    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  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  9000  9000 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  9000  9000 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  9000  9000 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  9000  9000 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 : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: AVRISP
avrdude: Send: . [1b] . [02] . [00] . [02] . [0e] . [03] . [90] . [86] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [02] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0f] 
avrdude: Recv: . [18] 
avrdude: Send: . [1b] . [03] . [00] . [02] . [0e] . [03] . [91] . [86] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [14] 
avrdude: Send: . [1b] . [04] . [00] . [02] . [0e] . [03] . [92] . [82] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [04] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0a] 
avrdude: Recv: . [1b] 
         Hardware Version: 15
         Firmware Version Master : 2.10
avrdude: Send: . [1b] . [05] . [00] . [02] . [0e] . [03] . [94] . [85] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [05] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Vtarget         : 0.0 V
         SCK period      : 0.1 us

avrdude: Send: . [1b] . [06] . [00] . [0c] . [0e] . [10] . [c8] d [64] . [19]   [20] . [00] S [53] . [03] . [ac] S [53] . [00] . [00] 5 [35] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [06] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [10] 
avrdude: Recv: . [00] 
avrdude: Recv: . [01] 
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: . [1b] . [07] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [00] . [00] 7 [37] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [07] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [1e] 
avrdude: Recv: . [00] 
avrdude: Recv: & [26] 
avrdude: Send: . [1b] . [08] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [01] . [00] 9 [39] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [08] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [98] 
avrdude: Recv: . [00] 
avrdude: Recv: . [af] 
################avrdude: Send: . [1b] . [09] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [02] . [00] ; [3b] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [09] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: 7 [37] 
################################## | 100% 0.05s

avrdude: Device signature = 0x1e9801
avrdude: Send: . [1b] . [0a] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fc] . [00] Y [59] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0a] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a5] 
avrdude: Send: . [1b] . [0b] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fd] . [00] Y [59] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0b] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a4] 
avrdude: Send: . [1b] . [0c] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fe] . [00] ] [5d] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0c] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a3] 
avrdude: Send: . [1b] . [0d] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [ff] . [00] ] [5d] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a2] 
avrdude: reading input file "C:\Users\Owner\AppData\Local\Temp\build2718938394513701128.tmp\RA_Preloaded.cpp.hex"
avrdude: writing flash (41188 bytes):

Writing | avrdude: Send: . [1b] . [0e] . [00] . [05] . [0e] . [06] . [80] . [00] . [00] . [00] . [98] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [06] 
avrdude: Recv: . [00] 
avrdude: Recv: . [1f] 
avrdude: Send: . [1b] . [0f] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] . [9d] . [c4] . [00] . [00] . [c8] . [c4] . [00] . [00] . [c6] . [c4] . [00] . [00] . [c4] . [c4] . [00] . [00] . [c2] . [c4] . [00] . [00] . [c0] . [c4] . [00] . [00] . [be] . [c4] . [00] . [00] . [bc] . [c4] . [00] . [00] . [ba] . [c4] . [00] . [00] . [0c] . [94] . [bc] + [2b] . [b6] . [c4] . [00] . [00] . [b4] . [c4] . [00] . [00] . [b2] . [c4] . [00] . [00] . [b0] . [c4] . [00] . [00] . [ae] . [c4] . [00] . [00] . [ac] . [c4] . [00] . [00] . [aa] . [c4] . [00] . [00] . [a8] . [c4] . [00] . [00] . [a6] . [c4] . [00] . [00] . [a4] . [c4] . [00] . [00] . [a2] . [c4] . [00] . [00] . [a0] . [c4] . [00] . [00] . [9e] . [c4] . [00] . [00] . [0c] . [94] . [c1] B [42] . [9a] . [c4] . [00] . [00] . [0c] . [94] . [03] F [46] . [0c] . [94] + [2b] G [47] . [94] . [c4] . [00] . [00] . [92] . [c4] . [00] . [00] . [90] . [c4] . [00] . [00] . [8e] . [c4] . [00] . [00] . [8c] . [c4] . [00] . [00] . [8a] . [c4] . [00] . [00] . [88] . [c4] . [00] . [00] . [86] . [c4] . [00] . [00] . [84] . [c4] . [00] . [00] . [0c] . [94] < [3c] F [46] . [0c] . [94] j [6a] G [47] ~ [7e] . [c4] . [00] . [00] . [0c] . [94] l [6c] . [13] z [7a] . [c4] . [00] . [00] x [78] . [c4] . [00] . [00] v [76] . [c4] . [00] . [00] t [74] . [c4] . [00] . [00] r [72] . [c4] . [00] . [00] p [70] . [c4] . [00] . [00] n [6e] . [c4] . [00] . [00] l [6c] . [c4] . [00] . [00] j [6a] . [c4] . [00] . [00] h [68] . [c4] . [00] . [00] f [66] . [c4] . [00] . [00] . [0c] . [94] u [75] F [46] . [0c] . [94] . [a9] G [47] ` [60] . [c4] . [00] . [00] . [0c] . [94] . [ae] F [46] . [0c] . [94] . [e8] G [47] Z [5a] . [c4] . [00] . [00] . [2e] . [0a] 7 [37] . [0a] A [41] . [0a] E [45] . [0b] E [45] . [0b] u [75] . [0f] r [72] . [0d] . [7f] . [0d] . [b1] . [0a] . [b1] . [0a] w [77] . [0e] . [7f] . [0e] . [8b] . [0e] u [75] . [0f] | [7c] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0f] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0b] 
avrdude: Send: . [1b] . [10] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] . [a5] . [0e] . [aa] . [0e] . [f7] . [0c] . [af] . [0e] . [b4] . [0e] . [86] . [0e] f [66] . [0c] . [b9] . [0e] E [45] . [0b] . [be] . [0e] . [d3] . [0e] . [05] . [a8] L [4c] . [cd] . [b2] . [d4] N [4e] . [b9] 8 [38] 6 [36] . [a9] . [02] . [0c] P [50] . [b9] . [91] . [86] . [88] . [08] < [3c] . [a6] . [aa] . [aa] * [2a] . [be] . [00] . [00] . [00] . [80] ? [3f] G [47] E [45] T [54]   [20] / [2f] s [73] t [74] a [61] t [74] u [75] s [73] / [2f] s [73] u [75] b [62] m [6d] i [69] t [74] p [70] . [2e] a [61] s [73] p [70] x [78] ? [3f] t [74] 1 [31] = [3d] . [00] & [26] t [74] 2 [32] = [3d] . [00] & [26] t [74] 3 [33] = [3d] . [00] & [26] p [70] h [68] = [3d] . [00] & [26] i [69] d [64] = [3d] . [00] & [26] e [65] m [6d] = [3d] . [00] & [26] e [65] m [6d] 1 [31] = [3d] . [00] & [26] r [72] e [65] m [6d] = [3d] . [00] & [26] k [6b] e [65] y [79] = [3d] . [00] & [26] a [61] f [66] = [3d] . [00] & [26] s [73] f [66] = [3d] . [00] & [26] a [61] t [74] o [6f] h [68] i [69] g [67] h [68] = [3d] . [00] & [26] a [61] t [74] o [6f] l [6c] o [6f] w [77] = [3d] . [00] & [26] r [72] . [00] & [26] r [72] o [6f] n [6e] . [00] & [26] r [72] o [6f] f [66] f [66] . [00] & [26] p [70] w [77] m [6d] a [61] = [3d] . [00] & [26] p [70] w [77] m [6d] d [64] = [3d] . [00] & [26] p [70] w [77] m [6d] a [61] o [6f] = [3d] . [00] & [26] p [70] w [77] m [6d] d [64] o [6f] = [3d] . [00] { [7b] " [22] j [6a] s [73] o [6f] n [6e] " [22] : [3a] { [7b] . [00] I [49] D [44] . [00] T [54] 1 [31] . [00] T [54] 2 [32] . [00] T [54] 3 [33] . [00] P [50] H [48] . [00] R [52] . [00] R [52] O [4f] N [4e] . [00] R [52] O [4f] F [46] F [46] . [00] A [41] T [54] O [4f] L [4c] O [4f] W [57] . [00] A [41] T [54] O [4f] H [48] I [49] G [47] H [48] . [00] E [45] M [4d] . [00] E [45] M [4d] 1 [31] . [00] R [52] . [c0] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x13
avrdude: stk500v2_paged_write: write command failed
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [00] . [9d] . [cd] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] H [48] . [00] . [00] . [c4] . [9c] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [01] . [00] Q [51] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] H [48] . [00] . [01] . [00] Y [59] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [02] . [c8] . [9a] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] H [48] . [00] . [02] . [c4] . [9e] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [03] . [00] S [53] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [10] . [00] . [01] . [0e] . [01] . [05] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [10] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] H [48] . [00] . [03] . [00] [ [5b] 
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

its still trying and timing out. should i disconect?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Temp 0.0 and timeout on first line of code

Post by rimai »

Does it fail like that if you try to upload another code?
Try something simple like the Template code in the Example Codes.
Roberto.
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

yes i tried the template...

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 34,110 bytes (of a 258,048 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 -patmega2560 -cstk500v2 -P\\.\COM4 -b115200 -D -V -Uflash:w:C:\Users\Owner\AppData\Local\Temp\build2718938394513701128.tmp\Template.cpp.hex:i 

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         Copyright (c) 2000-2005 Brian Dean, 
         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              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0b] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: . [08] 
avrdude: Recv: A [41] 
avrdude: Recv: V [56] 
avrdude: Recv: R [52] 
avrdude: Recv: I [49] 
avrdude: Recv: S [53] 
avrdude: Recv: P [50] 
avrdude: Recv: _ [5f] 
avrdude: Recv: 2 [32] 
avrdude: Recv: t [74] 
avrdude: stk500v2_getsync(): found AVRISP programmer
         AVR Part                      : ATMEGA2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         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    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  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  9000  9000 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  9000  9000 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  9000  9000 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  9000  9000 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 : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: AVRISP
avrdude: Send: . [1b] . [02] . [00] . [02] . [0e] . [03] . [90] . [86] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [02] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0f] 
avrdude: Recv: . [18] 
avrdude: Send: . [1b] . [03] . [00] . [02] . [0e] . [03] . [91] . [86] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [14] 
avrdude: Send: . [1b] . [04] . [00] . [02] . [0e] . [03] . [92] . [82] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [04] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0a] 
avrdude: Recv: . [1b] 
         Hardware Version: 15
         Firmware Version Master : 2.10
avrdude: Send: . [1b] . [05] . [00] . [02] . [0e] . [03] . [94] . [85] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [05] 
avrdude: Recv: . [00] 
avrdude: Recv: . [03] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [03] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Vtarget         : 0.0 V
         SCK period      : 0.1 us

avrdude: Send: . [1b] . [06] . [00] . [0c] . [0e] . [10] . [c8] d [64] . [19]   [20] . [00] S [53] . [03] . [ac] S [53] . [00] . [00] 5 [35] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [06] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [10] 
avrdude: Recv: . [00] 
avrdude: Recv: . [01] 
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: . [1b] . [07] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [00] . [00] 7 [37] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [07] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [1e] 
avrdude: Recv: . [00] 
avrdude: Recv: & [26] 
avrdude: Send: . [1b] . [08] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [01] . [00] 9 [39] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [08] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [98] 
avrdude: Recv: . [00] 
avrdude: Recv: . [af] 
################avrdude: Send: . [1b] . [09] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [02] . [00] ; [3b] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [09] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: 0 [30] 
avrdude: Recv: . [00] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: 7 [37] 
################################## | 100% 0.05s

avrdude: Device signature = 0x1e9801
avrdude: Send: . [1b] . [0a] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fc] . [00] Y [59] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0a] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a5] 
avrdude: Send: . [1b] . [0b] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fd] . [00] Y [59] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0b] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a4] 
avrdude: Send: . [1b] . [0c] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [fe] . [00] ] [5d] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0c] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a3] 
avrdude: Send: . [1b] . [0d] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] . [a0] . [0f] . [ff] . [00] ] [5d] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [07] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a0] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [a2] 
avrdude: reading input file "C:\Users\Owner\AppData\Local\Temp\build2718938394513701128.tmp\Template.cpp.hex"
avrdude: writing flash (34110 bytes):

Writing | avrdude: Send: . [1b] . [0e] . [00] . [05] . [0e] . [06] . [80] . [00] . [00] . [00] . [98] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [06] 
avrdude: Recv: . [00] 
avrdude: Recv: . [1f] 
avrdude: Send: . [1b] . [0f] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] - [2d] . [c4] . [00] . [00] X [58] . [c4] . [00] . [00] V [56] . [c4] . [00] . [00] T [54] . [c4] . [00] . [00] R [52] . [c4] . [00] . [00] P [50] . [c4] . [00] . [00] N [4e] . [c4] . [00] . [00] L [4c] . [c4] . [00] . [00] J [4a] . [c4] . [00] . [00] . [0c] . [94] . [93] ' [27] F [46] . [c4] . [00] . [00] D [44] . [c4] . [00] . [00] B [42] . [c4] . [00] . [00] @ [40] . [c4] . [00] . [00] > [3e] . [c4] . [00] . [00] < [3c] . [c4] . [00] . [00] : [3a] . [c4] . [00] . [00] 8 [38] . [c4] . [00] . [00] 6 [36] . [c4] . [00] . [00] 4 [34] . [c4] . [00] . [00] 2 [32] . [c4] . [00] . [00] 0 [30] . [c4] . [00] . [00] . [2e] . [c4] . [00] . [00] . [0c] . [94] . [d2] 5 [35] * [2a] . [c4] . [00] . [00] . [0c] . [94] . [14] 9 [39] . [0c] . [94] < [3c] : [3a] $ [24] . [c4] . [00] . [00] " [22] . [c4] . [00] . [00]   [20] . [c4] . [00] . [00] . [1e] . [c4] . [00] . [00] . [1c] . [c4] . [00] . [00] . [1a] . [c4] . [00] . [00] . [18] . [c4] . [00] . [00] . [16] . [c4] . [00] . [00] . [14] . [c4] . [00] . [00] . [0c] . [94] M [4d] 9 [39] . [0c] . [94] { [7b] : [3a] . [0e] . [c4] . [00] . [00] . [0c] . [94] . [91] . [11] . [0a] . [c4] . [00] . [00] . [08] . [c4] . [00] . [00] . [06] . [c4] . [00] . [00] . [04] . [c4] . [00] . [00] . [02] . [c4] . [00] . [00] . [00] . [c4] . [00] . [00] . [fe] . [c3] . [00] . [00] . [fc] . [c3] . [00] . [00] . [fa] . [c3] . [00] . [00] . [f8] . [c3] . [00] . [00] . [f6] . [c3] . [00] . [00] . [0c] . [94] . [86] 9 [39] . [0c] . [94] . [ba] : [3a] . [f0] . [c3] . [00] . [00] . [0c] . [94] . [bf] 9 [39] . [0c] . [94] . [f9] : [3a] . [ea] . [c3] . [00] . [00] S [53] . [08] \ [5c] . [08] f [66] . [08] j [6a] . [09] j [6a] . [09] . [9a] . [0d] . [97] . [0b] . [a4] . [0b] . [d6] . [08] . [d6] . [08] . [9c] . [0c] . [a4] . [0c] . [b0] . [0c] . [9a] . [0d] . [e7] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [0f] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0b] 
avrdude: Send: . [1b] . [10] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] . [ca] . [0c] . [cf] . [0c] . [1c] . [0b] . [d4] . [0c] . [d9] . [0c] . [ab] . [0c] . [8b] . [0a] . [de] . [0c] j [6a] . [09] . [e3] . [0c] . [f8] . [0c] G [47] E [45] T [54]   [20] / [2f] s [73] t [74] a [61] t [74] u [75] s [73] / [2f] s [73] u [75] b [62] m [6d] i [69] t [74] p [70] . [2e] a [61] s [73] p [70] x [78] ? [3f] t [74] 1 [31] = [3d] . [00] & [26] t [74] 2 [32] = [3d] . [00] & [26] t [74] 3 [33] = [3d] . [00] & [26] p [70] h [68] = [3d] . [00] & [26] i [69] d [64] = [3d] . [00] & [26] e [65] m [6d] = [3d] . [00] & [26] e [65] m [6d] 1 [31] = [3d] . [00] & [26] r [72] e [65] m [6d] = [3d] . [00] & [26] k [6b] e [65] y [79] = [3d] . [00] & [26] a [61] f [66] = [3d] . [00] & [26] s [73] f [66] = [3d] . [00] & [26] a [61] t [74] o [6f] h [68] i [69] g [67] h [68] = [3d] . [00] & [26] a [61] t [74] o [6f] l [6c] o [6f] w [77] = [3d] . [00] & [26] r [72] . [00] & [26] r [72] o [6f] n [6e] . [00] & [26] r [72] o [6f] f [66] f [66] . [00] & [26] p [70] w [77] m [6d] a [61] = [3d] . [00] & [26] p [70] w [77] m [6d] d [64] = [3d] . [00] & [26] p [70] w [77] m [6d] a [61] o [6f] = [3d] . [00] & [26] p [70] w [77] m [6d] d [64] o [6f] = [3d] . [00] { [7b] " [22] j [6a] s [73] o [6f] n [6e] " [22] : [3a] { [7b] . [00] I [49] D [44] . [00] T [54] 1 [31] . [00] T [54] 2 [32] . [00] T [54] 3 [33] . [00] P [50] H [48] . [00] R [52] . [00] R [52] O [4f] N [4e] . [00] R [52] O [4f] F [46] F [46] . [00] A [41] T [54] O [4f] L [4c] O [4f] W [57] . [00] A [41] T [54] O [4f] H [48] I [49] G [47] H [48] . [00] E [45] M [4d] . [00] E [45] M [4d] 1 [31] . [00] R [52] E [45] M [4d] . [00] A [41] F [46] . [00] S [53] F [46] . [00] P [50] W [57] M [4d] A [41] . [00] P [50] W [57] M [4d] D [44] . [00] } [7d] } [7d] . [00] < [3c] R [52] A [41] > [3e] < [3c] I [49] D [44] > [3e] . [10] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [10] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [14] 
avrdude: Send: . [1b] . [11] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] . [00] < [3c] / [2f] I [49] D [44] > [3e] < [3c] T [54] 1 [31] > [3e] . [00] < [3c] / [2f] T [54] 1 [31] > [3e] < [3c] T [54] 2 [32] > [3e] . [00] < [3c] / [2f] T [54] 2 [32] > [3e] < [3c] T [54] 3 [33] > [3e] . [00] < [3c] / [2f] T [54] 3 [33] > [3e] < [3c] P [50] H [48] > [3e] . [00] < [3c] / [2f] P [50] H [48] > [3e] < [3c] R [52] > [3e] . [00] < [3c] / [2f] R [52] > [3e] < [3c] R [52] O [4f] N [4e] > [3e] . [00] < [3c] / [2f] R [52] O [4f] N [4e] > [3e] < [3c] R [52] O [4f] F [46] F [46] > [3e] . [00] < [3c] / [2f] R [52] . [00] O [4f] F [46] F [46] . [00] > [3e] . [00] < [3c] A [41] T [54] O [4f] L [4c] O [4f] W [57] > [3e] . [00] < [3c] / [2f] A [41] T [54] O [4f] L [4c] O [4f] W [57] > [3e] < [3c] A [41] T [54] O [4f] H [48] I [49] G [47] H [48] > [3e] . [00] < [3c] / [2f] A [41] T [54] O [4f] H [48] I [49] G [47] H [48] > [3e] < [3c] E [45] M [4d] > [3e] . [00] < [3c] / [2f] E [45] M [4d] > [3e] < [3c] E [45] M [4d] 1 [31] > [3e] . [00] < [3c] / [2f] E [45] M [4d] 1 [31] > [3e] < [3c] R [52] E [45] M [4d] > [3e] . [00] < [3c] / [2f] R [52] E [45] M [4d] > [3e] < [3c] A [41] F [46] > [3e] . [00] < [3c] / [2f] A [41] F [46] > [3e] < [3c] S [53] F [46] > [3e] . [00] < [3c] / [2f] S [53] F [46] > [3e] . [00] < [3c] P [50] W [57] M [4d] A [41] > [3e] . [00] < [3c] / [2f] P [50] W [57] M [4d] A [41] > [3e] < [3c] P [50] W [57] M [4d] D [44] > [3e] . [00] < [3c] / [2f] P [50] W [57] M [4d] D [44] > [3e] < [3c] P [50] W [57] M [4d] A [41] O [4f] > [3e] . [00] < [3c] / [2f] P [50] W [57] M [4d] A [41] O [4f] > [3e] < [3c] P [50] W [57] M [4d] D [44] O [4f] > [3e] . [00] < [3c] / [2f] P [50] W [57] M [4d] D [44] O [4f] > [3e] . [00] < [3c] / [2f] R [52] A [41] > [3e] . [00] A [41] B [42] C [43] D [44] E [45] F [46] G [47] H [48] I [49] J [4a] K [4b] L [4c] M [4d] . [a5] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [11] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [15] 
#avrdude: Send: . [1b] . [12] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] N [4e] O [4f] P [50] Q [51] R [52] S [53] T [54] U [55] V [56] W [57] X [58] Y [59] Z [5a] a [61] b [62] c [63] d [64] e [65] f [66] g [67] h [68] i [69] j [6a] k [6b] l [6c] m [6d] n [6e] o [6f] p [70] q [71] r [72] s [73] t [74] u [75] v [76] w [77] x [78] y [79] z [7a] 0 [30] 1 [31] 2 [32] 3 [33] 4 [34] 5 [35] 6 [36] 7 [37] 8 [38] 9 [39] + [2b] / [2f] . [00] H [48] T [54] T [54] P [50] / [2f] 1 [31] . [2e] 1 [31]   [20] 2 [32] 0 [30] 0 [30]   [20] O [4f] K [4b] . [0d] . [0a] S [53] e [65] r [72] v [76] e [65] r [72] : [3a]   [20] R [52] e [65] e [65] f [66] A [41] n [6e] g [67] e [65] l [6c] . [0d] . [0a] C [43] a [61] c [63] h [68] e [65] - [2d] C [43] o [6f] n [6e] t [74] r [72] o [6f] l [6c] : [3a]   [20] n [6e] o [6f] - [2d] s [73] t [74] o [6f] r [72] e [65] , [2c]   [20] n [6e] o [6f] - [2d] c [63] a [61] c [63] h [68] e [65] , [2c]   [20] m [6d] u [75] s [73] t [74] - [2d] r [72] e [65] v [76] a [61] l [6c] i [69] d [64] a [61] t [74] e [65] . [0d] . [0a] P [50] r [72] a [61] g [67] m [6d] a [61] : [3a]   [20] n [6e] o [6f] - [2d] c [63] a [61] c [63] h [68] e [65] . [0d] . [0a] C [43] o [6f] n [6e] n [6e] e [65] c [63] t [74] i [69] o [6f] n [6e] : [3a]   [20] c [63] l [6c] o [6f] s [73] e [65] . [0d] . [0a] C [43] o [6f] n [6e] t [74] e [65] n [6e] t [74] - [2d] T [54] y [79] p [70] e [65] : [3a]   [20] t [74] e [65] x [78] t [74] / [2f] . [00] . [0d] . [0a] C [43] o [6f] n [6e] t [74] e [65] n [6e] t [74] - [2d] L [4c] e [65] n [6e] g [67] t [74] h [68] : [3a]   [20] . [00] < [3c] h [68] 1 [31] > [3e] R [52] e [65] e [65] f [66]   [20] A [41] n [6e] g [67] e [65] l [6c]   [20] C [43] o [6f] n [6e] t [74] r [72] o [6f] l [6c] l [6c] e [65] r [72]   [20] W [57] e [65] b [62]   [20] S [53] e [65] r [72] v [76] e [65] r [72] < [3c] / [2f] h [68] 1 [31] . [e7] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [12] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [16] 
avrdude: Send: . [1b] . [13] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] > [3e] . [00] < [3c] ! [21] D [44] O [4f] C [43] T [54] Y [59] P [50] E [45]   [20] h [68] t [74] m [6d] l [6c] > [3e] < [3c] s [73] c [63] r [72] i [69] p [70] t [74]   [20] s [73] r [72] c [63] = [3d] ' [27] h [68] t [74] t [74] p [70] : [3a] / [2f] / [2f] w [77] w [77] w [77] . [2e] r [72] e [65] e [65] f [66] a [61] n [6e] g [67] e [65] l [6c] . [2e] c [63] o [6f] m [6d] / [2f] w [77] i [69] f [66] i [69] / [2f] r [72] a [61] 2 [32] . [2e] j [6a] s [73] ' [27] > [3e] < [3c] / [2f] s [73] c [63] r [72] i [69] p [70] t [74] > [3e] . [00] < [3c] M [4d] . [00] O [4f] K [4b] . [00] < [3c] / [2f] M [4d] . [00] E [45] R [52] R [52] . [00] < [3c] P [50] . [00] < [3c] / [2f] P [50] . [00] < [3c] M [4d] E [45] M [4d] > [3e] . [00] < [3c] / [2f] M [4d] E [45] M [4d] > [3e] . [00] < [3c] D [44] > [3e] . [00] < [3c] / [2f] D [44] > [3e] . [00] < [3c] M [4d] O [4f] D [44] E [45] > [3e] . [00] < [3c] / [2f] M [4d] O [4f] D [44] E [45] > [3e] . [00] . [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] . [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] ] [5d] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [17] 
avrdude: Send: . [1b] . [14] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] 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] " [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] 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] . [a2] 
avrdude: Recv: . [1b] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [13] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
#avrdude: Send: . [1b] . [15] . [01] . [0a] . [0e] . [13] . [01] . [00] . [c1] . [0a] @ [40] L [4c]   [20] . [00] . [00] . [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] 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] , [2c] . [02] . [01]   [20] . [0f] & [26] . [0f] ( [28] . [01] . [2e] E [45] . [00] S [53] . [00] . [10] . [03] $ [24] " [22] 0 [30] = [3d] 2 [32] . [0e] @ [40] . [80] B [42] . [00] . [83] C [43] . [00] . [83] 4 [34] . [8d] * [2a] E [45] + [2b] i [69] " [22] . [11] U [55] . [00] V [56] . [00] W [57] . [9f] Y [59] . [00] . [00] . [9f] . [00] Q [51] . [11] . [03] ) [29] . [13] ! [21] N [4e] o [6f]   [20] 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] . [c7] . [06] . [cf] . [06] . [dc] . [06] . [e6] . [06] . [f5] . [06] . [04] . [07] . [10] . [07] . [18] . [07] . [1e] . [07] + [2b] . [07] 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] A [41] T [54] O [4f]   [20] C [43] l [6c] e [65] a [61] r [72] . [00] O [4f] v [76] e [65] r [72] h [68] e [65] a [61] t [74]   [20] C [43] l [6c] e [65] a [61] r [72] . [00] P [50] H [48]   [20] C [43] a [61] l [6c] i [69] b [62] r [72] a [61] t [74] . [ed] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [15] . [00] . [01] . [0e] . [01] . [00] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x13
avrdude: stk500v2_paged_write: write command failed
avrdude: Send: . [1b] . [15] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [00] - [2d] x [78] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [15] . [00] . [01] . [0e] . [01] . [00] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [15] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] H [48] . [00] . [00] . [c4] . [99] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [15] . [00] . [01] . [0e] . [01] . [00] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: Send: . [1b] . [15] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] @ [40] . [00] . [01] . [00] T [54] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [15] . [00] . [01] . [0e] . [01] . [00] 
imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

i tried the new cable that i bought from RA and the old cable. with the new cable i got this message:

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 34,110 bytes (of a 258,048 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 -patmega2560 -cstk500v2 -P\\.\COM5 -b115200 -D -V -Uflash:w:C:\Users\Owner\AppData\Local\Temp\build7422261211813710313.tmp\Template.cpp.hex:i 

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         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                    : \\.\COM5
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done.  Thank you.

imfortney
Posts: 15
Joined: Sat Jun 14, 2014 8:30 pm
Location: Key Largo, FL

Re: Temp 0.0 and timeout on first line of code

Post by imfortney »

now all i get is

Code: Select all

Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
I know that the unit was rebooting on its own through out the day, because my skimmer is set to 60 min delay and when i got home the skimmer was off. not to mention the skimmate cup was empty.

this is frustrating. i had to send it back once before only to be told there is nothing wrong with it. When i received it back the unit functioned perfectly and i was able to program it.

i am leaving it unpowered over night maybe i will be able to reprogram it in the am.

what is the button inside on the main board to the right of the screen? Is there someway to reset the unit and start with blank memory?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Temp 0.0 and timeout on first line of code

Post by rimai »

Everytime you program the unit, it will erase the previous one. So, it's like having a fresh memory everytime.
There seems to be something definitely wrong with this unit. It is not supposed to be doing all that.
PM me for RMA.
Roberto.
Post Reply