IDE serial port 'com1' not found.

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
julessilver
 
Posts: 6
Joined: Fri Jan 02, 2015 1:34 pm

IDE serial port 'com1' not found.

Post by julessilver »

Dear Forum.

I am trying to Upload the blink sketch to my Trinket.

We are using Windows 7 64 as my host PC (although I have also tried a second Win7/64 laptop and a Linux mint laptop for a sanity check).
I downloaded the USB driver from https://learn.adafruit.com/introducing- ... /downloads - which I assume is the latest?
The IDE we downloaded from https://learn.adafruit.com/introducing- ... rduino-ide - again we assume this is the latest ver?

Reading through the forum posts this seems to be tricky but we seem to have arrived at a situation where windows is happy with the USB driver and we have selected USBtinyISP as the target in the IDE.

However when pressing the reset button on the Trinket and initiating an Upload we get the error "serial port 'com1' not found" followed by:
Binary sketch size: 1,084 bytes (of a 32,256 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:191)
at processing.app.Serial.<init>(Serial.java:77)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:77)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:619)

We have also tried the Chapter3_01Blink.ino test sketch as well as the incumbent blink test sketch that comes in the IDE with the same results. We double checked the target device was USBtinyISP at every point.

Please can someone shed some light on this issue as we have spent 4 hours on this and used 3 different platforms to test this from - all with the same errors.

Regards...jules.
Image

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: IDE serial port 'com1' not found.

Post by adafruit_support_rick »

What board type have you selected in the tools menu?

User avatar
julessilver
 
Posts: 6
Joined: Fri Jan 02, 2015 1:34 pm

Re: IDE serial port 'com1' not found.

Post by julessilver »

As per the attached screen shot - USBtinyISP. Please look at screen shot for more info.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: IDE serial port 'com1' not found.

Post by adafruit_support_rick »

No, you have to set the board type to Trinket in the Tools:Board menu

User avatar
julessilver
 
Posts: 6
Joined: Fri Jan 02, 2015 1:34 pm

Re: IDE serial port 'com1' not found.

Post by julessilver »

Thats great thanks. we have got our first trinket running blink!! Have a good weekend.

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”