Arduino IDE doesn't recognize COM port for USBtinyISP (All Info Included)
Moderators: adafruit_support_bill, adafruit

Arduino IDE doesn't recognize COM port for USBtinyISP (All Info Included)

by Mach3Maelstrom on Wed Sep 26, 2012 9:51 am

I just assembled my USBtinyISP and am planning to use it to program an ATtiny84. To test it, I first connected my Arduino Uno to my computer and uploaded Blink onto the board. Set it for COM5, and it works.

Then I connected my USBtinyISP. My computer recognized it (I installed all the drivers already), but now COM5 has disappeared. The only option given was COM1, which is my mouse. Figure I'd try it anyway, of course doesn't work.

Could you help me figure out how to get my USBtinyISP recognized by the Arduino IDE?

All my code is already in the Arduino IDE and I spent a long time learning how to program in this platform (not to mention I have a tight deadline now), so I'd really prefer not to do this through the command line (which would require a few days to learn) if I can avoid it.


1) This was a full kit purchased directly from Adafruit.
2) I'm running Windows 7, 64-bit on a Dell 6320 laptop.
3) Arduino 1.0.1 IDE, programming an Arduino Uno (and later an ATtiny84)
4) The USBtinyISP has not worked yet, though the Green and Red LEDs do work (I used to get a Red LED pulse when I clicked "Upload", but the IDE would return an error and the Red LED would turn off)
5) Here is the IDE error I'm getting:
Image
I ran this off of COM1 (my mouse) because COM5 (what should be the USB port) isn't recognizing the USBtinyISP.
6)
Here are two snapshots of the top and bottom of the assembly. R4 & R7 are shorted.
Image
Image

Thanks in advance for your help!
Mach3Maelstrom
 
Posts: 2
Joined: Fri Sep 21, 2012 10:13 am

Re: Arduino IDE doesn't recognize COM port for USBtinyISP (All Info Included)

by westfw on Wed Sep 26, 2012 12:42 pm

USBtinyISP doesn't appear as a com port; it's a native USB device, automatically detectable by the upload software.
Set your Tools/Programmer to USBtinyISP, and use File/"Upload using Programmer" (shift-Upload on 1.0 and later.)
User avatar
westfw
 
Posts: 1373
Joined: Fri Apr 27, 2007 1:01 pm
Location: SF Bay area

Re: Arduino IDE doesn't recognize COM port for USBtinyISP (All Info Included)

by Mach3Maelstrom on Wed Sep 26, 2012 1:12 pm

It works now (thanks westfw!), but it's a little finicky.

I uploaded Blink no problem, then I tried to upload the software I wrote and it sometimes still poses the statement "cannot find USBtiny". If I unplug the USB and plug it back into the USBtinyISP and try again, it'll work as per westfw's instructions below.

Didn't think the connection was weak between the USB & USB connector in the USBtinyISP, but what could some potential fixes be? I don't want to keep plugging-unplugging it, though for now if it works I'll do it. =P
Mach3Maelstrom
 
Posts: 2
Joined: Fri Sep 21, 2012 10:13 am