Problem Uploading Sketch to Board - MacOS

Alright, so I am using an Arduino Uno R3 (that came with a kit) for the first time. It was a hand-me-down from my brother who had this for around 3-5 years. This is my first time working with Arduino. He hasn't done anything radical to it so I suppose there shouldn't be too many problems with the board.

I am using a Macbook Pro (Early 2013) Version 10.15.7, and I uploaded the Arduino IDE 1.8.16 for MacOS.

I started off with a simple C++ code:

#define LED 13

void setup() 
{
  pinMode(LED, OUTPUT);

}

void loop() 
{
  digitalWrite(LED, HIGH);
  delay(10);
  digitalWrite(LED, LOW);
  delay(10);
}

Then I got this issue:

Arduino: 1.8.16 (Mac OS X), Board: "Arduino Uno"

Sketch uses 922 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.Bluetooth-Incoming-Port -b115200 -D -Uflash:w:/var/folders/n0/jg1zr9n12s527_grtkj9myfw0000gp/T/arduino_build_194041/LED_test.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 "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/ChrisDu/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.Bluetooth-Incoming-Port
         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 https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.


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

Everything is unplugged apart from the USB cable. The "on" light on the board is lit and the USB is connected all the way.

What could possibly be the issue?

Did you choose the correct port and board type?

Go to tools, and then to port and choose the one connected to Arduino and also make sure it is the correct board there (UNO)

1 Like

Need to change the port to whatever your Uno is connected to. Look under Tools > Port

1 Like