Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.(5)

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/The best way to fix the avrdude: stk500v2_receivemessage(): timeout error
Next
Answered
Jade Thibault
  • 24
Jade Thibault
Asked: May 12, 20222022-05-12T09:32:28+00:00 2022-05-12T09:32:28+00:00In: Programs

The best way to fix the avrdude: stk500v2_receivemessage(): timeout error

  • 24

. Advertisement .

..3..

. Advertisement .

..4..

I don’t know what I’m doing wrong, but I’ve already lost a couple of days struggling with this. Here is my command line:

avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_ReceiveMessage(): timeout
 avrdude: stk500v2_getsync(): timeout communicating with programmer
int led=13;
 void setup()
 {
  pinMode(13,OUTPUT);
 }
 
 void loop()
 {
  digitalWrite(13,HIGH);
  delay(1000);
  digitalWrite(13,LOW);
  delay(1000);
 }

This returns:

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

I don’t have any experience with the “ avrdude: stk500v2_receivemessage(): timeout”. In this case, how should I change?

stk500v2_receivemessage()
  • 3 3 Answers
  • 500 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

3 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    dhtutoria Expert
    2022-06-01T16:03:17+00:00Added an answer on June 1, 2022 at 4:03 pm

    The cause: Because the board is not suitable with your device, or it works instability

    Solution:

    To solve the issue, click in turn order: tools/boards/Boards Manager and continue to choose “updatable” in the segment (Type).  Afterward, compress update button on the right side of each item which you select.

    • 7
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. abergnaum
    2022-06-06T08:24:38+00:00Added an answer on June 6, 2022 at 8:24 am

    I had the same problem and I think you need to specify “-c arduino”. because it is being used an Arduino board.

    The cause can be showed the incorrect programmer in the avrdude command line.

    Another suggestion can help

    avrdude -c arduino -P /dev/ttyACM0 -p atmega328p -U hfuse:r:-:h
    • 18
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. norberto40
    2022-06-06T08:29:30+00:00Added an answer on June 6, 2022 at 8:29 am

    Here is a method

    1. Refer to tools ->boards->Boards Manager…
    2. Choose “updatable” in “Type” section on top left of the opened windows.
    3. Select the items in the list 
    4. Press update on the right.

    Is that simple? and hope to solve your issue.

    Have a nice day, guy!

    • 12
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.