Is my board dead. or just unresponsive

I have a Arduino Uno board, and it doesn’t run the code for a led project. I have followed the steps in the troubleshooting guide and when the board is connected to my linux box, it returns what I type in the serial monitor .

The board is connected to /dev/ttyACM1, usb port, and when I try and re upload the code, I get this error message:

Using Port : /dev/ttyACM1
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
Invalid library found in /home/rob/sketchbook/libraries/ArduinoColor: /home/rob/sketchbook/libraries/ArduinoColor
Invalid library found in /home/rob/sketchbook/libraries/I2CexpDiag: /home/rob/sketchbook/libraries/I2CexpDiag
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 http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

Also the reset button does not do anything now.

Would replacing the 328p chip do any good.

Hello,

there are many reasons with such symptom - zero response. There is no connection to the ATmega chip. It can be any HW problem, driver on your PC, missing bootloader,... it can be also broken chip but better to start with simpler things.
Read the troubleshooting guide for what to check.

I am running Linux Ubuntu 18.04, and another Arduino Uno does work ok, in that a project/code is uploaded and runs fine, but the one in question does not. To me that rules out any driver problem.

I have gone through the trubleshooting guide and read the parts which appertains to linux

The board is connected to or by /dev/ttyACM1
The green LED is on
The board returns board info from the IDE/Get board information
The Reset button does not blink the yellow led
The serial monitor is available and the board returns anything I type in the top box.

I think I'll take a chance and buy a new Atmega328p U chip

Try reloading the bootloader , IF everything is the same , then load the blink sketch .

The board may well be on a different com port than the other .

Yes, try to upload the bootloader.

Ok, I have now ordered 3 new chips whith bootloader already loaded from China, so it'll be a a week or 2 before I get them.

Will it be a simple job of just swapping the existing one out for a new one, and then all is ok?

@Budvar10
I'll have a go at that while I am waiting fro the new chips

How do I reload the bootloader, and is there a link from which I can work from.

Thanks

With another Arduino and loaded ArduinoISP sketch, here on web: https://www.arduino.cc/en/Tutorial/ArduinoISP
or https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
or some people prefer Nick Gammon's https://www.gammon.com.au/bootloader as better understandable.

I would go according the 1st link I've posted.

Thanks and I have pulled a working board out of service to use as the Programmer. I then connected the wires to the target board (non working) Using the old style method

After plugging in the USB cable to the Programmer board both leds came on, on both of the boards. Then I uploaded the ArduinoISP code to the Programmer.
When I clicked on 'Burn Boot loader' I got an error straight away: Error while burning bootloader.

Is the bootloader code a separate file.

How do I select the proper bootloader code and the fuses configurations.

I haven't changed any of the parameters of the code as I don't know what to change anyway.

You must doing something wrong. First, upload the ISP sketch to the programmer. Next, connect the target. It requires just 6 wires. Do it consistently. Next, select the programmer type and the board type and finally, burn the bootloader.

In case of problems, post the photo of your setup and output log.

I changed the programmer from ArduinoISP to Arduino as ISP after reconnecting all 6 wires, then burn bootloader.

This returned:

vrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is “/home/rob/Downloads/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf”
User configuration file is “/home/rob/.avrduderc”
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Error while burning bootloader.
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

ArduinoISP is a programmer board (Arduino ISP), while "Arduino as ISP" means normal Arduino board with ISP sketch loaded.
The ISP sketch was loaded into programmer board without problems, wasn't it?

Budvar10:
ArduinoISP is a programmer board (Arduino ISP), while "Arduino as ISP" means normal Arduino board with ISP sketch loaded.
The ISP sketch was loaded into programmer board without problems, wasn't it?

Yes, the ArduinoISP code or project did upload to the working Ardiuno board without any errors or problems. I have just tried the programmer ArduinoISP , and it returned this error, when trying to burn the bootloader:

avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/rob/Downloads/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/rob/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : usb
Using Programmer : arduinoisp
avrdude: Error: Could not find USBtiny device (0x2341/0x49)

avrdude done. Thank you.

Error while burning bootloader.

Which one should be used, ArdiunoISP or Arduino as ISP

Thanks

Right, I changed the programmer from ArduinoISP back to Arduino as ISP, as well as reconnecting the wires again. This time I got this:

avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/rob/Downloads/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/rob/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Error while burning bootloader.
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

Could it be that chip is dead, from reading about all the 0's and not 1's, or is there something else I have to do as well.

Thanks

Sure, the chip could be dead, but I can’t believe to it. Do you remember some issue with the board. Does it get hot?

Can you post the photo of your HW setup?

You can check:

  • is ISP sketch loaded ?
  • reset pulse, does it passing to the target or not ?, check it with the DMM or LED on RESET pin
  • clock on target, without the clock source the chip wont start, you can test it with the DMM on the XTAL1 pin, DC should be 1/2 VCC against GND in case of crystal or little bit less in case of resonator.

In any case you can try another chip.

Budvar10:
Sure, the chip could be dead, but I can’t believe to it. Do you remember some issue with the board. Does it get hot?

Can you post the photo of your HW setup?

You can check:

  • is ISP sketch loaded ?
  • reset pulse, does it passing to the target or not ?, check it with the DMM or LED on RESET pin
  • clock on target, without the clock source the chip wont start, you can test it with the DMM on the XTAL1 pin, DC should be 1/2 VCC against GND in case of crystal or little bit less in case of resonator.

In any case you can try another chip.

ISP sketch is loaded onto Programmer board without any error
Reset puls does NOT pass to Target board
Clock on Target, I’m not sure how to check with DMM, What is that. With an LED is positive pint to reset and negative to GND.
If not, I don’t have anyting to give 1/2 volt as far as I know.

Picture of Programmer board

Target board

avalon66:
ISP sketch is loaded onto Programmer board without any error
Reset puls does NOT pass to Target board
Clock on Target, I'm not sure how to check with DMM, What is that. With an LED is positive pint to reset and negative to GND.
If not, I don't have anyting to give 1/2 volt as far as I know.

Wiring on photo seems OK. When you start bootload procedure, you must see reset pulse on RESET pin on target. Connect LED with pull-up resistor in series between Vcc and RESET. Reset pulse is about 200ms. It should be observable.

...or connect LED with resistor in series between RESET and GND (pull-down).

With an LED is positive pint to reset and negative to GND.

But resistor must be in series with LED! Depends on LED but 1k resistor should be good.

Clock on Target, I'm not sure how to check with DMM, What is that.

Measure DC voltage between XTAL1 pin on ATmega chip directly and GND. XTAL1 is pin 9 on ATmega328P. See the datasheet.
...or e.g. ATmega328P pinout diagram here: