I am having a weird problem uploading (via USB) using Arduino .23 to a "2560" series board. I should mention that I have two "2560" boards and Arduino works with one of them correctly. Both com ports have been set up exactly the same...Com Port speed is 115,200, "set RTS on close" is checked for both. The FTDI driver is the same being used for both boards.
Permalink Reply by Tim - Arduino for Visual Studio on December 9, 2011 at 11:48am i've seen some other threads on diyd with some problems but haven't seen a solution yet. it might be the same problem or might not :)
Some questions
has the board with the problem ever worked?
which usb driver do you have installed?
have your tried resetting usb by powering your computer down?
what happens if you press the reset on the board about the same time (or just after) that arduino reports the program size?
do you have a programmer?
Permalink Reply by Steve Smetters on December 9, 2011 at 1:46pm -the "bad" board has never been able to upload via Arduino. BUT it is able to get USB updates via Mission Planner.
-I'll have to check on the USB driver version but I checked it a month or so ago. This USB driver works for the other "2560" board.
-I have tried to do a "hard" reset by shutting down completely and then powering back on.
-I was going to try the reset button trick next. I saw this in another thread.
-no, I do not have a programmer.
thanks...
Permalink Reply by Tim - Arduino for Visual Studio on December 9, 2011 at 1:51pm have your checked rts on close when the board that isn't working is plugged in? i don't recall if it is a board/port specific or general usb setting.
as you say you should expect the same functionality from both boards and it appears to be working because the mission planner can upload a hex. have you checked rts on close with the board that fails plugged in instead of the board that works?
if all else fails you can replace the .hex file the mission uses with the one your arduino produces. you should see the location of the hex in arduino if you hold down the shift key when you click compile
Permalink Reply by Steve Smetters on December 9, 2011 at 2:54pm Yes- I did check the "rts on close" on the non working board.
replacing the hex sounds interesting. I didn't know I could do that. Thanks for the tip (although, I would still like to get this to work and don't understand why it won't).
thanks again.
Permalink Reply by Steve Smetters on December 9, 2011 at 3:05pm Would the file that I am replacing be the "firmware.hex" in the Mission Planner directory?
Permalink Reply by Tim - Arduino for Visual Studio on December 9, 2011 at 4:05pm there should be a firmware for each type of craft. quad, octo, plane etc.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.1276 members
183 members
24 members
246 members
179 members
© 2013 Created by Chris Anderson.
Powered by
