0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« on: October 09, 2010, 06:30:57 pm » |
Hello All,
I am new to using Arduinos, but I am an experienced programmer, know C and JAVA, and have also done various projects with VHDL.
I recently purchased an Arduino Uno and am in the process of trying to get things set up for the first time. I followed the driver installation instructions for Windows 7 (x64), and when I try to upload the Blink example, I get the following verbose output:
Using Port : \\.\COM3 Using Programmer : stk500v1 Overriding Baud Rate : 115200 avrdude: ser_open(): setting dtr avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Recv: avrdude: stk500_getsync(): not in sync: resp=0x30 avrdude: Send: Q [51] [20] avrdude: Recv: avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
Can anyone help me out with what's going on here? I just got the board and I can't even upload...if problems persist I may boot into Linux (also x64) and see if things will work.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #1 on: October 10, 2010, 01:44:00 am » |
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #2 on: October 10, 2010, 07:46:28 pm » |
All of them. I don't have any programs that scan serial ports, I don't have firewall software that blocks access to serial ports, I'm not reading data over the USB with another program...every other solution looks trivial. Board is on, proper port selected, and proper board selected. Nothing is plugged in except USB, and nothing is touching the board.
I've gotten things working on my Linux partition, so it's not a major issue. Would just be nice to get things working on Windows as well.
|
|
|
|
|
Logged
|
|
|
|
|
London, Ontario, Canada
Offline
Jr. Member
Karma: 0
Posts: 90
Arduino rocks
|
 |
« Reply #3 on: October 10, 2010, 10:46:22 pm » |
When you check out Device Manager, does it show COM3 and COM3 disappears when you unplug the arduino?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #4 on: October 15, 2010, 04:58:12 pm » |
Yes, COM3 disappears when I unplug the Arduino Uno.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #5 on: October 15, 2010, 07:09:56 pm » |
Sounds like the exact problem I have But im using a mac.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #6 on: October 15, 2010, 08:30:25 pm » |
I'm not certain (don't have an UNO yet), but I remember reading that the new boot loader is at 115800bps, not the standart 115200bps.
not sure if that's the actual issue, or how to fix it, good luck
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #7 on: October 15, 2010, 11:12:20 pm » |
Well I think it's a problem only in Windows 7...I can get things to work fine in Linux or using a virtual machine for Windows XP inside Windows 7, but not with Windows 7 itself...
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #8 on: October 16, 2010, 02:09:17 pm » |
What does the Device Manager show for the Uno? You may have to manually update the driver and point it at the .inf file that comes with Arduino 0020 / 0021.
|
|
|
|
|
Logged
|
|
|
|
|
PDX
Offline
Newbie
Karma: 0
Posts: 17
Arduino rocks
|
 |
« Reply #9 on: October 16, 2010, 07:27:57 pm » |
Make sure you have the correct board type selected. When I first installed 0021 Duemilanove was the default, and I had to set it it to Uno.
You can do this from Tools->Board->Uno.
I got this same error message when it was wrong. avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Should add I'm using Windows 7 64bit professional.
|
|
|
|
« Last Edit: October 16, 2010, 07:30:24 pm by egdinger »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #10 on: October 16, 2010, 08:10:55 pm » |
how about running it as an administrator, and in compatibility mode? Some times it will work for most programs. 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #11 on: October 23, 2010, 04:32:51 pm » |
I've got a similar situation. Windows 7 - 64 bit
avrdude: stk500_getsync(): not in sync: resp=0x30 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
My Duemilanove would appear on com 4 and run OK. I plug in the Uno and it does appear in the device manager but the option in the IDE to change the COM port never shows COM 4. I changed the Board to the Uno.
Ran as Administrator and tried compatibility mode. Same results.
System is an Acer laptop. Suggestions? Or is this a Window 7 64bit thing?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #12 on: October 23, 2010, 04:40:11 pm » |
Got it! Went to device manager, right clicked on the arduino and updated the driver. When asked for the driver location navigate to the IDE's drivers folder in the Arduino0021 folder. Installed on COM 5! Commence au festival! 
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #13 on: October 26, 2010, 12:14:01 pm » |
Thanks. I added a note about this to the troubleshooting guide: http://arduino.cc/en/Guide/Troubleshooting. It may have something to do with Windows 7, 64 bit being pickier about having signed drivers or something like that.
|
|
|
|
|
Logged
|
|
|
|
|
|