Arduino Uploading Error Grove Board

I keep getting the error message below when I try to upload my program onto the board. I know its not my code because it would verify, and even the simplest Hello Word program wont upload.

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9a
Failed uploading: uploading error: exit status 1

I have downloaded the correct drivers for my COM port connecting and selected the appropriate board and port in the Tools menu.


image

Please let me know if I'm missing something in my setup.

It's unusual to have an Uno with the CP210x; I don't say it's impossible. If you disconnect your board, does COM3 disappear?

Is anything connected to pins 0 and 1? Disconnect that and try again.
Is anything connected to other pins? Disconnect and try again.

Can you give a history of the board? Is it a new board? Or did you use it before? Did it work in the past? What is your current project about?


You're using IDE 2.x but posted in the forum section for IDE 1.x. I've moved your topic to the section that is more suitable for upload problems.

I first started using the board in 2021 for a university course, and this was the setup guide they taught us. When I disconnect the board COM3 does disappear, and nothing was connected to pins 0 and 1. The board did work in the past, and currently I'm just trying to run the test code the IDE provides.

The last project I did with the board was pragram a snap to it; more information on what I did can be viewed on this video: https://www.youtube.com/watch?v=zkEGnqj_n38&t=535s

You probably wiped out the bootloader when you used snap.
Exactly which grove board are you using?

I'm using the Grove Beginner Kit

You were using MPLABX and the SNAP programmer to program the Seeeduino Lotus board, so you probably erased the bootloader
In order to use the Arduino IDE you will need to re-flash the bootloader but I'm not sure it can be done with SNAP.

Ah, it can be done with SNAP but first you will need to install MiniCore.

Would you happen to know the wiring connections between the SNAP and the Grove Board? After the connection has been made, how would run the IDE to re-flash the bootloader on the Grove Board?

Not off hand but it uses the SPI interface on the grove board

how would run the IDE to re-flash the bootloader on the Grove Board?

From the tools menu you select board manager-> minicore->ATmega328
Then from tools menu select programmer->MPLAB SNAP ISP
Then from tools click on Burn Bootloader.

From the SNAP user manual:

This is the current setup I have and the settings for the IDE; but I end up getting this error message.



Well all I can say at this point is check the connections.
I've never used SNAP to program an Arduino, so I'm not sure that I can be of any further help

You need to apply power the the Grove board.
Plug it in to your computer with the USB cable

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