Loading code to Arduino through USB in Windows 7

Operating system: Windows 7 Home premium SP1 64 bits

Board: Arduino Duemilanove with ATmega328

Problem: Can not load sample DF RobotShop rover Arduino program to board through USB cable

Additional info: Robot can run default loaded program (move front and back), 6 LED's turn on when connected to the PC with the USB, tried both pins 1/0 (light and temperature sensors) connected and disconnected.

I am trying to load the sample code Arduino code for the DF RobotShop rover. I downloaded the Arduino software from www.arduino.cc , as the PDF manual suggested. I connected the rover board to the PC with the USB cable. The device appears under "other devices" in the device manager.

In the "Update driver software" device manager right click option, I pointed to the "drivers" dirctory from the Arduino software. That did not worked. Then I downloaded a Windows Vista FTDI driver from http://usbserialdrivers.com/ . The device manager was able to install the software but it did not worked either.

For all the attempts (mentioned above) to load the Aldruino program to the board within the Arduino IDE, the following Java exception is thrown. It says that I should set the "Tools->Serial Port", but this menu option is always greyed out (disabled); no matter how I tweek the GUI (including restarting various times with the device plugged in and not). A similar exception is thrown when trying to open the serial port monitor.

As mentioned in another thread of this forum, there does not seem to be a way in Windows 7 to associate a USB port to a COMx slot. I have never played with this mapping so probably I am missing something.

Has somebody tried to do a similar task (sending an Arduino program through its IDE in Windows 7)?

I would appretiate if somebody can tell me a working combination (Arduino IDE, driver version/link) or solution (e.g., COMx setting procedure).

Thanks

processing.app.SerialNotFoundException: Serial port 'COM1' not found. Did you select the right one from the Tools > Serial Port menu?
at processing.app.Serial.(Serial.java:153)
at processing.app.Serial.(Serial.java:91)
at processing.app.SerialMonitor.openSerialPort(SerialMonitor.java:204)
at processing.app.Editor.handleSerial(Editor.java:2390)
at processing.app.Editor$18.actionPerformed(Editor.java:668)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

I had the same problem...

Here's the solution:
Download the .rar from the link.
Extract it.
Connect Arduino to your PC.
Run CDM 2.04.16.exe
Check Device Manager, It should show USB Serial Port under COM PORTS.
Open Arduino IDE select the board and the COM PORT.

It worked for me.
Hope this helps.

Link: http://www.sendspace.com/file/b3qv3k

I found my USB hub made things not work properly- connect directly to your PC.
Then uninstalling the USB driver then reinstalling in Windows7 fixed things.
I go to Computer->Manage->Device Manager and see if connecting/disconnecting the Arduino shows COM port assignment.
COM1 can be your motherboard RS-232, not a USB assignment.

I had some hassles with the Mega2560 under Windows7. It does not use the FTDI USB chip, instead uses Atmel 8U2 so I had to load the USB driver from drivers\Arduino MEGA 2560.inf ... but not so with the Mega328.

The problem due to an incorrect USB driver. I fixed it by downloading the Windows 64 bit driver from the "http://www.ftdichip.com/Drivers/VCP.htm" link. After that Windows asked me for setting up the device, I selected the automated/recommended option. Then the device appeared automatically under the USB node in the device manager. After that the Arduino IDE had the COM7 option under Tools->Serial port. I had the correct board option previously (Arduino Duemilanove). After that everything else went smoothly and the robot moved through the hyperterminal.

Thanks for the responses!
Ivan