getting error

Basic / Standard Reef Angel hardware
Post Reply
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

getting error

Post by jack »

Greetings,

I am trying to upload the new codes from reef angel wizard as have changed few equipements but its not letting me

when i go into software it says generate and upload... i click then it says wait for few seconds and than it says

AN ERROR HAS OCCURED. PLEASE TRY AGAIN.

what shall be the reason ?

please lemme know asap as have changed lights and need to get it on .....
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

The following features were detected:
2014 Main Screen
Extra Font - Medium Size (8x8 pixels)
Standard Menu
Binary sketch size: 54,856 bytes (of a 258,048 byte maximum)
Rebooting Reef Angel Controller
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

it says this.... tried it to upload another way around also....
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

Do you have standard RA or RA+?
Double check your serial port.
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

did checked the serial port ....

i have RA+
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

rimai any luck ?? what shall be done ??

thanks
KRavEN
Posts: 104
Joined: Sun Mar 17, 2013 8:21 am

Re: getting error

Post by KRavEN »

Communication error you're getting indicates that the RA isn't responding to the serial commands telling it to reset and go into programming mode. Most likely the problem is with the connection between the computer and the RA via the USB TTL cable if the RA is working normally when connected to the relay.

Did the serial port number change on the computer? Does the RA power properly when only the USB TTL cable is attached? Is the correct serial port and RA type selected in the arduino IDE?

Can you try holding the reset button on the RA, hit program in the IDE, and release the reset button as soon as you see "Rebooting Reef Angel Controller"? Sometimes this is needed if you get bad code on the controller causing it to spit a lot of output to the serial or it's in a reboot loop.

If none of that works and you have a USBAsp you can hook that to the ICSP header on the RA. Then set the programmer in the arduino IDE to USBAsp and select program bootloader in the arduino IDE. This will reprogram the bootloader and get the RA back to a un-programmed state bypassing the serial port connection as a possible problem. Once it's in this state then try to program as normal through the serial port and it should work.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

hello KRavEN thanks for the detailed reply but sorry to say i am not at all techno geek and didn't got what are you trying to explain me... so to try something different as a last resort.. i downloaded the software to my sisters laptop and attached it to my RA+ and to my surprise it worked perfectly and i uploaded the code...

so now the problem comes with my MAC my sisters laptop is windows so is there any problem with my apple OS ??

thanks for your time guys
KRavEN
Posts: 104
Joined: Sun Mar 17, 2013 8:21 am

Re: getting error

Post by KRavEN »

I don't have much experience with apple but it sounds like a problem with the driver for the USB TTL cable.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: getting error

Post by binder »

what port do you have selected? if you have the wrong port chosen on your mac, it won't work and you can get similar errors that you are receiving.
please check the port and post back what port you are using.

Sent from my Moto X
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

hello i am back

@ binder there is no option coming to select the port in my mac tried it many times :( also uninstalled the software couple of times and reinstalled but same issues
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: getting error

Post by lnevo »

I think its under the tools menu. Look for Serial port, its def there on Mac
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

ohkie zoo there are 6 ports
which to choose ??
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: getting error

Post by lnevo »

usually it's something like tty.usbserial-XXXX or something like that. What are the ports you have listed?
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

there are these many port on my system

/dev/tty.bluetooth-incomming-port
/dev/cu.bluetooth-incomming-port
/dev/tty.bluetooth-modem
/dev/cu.bluetooth-modem
/dev/tty.dharmensiphone-wireless
/dev/cu.dharmensiphone-wireless

hope this helps
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

Your cable USB cable is not listed.
Are you sure that you have installed the drivers according to the manual instructions?
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

yes i am sure i installed everything according to the manuals ...

than what do i need to do ??
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: getting error

Post by binder »

odd question but im going to ask the obvious. is the usb cable plugged into your mac before you launch arduino? if it is not, when arduino launches the port is not found and no ports are selected and it does not automatically select it when the cable is plugged in.
i know that was a silly question for me to ask but i wanted to ask it anyways just to make sure we were not overlooking the obvious.


Sent from my iPad mini
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: getting error

Post by binder »

another question, what version of os x are you running? 10.9, 10.8, 10.7, etc?


Sent from my iPad mini
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

This is the step that installs the drivers in your MacOSX.
You will also need to install the USB TTL cable drivers. Double-click the file FTDIUSBSerialDriver_10_4_10_5_10_6 and follow the instructions on each step. A restart of your computer will be necessary to finish the driver installation.
You are positively sure that you did this, correct?
Can you check if your Mac has any peripherals without drivers?
Did you try another USB port?
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

@binder yes it was plugged before.... i am using mac OS X 10.9.4

@rimai i positively did that but i never restart my computer so might that be a problem ? what i ll do is today once free delete all the old data of the software and restart the computer again install it restart than connect to RA and than start Audrino

previously i use to work the same way but never had any issues :?: :!:
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

Could it be that the USB cable got damaged?
Can you check for any stripped wire?
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

nope thats not a problem if the cable is damaged than i would not be able to connect it via another computer....
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

Ahh, so you can upload from another computer... I may have missed that.
That is definitely a driver not installed correctly then.
Does your OS recognize the cable when plugged?
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

ll chi it later for that

but roberto one serious problem
my relay stopped working :( it was in front of me that it stopped and i had a spare relay so that i could change it immidiately else my tank would have gone without lights/chiller/pump/skimmer every thing means everything for 2 days...

so what found be the possible reason of relay not working. i am really having a bad day :(
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: getting error

Post by rimai »

Are you talking about the entire box or a single port?
Roberto.
jack
Posts: 47
Joined: Wed Aug 21, 2013 12:37 am

Re: getting error

Post by jack »

Yes sir the entire box not working
But the controller in connection to that working

So i had this extra relay expansion that i had bought but havent used it
Quickly took it out an joined it
And to my luck its working

So what could have gone wrong ??

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

Re: getting error

Post by rimai »

Not so sure. Did the breaker pop?
Are you sure it was not the cable that got loose?
If not any of those, PM to send it back and I'll take a look at it?
Roberto.
Post Reply