LowPowerLab Forum

Hardware support => Moteino => Topic started by: adobe on December 03, 2015, 10:48:56 AM

Title: Help for upload soft to moteino
Post by: adobe on December 03, 2015, 10:48:56 AM
Hello,
I need a help, have a problem when upload CONFIG sketch (SwitchMoteConfig.ino)
When try to upload to my arduino mega 2560 i have success ( i change board from tools menu) but when connect moteino switch to arduino uno board. I receive  this error:

Sketch uses 5,586 bytes (17%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,304 bytes (63%) of dynamic memory, leaving 744 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I try to switch to another board but same problem. Pls help me to resolve this problem. Thanks in advance
Title: Re: Help for upload soft to moteino
Post by: Felix on December 03, 2015, 12:37:56 PM
Quote from: adobe on December 03, 2015, 10:48:56 AM
but when connect moteino switch to arduino uno board. I receive  this error:

What is your hardware exactly? And how are you connected to it from your PC?
Title: Re: Help for upload soft to moteino
Post by: adobe on December 04, 2015, 03:17:56 AM
SwitchMote 2x10A and using FTDI232 to connect with moteino. Arduino soft is v. 1.7.8. I find moteino folder and put in hardware folder in c:\programs.... and in c:\user.....
Title: Re: Help for upload soft to moteino
Post by: Felix on December 05, 2015, 10:51:59 AM
You can just use Arduino UNO as target if you're having trouble with installing libraries in IDE 1.7.8. I still prefer good old 1.0.6.
See this guide on installing additional libraries (https://www.arduino.cc/en/Guide/Libraries) in the IDE.
Title: Re: Help for upload soft to moteino
Post by: adobe on December 09, 2015, 01:25:31 PM
The same  problem
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe8
Title: Re: Help for upload soft to moteino
Post by: Felix on December 09, 2015, 02:25:26 PM
So your target is Arduino UNO, your serial port is correctly selected?
What type of "FTDI232" is connected to Moteino and how?
Title: Re: Help for upload soft to moteino
Post by: adobe on December 14, 2015, 07:25:28 AM
This one http://www.ebay.co.uk/itm/272035321916?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
And i connect correctly, because green led light on moteino is on.
The FTDI232 adapter is working because i try with Arduino mini and is working
Title: Re: Help for upload soft to moteino
Post by: Felix on December 14, 2015, 12:56:45 PM
Could you try it with the Moteino not plugged into the SwitchMote? Just try loading a blink sketch.
I understand that your FTDI is working with the arduino mini, but do you have another FTDI adapter to try it with?
Also do you have another Moteino to try the upload?
Title: Re: Help for upload soft to moteino
Post by: adobe on December 15, 2015, 03:15:11 AM
no i dont have another moteino ad FTDI  :( i will try without switchmote
Title: Re: Help for upload soft to moteino
Post by: adobe on December 16, 2015, 12:30:09 PM
The same problem, i purchase another FTDI adapter to try, maybe have some conflict with moteino
Title: Re: Help for upload soft to moteino
Post by: Felix on December 16, 2015, 12:59:46 PM
As with all moteinos that get shipped out, this was tested with a test sketch to ensure upload and transmit/receive will work, so it worked at one point.
I do not recommend cheap $1 or $2 FTDI adapters off ebay which are most likely fakes or rejected chips. If it works with a mini it does not necessarily mean it will work with a Moteino, it depends on the voltages on the tx/rx with respect to VDD. I make FTDI adapters with genuine chips that are guaranteed to work.
And of course applying voltages in reverse, shorts, poor soldering or other factors can damage a Moteino, like any other arduino.
If you want you can return it for me to take a look at it.
Title: Re: Help for upload soft to moteino
Post by: adobe on December 21, 2015, 12:16:19 PM
Yes , but for me is very expensive to buy from you FTDI adapter and for this reason i buy from ebay. 14.95$ this is near 30 leva for Bulgaria. My salary is 25 leva for one day :) Whatever. Next year i will purchase from you. Happy Holidays and thanks for the help
Title: Re: Help for upload soft to moteino
Post by: Felix on December 21, 2015, 12:48:08 PM
Sorry to hear that ...
Moteino is 3.3V and some FTDI adapters are 5V.
If you only have 1 FTDI adapter and 1 Moteino, and no way of doing any debugging with a multimeter or an oscilloscope, then I don't know what else to recommend other than a return to me for investigation, maybe you have some friends who can help locally?
I am pretty sure Moteinos will work with most generic FTDI adapters but I cannot give any guarantees. Also if you had another Moteino you could test with that and see if the same thing happens and draw some conclusions from that - if only one has this problem then maybe that one got damaged or bootloader was erased or something like that.
Title: Re: Help for upload soft to moteino
Post by: Sergegsx on December 21, 2015, 04:30:57 PM
as Felix is saying, it is hard to debug with only one Moteino.
Do you have any other Arduino? UNO, Nano?

If you have any Arduino you can use it as a ISP programmer and check that the Moteino has a working bootloader. You can even use it to load sketch with it.
Please confirm if you have any Arduino and I will give you more details.
Title: Re: Help for upload soft to moteino
Post by: adobe on January 05, 2016, 12:41:50 PM
I have a arduino mega2560 and arduino uno
Title: Re: Help for upload soft to moteino
Post by: adobe on January 31, 2016, 09:53:27 AM
Guys same problem
Title: Re: Help for upload soft to moteino
Post by: Felix on February 01, 2016, 04:05:08 PM
Quote from: adobe on January 31, 2016, 09:53:27 AM
Guys same problem
More specific?
Title: Re: Help for upload soft to moteino
Post by: adobe on March 24, 2016, 02:02:55 PM
as Felix is saying, it is hard to debug with only one Moteino.
Do you have any other Arduino? UNO, Nano?

If you have any Arduino you can use it as a ISP programmer and check that the Moteino has a working bootloader. You can even use it to load sketch with it.
Please confirm if you have any Arduino and I will give you more details.


what next i have arduino mega and aruino uno