Go Down

Topic: Cannot upload sketch to arduino from Windows7 (Read 937 times) previous topic - next topic

mfc010

When I try to upload a sketch this is what I get:

"Serial port 'COM1' not found. Did you select the right one from the Tools > Serial Port menu?

Binary sketch size: 1026 bytes (of a 32256 byte maximum)
processing.app.SerialNotFoundException: Serial port 'COM1' not found.  Did you select the right one from the Tools > Serial Port menu?
   at processing.app.Serial.<init>(Serial.java:153)
   at processing.app.Serial.<init>(Serial.java:76)
   at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
   at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
   at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
   at processing.app.Sketch.upload(Sketch.java:1664)
   at processing.app.Sketch.exportApplet(Sketch.java:1624)
   at processing.app.Sketch.exportApplet(Sketch.java:1578)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
   at java.lang.Thread.run(Thread.java:619)"


madworm

Install the drivers, read the troubleshooting guide, do a loop-back test.

Oh, and we'd also like to know what hardware you have. If it's a genuine Arduino (what type?) or a clone (tricky).
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

mfc010

How do I install the drivers?
My university gave me the arduino, so I dont think it's a clone Arduino.

madworm

Go to www.arduino.cc and click on Getting Started. That would be good idea.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

JasonK

check what com port you have selected, the arduino most likely didn't enumerate at com1 that your error message shows the IDE trying to use.

killdeer

Your driver is in your folder where you extracted processing.   You need to locate the driver for windows.  Just get to Arduino folder then just highlight the driver folder.  You should not need to open. 

Good luck. 

Go Up