Take the 2-minute tour ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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.

share|improve this answer
    
thanks for your help, I was just able to upload the hex using Xloader software. –  Naan Aug 7 at 21:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.