Solved: Arduino Leonardo upload problem

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

Hi,

 

I'm programming Arduino Leonardo (ATMEL 32u4) board using Atmel studio 7. But when I'm going to upload my code, it gives me following

How to solve this problem.

Here I'm attaching the screenshot of my error message.

 ( .avrdude.exe: butterfly_recv(): programmer is not responding).

 

Attachment(s): 

vkm

Last Edited: Thu. Mar 14, 2019 - 12:00 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What is your avrdude command line?

 

Look at how the Arduino IDE sends the avrdude command(s)

 

David.

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

I set the following commands int  AtmelStudio -> external tools menu.

 

avrdude command line -> C:\Arduino\hardware\tools\avr/bin/avrdude.exe 

Argument ->  -C"C:\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -cavr109 -PCOM39 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i 

vkm

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

Thankx. I found the answer (https://nicholaskell.wordpress.c...)

vkm

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

kaushv wrote:
Thankx. I found the answer
Would the answer be that you changed -b115200 to -b57600 by any chance?