Trouble with library update utility

Community contributed apps
Post Reply
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

screen shot.JPG
screen shot.JPG (38.53 KiB) Viewed 5811 times
here
Image
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

Oh, and now the red status light is staying on steady on the controller...
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trouble with library update utility

Post by rimai »

Yes, you should definitely use COM4.
Just to make sure that the port is setup properly, double-click "USB Serial Port (COM4)", select the tab "Port Settings" and click the button "Advanced".
Is "Set RTS On Close" checked?
The red led status is an indication of ATO timeout or overheat.
Roberto.
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

Yes the port is correctly set up, the box is checked under advanced settings and I am using port 4...still can't upload...

I can't copy and paste the error, but in the middle is says something like "not in synch"
then later is the line about expecting one number but getting another...
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trouble with library update utility

Post by rimai »

Does the controller reboot after a few seconds from when you click the upload button?
You can copy the error by selecting everything and pressing CTRL+C on the keyboard.
Roberto.
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

I'm at work now and can't cut and paste, but I got the pde file to upload and on the controller, I see the development libraries are now current.

However, now I can't get the Client software to communicate with the controller...the listener service says connected but no data is coming in ...I tried re-booting several times (this has fixed this type of problem before) but no dice...I went into my Library and the Reef Angel.Features.h file to see if wifi was commented out, but there is no line in that file that has Wifi commented out....

I thought I should try and create a new pde, but now RAGen won't start!!!! Whenever I try and start RAGen, I get an error message from Windows (this machine runs XP). I tried uninstalling RAGen and reinstalling the latest version, but again, every time I start RAGen, I get the Windows error message...So, I can't run RAGen and can't get the client software to communicate with the controller...Help!!
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trouble with library update utility

Post by rimai »

Can you copy and paste the ReefAngel_Features.h file?
I can look at it and make sure you got the correct stuff.
Can you also try the static version of RAGen and check if it works?
https://github.com/downloads/curtbinder ... static.zip
Roberto.
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

Here is the features file from the libraries:


// AutoGenerated file by RAGen (v1.0.4.92), (10/11/2011 21:40)

/*
* Copyright 2010 / Curt Binder
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__


#define DisplayImages
#define WavemakerSetup
#define DateTimeSetup
#define VersionMenu
#define ATOSetup
#define MetalHalideSetup
#define DirectTempSensor
#define StandardLightSetup


#endif // __REEFANGEL_FEATURES_H__
Image
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

Also, I could run the static RAGen, but it wouldn't generate code, it said there was an unknown error...
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trouble with library update utility

Post by rimai »

Try using this, just copy and paste over the entire file contents

Code: Select all


#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__

#define SIMPLE_MENU
#define wifi
#define VersionMenu

#endif  // __REEFANGEL_FEATURES_H__
Roberto.
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

and then what? i have pasted this in the library in the Reef angelfeature.h file...I can't generate code with RAGen, what is next/
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trouble with library update utility

Post by rimai »

Oh, just upload the code you paste in the beginning of the thread.
Isn't that the code you were trying to upload?
Roberto.
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

I was able to finally get the libraries updated to the controller, that was what I was trying to upload...but since I uploaded the most recent version of the libraries (which is on the controller as v 8.5.18) I cant run RAGen and the client software wont communicate with the controller...
I saw this thread
http://forum.reefangel.com/viewtopic.php?f=8&t=339
should I delete everything and reinstall?
Image
psyrob
Posts: 247
Joined: Thu Sep 01, 2011 8:44 pm

Re: Trouble with library update utility

Post by psyrob »

Thanks Roberto...
Image
Post Reply