Tried everything I can find to fix avrdude: stk500_recv(): programmer is not res

I have tried everything I can think of for the past week and am now reaching out for help. I am running on MacOS Catalina and the latest version of arduino and drivers and installations. I have been getting this message with not just this arduino nano ever but a few other nanos I have as well with the same error messages.
Please help. I will attempt any troubleshoot or guidance advised, I just want to get on with my projects already.

Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/Users/ben/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/Users/ben/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbmodem141401 -b115200 -D -Uflash:w:/var/folders/rs/9xcxcshx3wg0465g45m294q00000gn/T/arduino_build_332832/Blink.ino.hex:i 
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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 "/Users/ben/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/Users/ben/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem141401
         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=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

benbolet:
I have been getting this message with not just this arduino nano ever

When you say "arduino nano ever", exactly which Arduino Nano board are you talking about. There are several different models of Nanos and each needs to have a different configuration in the Arduino IDE in order to upload:

*Every

I got it to work by switching to an older 1.6.21 version of the Arduino AVR boards… the blink sketch uploaded successfully. Now I am being hit with another issue… Error compiling for board Arduino Nano Every. Here is the error message and below is the code.

Arduino: 1.8.13 (Mac OS X), Board: "Arduino Nano Every, ATMEGA328"











In file included from /Users/ben/Documents/Arduino/libraries/FastLED/examples/ColorTemperature/ColorTemperature.ino:1:0:
/Users/ben/Documents/Arduino/libraries/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.000
 #    pragma message "FastLED version 3.003.000"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/ben/Documents/Arduino/libraries/FastLED/FastLED.h:65:0,
                 from /Users/ben/Documents/Arduino/libraries/FastLED/examples/ColorTemperature/ColorTemperature.ino:1:
/Users/ben/Documents/Arduino/libraries/FastLED/fastspi.h:130:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output
 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/ben/Documents/Arduino/libraries/FastLED/FastLED.h:48:0,
                 from /Users/ben/Documents/Arduino/libraries/FastLED/examples/ColorTemperature/ColorTemperature.ino:1:
/Users/ben/Documents/Arduino/libraries/FastLED/fastpin.h: In instantiation of 'class FastPin<3>':
/Users/ben/Documents/Arduino/libraries/FastLED/platforms/avr/clockless_trinket.h:96:49:   required from 'class ClocklessController<3, 6, 8, 6, (EOrder)66, 0, false, 10>'
/Users/ben/Documents/Arduino/libraries/FastLED/chipsets.h:481:7:   required from 'class WS2811Controller800Khz<3, (EOrder)66>'
/Users/ben/Documents/Arduino/libraries/FastLED/FastLED.h:111:52:   required from 'class WS2811<3, (EOrder)66>'
/Users/ben/Documents/Arduino/libraries/FastLED/FastLED.h:302:39:   required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 3; EOrder RGB_ORDER = (EOrder)66]'
/Users/ben/Documents/Arduino/libraries/FastLED/examples/ColorTemperature/ColorTemperature.ino:82:64:   required from here
/Users/ben/Documents/Arduino/libraries/FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified
  static_assert(validpin(), "Invalid pin specified");
  ^~~~~~~~~~~~~
exit status 1
Error compiling for board Arduino Nano Every.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Here is the actual code I’m using.

#include <FastLED.h>

#define LED_PIN     3

// Information about the LED strip itself
#define NUM_LEDS    60
#define CHIPSET     WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];

#define BRIGHTNESS  128


// FastLED v2.1 provides two color-management controls:
//   (1) color correction settings for each LED strip, and
//   (2) master control of the overall output 'color temperature' 
//
// THIS EXAMPLE demonstrates the second, "color temperature" control.
// It shows a simple rainbow animation first with one temperature profile,
// and a few seconds later, with a different temperature profile.
//
// The first pixel of the strip will show the color temperature.
//
// HELPFUL HINTS for "seeing" the effect in this demo:
// * Don't look directly at the LED pixels.  Shine the LEDs aganst
//   a white wall, table, or piece of paper, and look at the reflected light.
//
// * If you watch it for a bit, and then walk away, and then come back 
//   to it, you'll probably be able to "see" whether it's currently using
//   the 'redder' or the 'bluer' temperature profile, even not counting
//   the lowest 'indicator' pixel.
//
//
// FastLED provides these pre-conigured incandescent color profiles:
//     Candle, Tungsten40W, Tungsten100W, Halogen, CarbonArc,
//     HighNoonSun, DirectSunlight, OvercastSky, ClearBlueSky,
// FastLED provides these pre-configured gaseous-light color profiles:
//     WarmFluorescent, StandardFluorescent, CoolWhiteFluorescent,
//     FullSpectrumFluorescent, GrowLightFluorescent, BlackLightFluorescent,
//     MercuryVapor, SodiumVapor, MetalHalide, HighPressureSodium,
// FastLED also provides an "Uncorrected temperature" profile
//    UncorrectedTemperature;

#define TEMPERATURE_1 Tungsten100W
#define TEMPERATURE_2 OvercastSky

// How many seconds to show each temperature before switching
#define DISPLAYTIME 20
// How many seconds to show black between switches
#define BLACKTIME   3

void loop()
{
  // draw a generic, no-name rainbow
  static uint8_t starthue = 0;
  fill_rainbow( leds + 5, NUM_LEDS - 5, --starthue, 20);

  // Choose which 'color temperature' profile to enable.
  uint8_t secs = (millis() / 1000) % (DISPLAYTIME * 2);
  if( secs < DISPLAYTIME) {
    FastLED.setTemperature( TEMPERATURE_1 ); // first temperature
    leds[0] = TEMPERATURE_1; // show indicator pixel
  } else {
    FastLED.setTemperature( TEMPERATURE_2 ); // second temperature
    leds[0] = TEMPERATURE_2; // show indicator pixel
  }

  // Black out the LEDs for a few secnds between color changes
  // to let the eyes and brains adjust
  if( (secs % DISPLAYTIME) < BLACKTIME) {
    memset8( leds, 0, NUM_LEDS * sizeof(CRGB));
  }
  
  FastLED.show();
  FastLED.delay(8);
}

void setup() {
  delay( 3000 ); // power-up safety delay
  // It's important to set the color correction for your LED strip here,
  // so that colors can be more accurately rendered through the 'temperature' profiles
  FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalSMD5050 );
  FastLED.setBrightness( BRIGHTNESS );
}

You're using an outdated version of FastLED from before support was added for the Nano Every.

Please do this:

  • Sketch > Include Library > Manage Libraries...
  • Wait for the update to finish.
  • In the "Filter your search..." field, type "fastled".
  • Press the "Enter" key.
  • Scroll down through the list of search results until you find "FastLED by Daniel Garcia". Click on it.
  • Click the "Update" button.
  • Wait for the update to finish.
  • Click the "Close' button.

Now try compiling or uploading your sketch again.

“Arduino Nano Every, ATMEGA328”

Something is very wrong. The nano every does not have an atmega328 (it has an atmega4809)

Hi @westfw. The Nano Every and Uno WiFi Rev2 have a "Registers emulation" custom board option menu. One of the options in that menu is "ATMEGA328", which is supposed to provide some compatibility with code written for the ATmega328P:

menu.mode=Registers emulation
nona4809.menu.mode.on=ATMEGA328
nona4809.menu.mode.on.build.328emulation=-DAVR_NANO_4809_328MODE
nona4809.menu.mode.off=None (ATMEGA4809)
nona4809.menu.mode.off.build.328emulation=

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.