1

So I try to compile and upload a simple code such as the Basic Blink. I have not connected it to pin 0 or pin 1.

There is an LED with the "L" label on the card that works. So I guess not the chip is damaged?

I have selected the correct model which is Arduino Uno / Genuino. I've checked the drivers several times now, even reinstalled Arduino Software twice and tried on 2 different computers.

5V works with ground, I can get the LED to light up. But I cannot compile / upload code.

Error MSG: avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
(this message repeats 10 times with attempts)

I read something about bootloader, but I have no idea how to do this / what it is. I do not have the right components for bootloading I guess.

Also the COM is correct. I've tried using all the listed COMs without any result. Is this a hardware issue? Is my chip grilled or something?

Pinch
  • 19
  • 3
  • That might be a bootloader issue, it is not hard to solve but you will need another arduino as programmer to reprogram the bootloader. – Ikbel Nov 12 '15 at 16:58
  • But the L led is working? If that one works, shouldn't the chip be working? By the way, how do I remove the chip? – Pinch Nov 12 '15 at 17:17
  • Ah sorry, if the LED marked L ( usually known as pin 13 ) is on, then it might be another problem, since the booloader is still there. did you unplug any circuit attached to Arduino on upload time? – Ikbel Nov 12 '15 at 17:22
  • How to remove the chip? watch this video: https://www.youtube.com/watch?v=Hi5CsIsq28M – Ikbel Nov 12 '15 at 17:25
  • https://youtu.be/P6IKJehtB_c . Bad quality, but this is how it looks. – Pinch Nov 12 '15 at 17:34
  • According to the video, your bootloader is still there and the reset works just fine, so the microcontroller is working. I see your TX LED constantly on ?! – Ikbel Nov 12 '15 at 17:39
  • TX led is flashing rapidly fast. Looks like it is sending all the time, is this normal? – Pinch Nov 12 '15 at 17:41
  • No, there is something wrong, plug in your Arduino and try to uninstall its COM port from Device Manager, then unplug it, wait a few seconds and replug it again. – Ikbel Nov 12 '15 at 17:46
  • I uninstalled the COM port, waited a few seconds as you said and replugged it. Then I went over to the Arduino IDE and uploaded the blink again. Then the TX is high while it says "Uploading" and I still get the not in sync errors. Image: http://i.imgur.com/Kc4HltE.jpg – Pinch Nov 12 '15 at 17:52
  • `Overriding Baud Rate : 115200` What does this mean? – Pinch Nov 12 '15 at 17:58
  • I look into the Serial monitor, and it prints numbers like: 1187.50 etc – Pinch Nov 12 '15 at 18:04
  • Yes, your arduino is constantly sending values to your computer. try to upload a sketch to your arduino and when you see uploading to I/O board try to press the reset button. – Ikbel Nov 12 '15 at 18:08
  • btw, make sure that you use `AVRISP mkll` as programmer. – Ikbel Nov 12 '15 at 18:11
  • I am using AVRISP mkll and tried reseting once I upload. No difference. Image: http://i.imgur.com/MOpwPSe.png – Pinch Nov 12 '15 at 18:14
  • Try to connect RX and TX pins of your Arduino with a wire and then plug it to your computer, then open Serial Monitor and send some string and see if you get it back? – Ikbel Nov 12 '15 at 18:24
  • Should I add pinMode 0 and 1 as outputs in setup? I connected a wire from RX (0) to TX (1) – Pinch Nov 12 '15 at 18:26
  • No don't use any sketch, just open the Serial Monitor and see what happens? – Ikbel Nov 12 '15 at 18:27
  • It prints numbers on the same line. I connected a wire from 0 to 1, right? – Pinch Nov 12 '15 at 18:29
  • The TX light is flashing. RX light doesn't respond. – Pinch Nov 12 '15 at 18:31
  • Do you have another arduino or another chip? – Ikbel Nov 12 '15 at 18:35
  • No, this is the only one. I uploaded an empty sketch and now the TX is lighting constantly. – Pinch Nov 12 '15 at 18:37
  • `avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00 ...` – Pinch Nov 12 '15 at 18:37
  • Are there other solutions? I think the chip needs to be reprogrammed.. – Pinch Nov 12 '15 at 18:39
  • I feel the same, you either need another arduino to use it as ISP programmer or an AVR programmer. – Ikbel Nov 12 '15 at 18:40
  • I read somewhere else that one got it to work by changing the baud rate. Where do I change the baud rate? Did he just send a command in the serial monitor? `avrdude.exe -v -P COM3 -c arduino -p atmega328p -b57600 ...` – Pinch Nov 12 '15 at 18:45
  • Before dealing with avrdude, did you try to change the usb cable? use a short one. – Ikbel Nov 12 '15 at 19:05
  • Also, try Tools->Programmer->AVR ISP. then upload blink sketch. – Ikbel Nov 12 '15 at 19:09
  • The solution that involved dealing with avrdude is for arduino clone boards based on CH340 chip. You arduino is obviously a genuine one. – Ikbel Nov 12 '15 at 19:16
  • Yes, mine is 100% genuine. I'll try the AVR ISP. And yes, I've tried 2 cables but none of them worked. They are long though. – Pinch Nov 12 '15 at 20:20
  • Unfortunately it didn't work by changing to AVR ISP. – Pinch Nov 12 '15 at 20:24
  • If you can get an AVR programmer that would solve your problem, it will use SPI interface to program the chip rather than the UART (Serial interface) – Ikbel Nov 12 '15 at 20:28
  • I tried another Arduino today and that one worked. So I guess the other Arduino board's chip has to be reprogrammed. Thanks for trying to help me. – Pinch Nov 13 '15 at 12:47
  • Yes I think so, you may use that Arduino to reprogram yours. – Ikbel Nov 13 '15 at 12:49
  • You probably could try use **Old bootloader** option in the arduino IDE upload configuration – Esdras Xavier Apr 15 '19 at 18:16

1 Answers1

0

You should re-burn the bootloader. If you have another uno, you can burn bootloader here

FloweyTF
  • 111
  • 2