0

I tried to to upload a hex file I generated for the Arduino Nano using avrdude but I keep getting the error:

avrdude: stk500_2_ReceiveMessage(): timeout

First the arduino board stops doing whatever it is programmed to do, in this case powering a vibration motor . Then this error keeps showing up in delays of around 10 seconds. That error is then followed by

avrdude: ser_recv(): read error: The I/O operation has been aborted because of either a thread exit or an application re
quest.

which appears to be caused by me pulling out the USB cable after waiting a while.

Thanks

RS2322016
3841 gold badge3 silver badges12 bronze badges
asked Aug 7, 2015 at 18:54

1 Answer 1

2

I suggest you disconnect the motor while you are uploading. The power it is using, or the electrical noise it is generating, may intefere with the uploading process.

answered Aug 7, 2015 at 21:32
1
  • thanks for your help, I was just able to upload the hex using Xloader software. Commented Aug 7, 2015 at 21:51

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.