Atmel Studio 6.1 Adding Device

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i buy a clone of arduino leonardo

http://www.ebay.com/itm/31063477...

i have programmed with arduino IDE but i want to use it with Atmel Studio 6.1
How can i add programming device?

PS: how can i see which compiler its used in atmel studio?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is no built-in support in Studio to program an AVR which has an Arduino bootloader.

You can set up an "External tool" in Atmel Studio (Tools menu, External Tools item) that calls on AVRDUDE to do the programming. Search this site for many previous threads on this subject.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i think i have some problem with arguments

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

and how can i see which compiler its used in atmel studio?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OT, and an attempt at humor:

Quote:

i think i have some problem with arguments

Read this, then: https://www.avrfreaks.net/index.p...

On-topic:

Quote:

i think i have some problem with arguments

My car broke down today - why? I.e. if you don't get specific there is no chance anyone can help you at all. How have you set up the tool? What where you expecting to happen? What actually happened? And ... did you search out earlier threads and read them?

(No, really! The car broke down. The dashboard looked like a Christmas tree. Fixed in 15 minutes with the help of a friendly bystander, his two wrenches and a spare part I had in the trunk.)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
avrdude.exe: stk500_getsync(): not in sync: resp=0x00

avrdude.exe done.  Thank you.

Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe

Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega32u4 -carduino -P\\.\COM12 -b115200 -Uflash:w:"$(ProjectDir)Debug\$(ItemFileName).hex":i

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

giorgos3924 wrote:
i think i have some problem with arguments

http://www.youtube.com/watch?v=k...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe

Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega32u4 -carduino -P\\.\COM12 -b115200 -Uflash:w:"$(ProjectDir)Debug\$(ItemFileName).hex":i


And if you take Studio out of the equation and simply issue that command at a Command Prompt what happens?