Upload to UNO R4 Minima fails: "avrdude: stk500_recv(): programmer is not responding"

I received a new R4 UNO yesterday. Connected using an Apple USB to my Windows 11 desktop.

Frustratingly, despite attempting everything in the thread above, I keep getting :

FQBN: arduino:avr:unomini
Using board 'unomini' from platform in folder: C:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...
C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\sketch\DFPlayer_Mini_Code.ino.ino.cpp -o nul
Alternatives for DFRobotDFPlayerMini.h: [DFRobotDFPlayerMini@1.0.6]
ResolveLibrary(DFRobotDFPlayerMini.h)
  -> candidates: [DFRobotDFPlayerMini@1.0.6]
C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -Ic:\OneDrive\talln\talln Stuff\Arduino\libraries\DFRobotDFPlayerMini C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\sketch\DFPlayer_Mini_Code.ino.ino.cpp -o nul
Alternatives for SoftwareSerial.h: [SoftwareSerial@1.0]
ResolveLibrary(SoftwareSerial.h)
  -> candidates: [SoftwareSerial@1.0]
C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -Ic:\OneDrive\talln\talln Stuff\Arduino\libraries\DFRobotDFPlayerMini -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SoftwareSerial\src C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\sketch\DFPlayer_Mini_Code.ino.ino.cpp -o nul
Using cached library dependencies for file: c:\OneDrive\talln\talln Stuff\Arduino\libraries\DFRobotDFPlayerMini\DFRobotDFPlayerMini.cpp
Using cached library dependencies for file: C:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SoftwareSerial\src\SoftwareSerial.cpp
Generating function prototypes...
C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -Ic:\OneDrive\talln\talln Stuff\Arduino\libraries\DFRobotDFPlayerMini -IC:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SoftwareSerial\src C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\sketch\DFPlayer_Mini_Code.ino.ino.cpp -o C:\Users\talln\AppData\Local\Temp\1415136200\sketch_merged.cpp
C:\Users\talln\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\talln\AppData\Local\Temp\1415136200\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-Ic:\\OneDrive\\talln\\talln Stuff\\Arduino\\libraries\\DFRobotDFPlayerMini" "-IC:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\SoftwareSerial\\src" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0\\sketch\\DFPlayer_Mini_Code.ino.ino.cpp" -o "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0\\sketch\\DFPlayer_Mini_Code.ino.ino.cpp.o"
Compiling libraries...
Compiling library "DFRobotDFPlayerMini"
Using previously compiled file: C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\libraries\DFRobotDFPlayerMini\DFRobotDFPlayerMini.cpp.o
Compiling library "SoftwareSerial"
Using previously compiled file: C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0\libraries\SoftwareSerial\SoftwareSerial.cpp.o
Compiling core...
Using precompiled core: C:\Users\talln\AppData\Local\Temp\arduino\cores\arduino_avr_unomini_b6af029f3e14dff5e92fd0aa85d171d2\core.a
Linking everything together...
"C:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.elf" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0\\sketch\\DFPlayer_Mini_Code.ino.ino.cpp.o" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0\\libraries\\DFRobotDFPlayerMini\\DFRobotDFPlayerMini.cpp.o" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0\\libraries\\SoftwareSerial\\SoftwareSerial.cpp.o" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/..\\..\\cores\\arduino_avr_unomini_b6af029f3e14dff5e92fd0aa85d171d2\\core.a" "-LC:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0" -lm
"C:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.elf" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.eep"
"C:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.elf" "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.hex"

Using library DFRobotDFPlayerMini at version 1.0.6 in folder: ######\Arduino\libraries\DFRobotDFPlayerMini 
Using library SoftwareSerial at version 1.0 in folder: C:\Users\talln\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SoftwareSerial 
"C:\\Users\\talln\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\talln\\AppData\\Local\\Temp\\arduino\\sketches\\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.elf"
Sketch uses 5348 bytes (16%) of program storage space. Maximum is 32256 bytes.
Global variables use 391 bytes (19%) of dynamic memory, leaving 1657 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM5" -b115200 -D "-Uflash:w:C:\Users\talln\AppData\Local\Temp\arduino\sketches\9EAAC2D99004A92ECA4D8552334BFAA0/DFPlayer_Mini_Code.ino.ino.hex:i"

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\talln\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM5
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd9

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

In Device Manager is see:

Other devices
! DFU-RT Port (which has no driver, and there is no driver in the installation folders))

Ports (COM & LPT)
USB Serial Device (COM5)

I've also seen transient references to "Santiago DFU".

Help!

Hi @talln. The cause of this error is that you have selected the wrong board in Arduino IDE. Despite the similar name, there are significant technical differences between the "UNO Mini" board you have selected in Arduino IDE and the UNO R4 Minima.

If you haven't already, the first step will be to install the "Arduino UNO R4 Boards" platform that adds support to Arduino IDE for the UNO R4 Minima board. I'll provide instructions you can follow to do that:

  1. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "Arduino UNO R4 Boards" entry.
  3. Click the "INSTALL" button at the bottom of the entry.
  4. You might now see a "User Account Control" dialog about dpinst-amd64.exe asking whether you "want to allow this app from an unknown publisher to make changes to your device". Click the "Yes" button in the dialog.
  5. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

  6. Select Tools > Board > Arduino UNO R4 Boards > Arduino UNO R4 Minima from the Arduino IDE menus.

Now try uploading your sketch again. Hopefully this time it will work as expected.


Please let me know if you have any questions or problems while following those instructions.

1 Like