Go Down

Topic: Could not find USBtiny device - Atmel Studio (Read 6776 times) previous topic - next topic

HarimaFiordanske

Sep 03, 2014, 02:46 pm Last Edit: Sep 03, 2014, 02:50 pm by HarimaFiordanske Reason: 1
I am new here, and english isn't my first language so forgive me.

OS: Windows 8.1
Board: Arduino Uno

I am trying to get my atmel studio to work with my arduino uno.
But pressing F5 to the atmel studio seems to produce an error:
Code: [Select]
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)



The Arduino software(the green logo) seems to upload fine,
but i need the Atmel studio to work for debugging purposes

I am following this tutorial :
https://www.youtube.com/watch?v=y3F-U3mAbsQ

I did the steps
1. Install Atmel Studio
2. Install Visual Micro  
3. Configuring : Tools>Options>Visual Micro> Configure ide location to C:\Program Files (x86)\Arduino
4. Create an ino sketch
5. Configure the board(Arduino uno), the serial port (COM 3)
6. USBtinyISP Error on Compilation (pressing F5)

johnwasser

Do you have a USBTinyISP connected to your PC via USB?
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

HarimaFiordanske

No, just via the Printer to USB connector

johnwasser

Sounds like your Atmel Studio is set to use a USBtinyISP.  Perhaps one of the other programmer options will work.  If they have an option for "Arduino Bootloader" then I would try that.  If not, some serial device that uses the STK500 protocol should be close enough.

For Atmel Studio questions you might have more luck in the AVRFreaks.net forums.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

rickj

Just in case you found this thread with an AdaFruit trinket, as I did: don't forget you need to activate the boot loader before uploading a sketch from the IDE. If you don't activate the boot loader first the trinket is not ready for upload, and you get the error message above.

Yes, it is in the documentation, but as a trinket newbie you may have missed it, as I did, and think your board is broken. It isn't.

Go Up