RA+ Down - You can now upload your INO code

Basic / Standard Reef Angel hardware
Post Reply
keithb
Posts: 18
Joined: Tue Jun 04, 2013 3:20 pm

RA+ Down - You can now upload your INO code

Post by keithb »

I went to update my RA+ today and its now stuck at an "Memory Updated- You can now upload your INO code" screen. I even tried redoing everything via the wizard, but I'm still stuck at the same screen. HALP!

Code:

Code: Select all

#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>


void setup()
{
    ReefAngel.Init();

    InternalMemory.OverheatTemp_write( 869 );
    InternalMemory.StdLightsOnHour_write( 9 );
    InternalMemory.StdLightsOnMinute_write( 0 );
    InternalMemory.StdLightsOffHour_write( 19 );
    InternalMemory.StdLightsOffMinute_write( 0 );
    InternalMemory.ActinicOffset_write( 30 );
    InternalMemory.HeaterTempOn_write( 771 );
    InternalMemory.HeaterTempOff_write( 781 );
    InternalMemory.ATOExtendedTimeout_write( 60 );
    InternalMemory.ATOHourInterval_write( 0 );
    InternalMemory.WaterLevelLow_write( 10 );
    InternalMemory.WaterLevelHigh_write( 15 );
    InternalMemory.CO2ControlOn_write( 7.0 );
    InternalMemory.CO2ControlOff_write( 6.71 );
    InternalMemory.DP1RepeatInterval_write( 60 );
    InternalMemory.DP1Timer_write( 60 );
    InternalMemory.DelayedStart_write( 10 );
    InternalMemory.IMCheck_write(0xCF06A31E);
    ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+20, MENU_START_ROW*3, "Memory Updated");
    ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+25, MENU_START_ROW*6, "You can now");
    ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+25, MENU_START_ROW*7, "upload your");
    ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+33, MENU_START_ROW*8, "INO code");
}

void loop()
{
  wdt_reset();
}

Result of the Upload:

Code: Select all

avrdude: 24130 bytes of flash written
avrdude: Send: . [1b] o [6f] . [00] . [03] . [0e] . [11] . [01] . [01] h [68] 
avrdude: Recv: . [1b] 
avrdude: Recv: o [6f] 
avrdude: Recv: . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [11] 
avrdude: Recv: . [00] 
avrdude: Recv: i [69] 

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

Re: RA+ Down - You can now upload your INO code

Post by rimai »

You are uploading the wrong code.
Try using hard coded settings instead of memory settings when you run through the wizard.
Roberto.
Post Reply