Cannot Upload - timeout communicating with programmer

Do you have a question on how to do something.
Ask in here.
Post Reply
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

I watched it last night and it does not appear to reboot, no.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Open Arduino IDE and go to menu Tools->Serial Monitor.
As you open and close this window, does the controller reboot?
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Sadly no reboot when I open that up
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Did you have the Client service shut down when you were doing this test?
Can you check the settings for the cable?
Control Panel->System->Device Manager
Expand Ports (COM & LPT)
Double-Click USB Serial Port (COM7)
Move to Port Settings
Click Advanced
Make sure that "Set RTS on Close" is checked.
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

I turn the listener off each time I test and I have already checked that setting under the comport and no joy unfortunatly
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Were you able to upload anything before?
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Yeah it is really strange. I just moved house and had to wait a few weeks before I could put the tank together, I was playing with code, got the wifi to work and everything else and it was all uploading fine.

Even now if I plug the wifi in, I can control the two relay's and check temp etc.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Strange indeed.
Did you try a different computer or updating the USB cable driver?
http://www.ftdichip.com/Drivers/VCP.htm
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Interesting update. I got the RA+ board that had the incorrect chip which didnt recognise the relay expansion.

I just remembered I had it and I grabbed it out, plugged it in to the relay and the USB cable and presto, it is uploading code fine.

So we know where the problem is now (in that board), is there a way to clear it and start again so to speak?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Humm.
Good troubleshooting.
The only thing I can think of is the reset jumper on the head unit board.
Is it in place? You need to have all 3 jumpers in place for your particular case.
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Can you confirm how the jumper configuration should be?
I have two boards and they have two different jumper configs so I don't know if I am right or not :D
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

In the RA+ board, there is a jumper block on the left side of the joystick.
All 3 jumpers have to be in place.
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Well I feel like an idiot. For some reason, rst wasnt on so I must have knocked it off when I swapped the boards. With all 3 jumpers on, I can upload code again :D
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Cannot Upload - timeout communicating with programmer

Post by rimai »

Cool :)
Roberto.
eds
Posts: 34
Joined: Wed Apr 25, 2012 12:36 am
Location: Brisbane, Australia

Re: Cannot Upload - timeout communicating with programmer

Post by eds »

Thanks for the help, really appreciate it. Sent you an email about 1 more thing ;)

Cheers

matt
theyeg84
Posts: 1
Joined: Sat Mar 21, 2015 3:35 pm

Re: Cannot Upload - timeout communicating with programmer

Post by theyeg84 »

I just got a reef angel plus control board and it will not program. I do not see any jumpers on my board. At least where I think I am supposed to look. My old reef angel board has one jumper. Could I be missing pieces. The new board will not communicate with my computer at all. I am plugged into the relay box and I can operate the controller but not get into the board. I can also program my old board but not my new one. I have switched the coding between the two boards.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Cannot Upload - timeout communicating with programmer

Post by cosmith71 »

Is this an upgrade from a Standard? Did you switch the board type under Tools->Board?

--Colin
Post Reply