I just purchased the Spark Fun Inventors Kit and and when working on Circuit 1A ‘Blinking an LED’ I run into the following error when trying to upload the code to the RedBoard.
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
And on and on up until 10. Not sure what to do from here. Any suggestions?
Sorry to hear you’re having trouble!
What operating system are you using on your computer and have you set the COM port in Arduino to the same port your RedBoard is on?
Mac OS Sierra 10.13.6
When I click under Tools>Port> there are two choices and I have selected “/dev/cu.usbserial-DN069W1X”. The other says "/dev/cu.Bluetooth-Incoming-Port…
I have tried uploading with each of these selected and still no luck.
OK, seeing /dev/cu.usbserial-DN069W1X is a good thing! Does that go away from the ports menu when you unplug the board?
That going away when the board is unplugged would confirm that’s the correct port for the RedBoard.
Also, do you have anything connected to the 0 and 1 pins? You shouldn’t need too for experiment one but I’m just checking since those pins are in use by the programmer.
One last thing, when you press the reset button on the board, does the blue LED blink three times?
Give this a try:
- Unplug the board and confirm that /dev/cu.usbserial-DN069W1X goes away from the ports menu.
- Plug the board back in and select /dev/cu.usbserial-DN069W1X as your port.
- Press the reset button and confirm you get three quick flashes of the blue D13 LED on the board.
- Go to File/Examples/01.Basics/Blink then try to upload that and see if goes through OK. (you should see the blue LED blink once a second forever.)
If you still are getting the same error, send a screen grab of the Arduino IDE so I can see what your screen looks like.