Mac + Uno + avrdude: stk500_recv (): the programmer is not responding

I am trying to upload a .hex file to Arduino. I have no problem downloading code through the IDE (like blinking or whatever). Port and board are correct.

So, the problem appears when I try to download

 avrdude -pm328p -carduino -P/dev/tty.usbmodemfd121 -b57600 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex -v -v -v -v avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf" User configuration file is "/Users/Mikhail/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/tty.usbmodemfd121 Using Programmer : arduino Overriding Baud Rate : 57600 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 

What I tried:

  • I have 4 Uno at the table (original + free versions), the same problem.
  • I installed new drivers from here , tried with and without them.
  • tried with avrdude that comes with Arduino IDE (1.0.5 and nightly builds) and the latest avrdude v.6.1 brew install avrdude
  • various baud rates up to 9600
  • tried to press reset after sending bytes as suggested here
+11
source share
7 answers

Successfully resolved with Hex Uploader .

It is designed to .hex files in Arduino for Mac OS.

Parameters for other operating systems are described in the grbl documentation .

0
source

For me this has been fixed:

  • Disconnect the USB cable from the Arduino
  • Try downloading your program
  • This will fail, and the Arduino app will ask you which USB port to use.
  • I have done it twice
  • Then connect the USB cable to the Arduino
  • Download your program ... succes!

Note. Shortly before I installed the drivers mentioned by Michael.

Setup: Mac OS 10.9.5, Arduino.app 1.0.6, Arduino Duemilanove

+5
source

I just bought aranoinomonkey nano board from Amazon and ran into this exact problem. I am running Arduino software version 1.0.5 and mac osx version 10.9.4.

I tried many different suggestions (for example, holding reset at boot) and none of them worked reliably. All documents say that Macs do not need updated USB drivers, but I just downloaded the updated drivers from: http://www.ftdichip.com/Drivers/VCP.htm (2.2.18)

after downloading and running the FTDI file ..._ 10_4 _..... After it was installed, we returned to the arduino IDE and uploaded a sketch ... it worked perfectly!

+1
source

There was the same problem. But I fixed it by going to Tools-> Serial Port, then selecting tty.ADR6300-SerialPort

+1
source

Another reason for failure: incorrect bootloader

I recently acquired Arduino nano, and when I tried to download Blink for testing, it failed. Since the board was manufactured earlier, by January 2018, only the processor choice> "ATmega328P (old bootloader)" solved the problem ( https://www.arduino.cc/en/Guide/ArduinoNano#toc4 )

+1
source

I had the same problem with Ardunio Leonardo's board. I notice that I forgot to install the version of my board from the IDE. After choosing the right board (Tools → Tip → Ardunio Leonardo), the problem is resolved.

0
source

I had the same problem with my Arduino Uno last night. After I hit my head against the wall, I updated the Arduino IDE to 1.6.0. I did this on Mac OS X by simply downloading 1.6.0 from the Arduino homepage.

After installing this and choosing the right board in my case, something like: / dev / tty / usbmodem ____ (Arduino Uno)

The error was cured, and I could load the programs again without performing any complicated presses of reset, that is, one second after loading the program holds the reset button for 5 seconds.

Ok, this is what worked for me, hope it works for others!

0
source

Source: https://habr.com/ru/post/970174/


All Articles