avrdude device signature = 0xffffff

I was developing a firmware for a device, constantly recording and verifying the results and correcting the errors, until a certain moment appeared the error message when trying to record: "avrdude device signature = 0xffffff avrdude yikes invalid device signature", no longer performing recordings. I do not think the problem is the Arduino, because I was able to record in another microcontroller. The microcontroller I use is an ATMEGA328P-AU and to record I use Arduino Duemilanove by ISP. Could someone help me?

Thanks!

Leandro

Can you upload the basic BLINK program to the Arduino that gave rise to the error?

If not, post the exact error message that you get when you tried.

Nick Gammon's diagnostic program may help

...R

Sounds to me like one of your ISP wires has come loose.

johnwasser: Sounds to me like one of your ISP wires has come loose.

I tested the cable, wire by wire, and the tracks responsible for power and programming. It's all OK.

Robin2: Can you upload the basic BLINK program to the Arduino that gave rise to the error?

If not, post the exact error message that you get when you tried.

Nick Gammon's diagnostic program may help

...R

Follow the message:

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/rodrigo/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf" User configuration file is "/home/rodrigo/.avrduderc" User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyUSB0 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.05s

avrdude: Device signature = 0xffffff (probably .reduced_core_tiny) (retrying)

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0xffffff (probably .reduced_core_tiny) (retrying)

Reading | ################################################## | 100% 0.05s

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

avrdude done. Thank you.

Ocorreu um erro enquanto o sketch era carregado

0xFFFFFF sig indicates a wiring problem, usually MISO shorted to Vcc.

leandrolk: I tested the cable, wire by wire, and the tracks responsible for power and programming. It's all OK.

In that case I suspect that something has gone wrong with the system clock on the target processor. You can't do serial programming unless the processor's system clock is running.

1 Like

The ATMEGA328P-AU really burned. I traded for a new one and it all worked out perfectly.

The error occurred again. I do not know what to do.

Well, I using a 16Mhz crystal oscillator. I removed it from the circuit and made the programming changes to use the ATMEGA internal oscillator (8MHZ), but the write error continues.

leandrolk: Well, I using a 16Mhz crystal oscillator. I removed it from the circuit and made the programming changes to use the ATMEGA internal oscillator (8MHZ), but the write error continues.

You have to keep the crystal attached until AFTER you set the fuses to use the internal oscillator. If it is set for a crystal and the crystal is not installed... No Clock. Therefore, no serial programming.