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.
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 :)
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?
-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.
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
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).
Would the file that I am replacing be the "firmware.hex" in the Mission Planner directory?
there should be a firmware for each type of craft. quad, octo, plane etc.