Go Down

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


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)"


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).


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


Go to www.arduino.cc and click on Getting Started. That would be good idea.


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.


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