Hey! Welcome to SheeBot.
We know you are having some serious problem with your Arduino Mega. You are trying, again and again, to upload sketch(program) through the USB port but it is not working. Programmer is not responding in your arduino and giving some error like avrdude: stk500v2_getsync(). Now you are thinking that it will not work again. You don't want to spend a few more bucks on buying new Arduino Mega. You are feeling that you are stuck in a bad situation right now.
But SheeBot have good news for you. Yes, the good news that is you can upload your program in another way. Yes, you heard right. You can do this by using the SPI(Serial Peripheral Interface) connection instead of using a USB connection.
First of all, we have to see what type of error we are getting. In our case it is like the error given below: Error: Programmer is Not Responding Arduino (avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer An error oc…
We know you are having some serious problem with your Arduino Mega. You are trying, again and again, to upload sketch(program) through the USB port but it is not working. Programmer is not responding in your arduino and giving some error like avrdude: stk500v2_getsync(). Now you are thinking that it will not work again. You don't want to spend a few more bucks on buying new Arduino Mega. You are feeling that you are stuck in a bad situation right now.
But SheeBot have good news for you. Yes, the good news that is you can upload your program in another way. Yes, you heard right. You can do this by using the SPI(Serial Peripheral Interface) connection instead of using a USB connection.
First of all, we have to see what type of error we are getting. In our case it is like the error given below: Error: Programmer is Not Responding Arduino (avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer An error oc…