Go Down

Topic: WiFi Rev2: avrdude: error reading signature data for part "ATmega4809", rc=-67 (Read 434 times) previous topic - next topic

AvelladisTechnologies

Programming the Arduino was going fine until about an hour ago, when the uploading process for a program stopped midway. Now whenever I try to upload code I get this error message:

Code: [Select]
Arduino: 1.8.10 Hourly Build 2019/04/18 12:33 (Windows 10), Board: "Arduino Uno WiFi Rev2, ATMEGA328"


avrdude: Partial Family_ID returned: "mega"
avrdude: AVR device initialized and ready to accept instructions

An error occurred while uploading the sketch
Reading | avrdude: bad response to enter progmode command: 0xa0
avr_read(): error reading address 0x0000
    read operation failed for memory "signature"
avrdude: error reading signature data for part "ATmega4809", rc=-67
avrdude: error reading signature data, rc=-67

avrdude done.  Thank you.


What could the issue be? My guess is that my Arduino needs to have its bootloader reset or something, but I'm not really sure at all.

AvelladisTechnologies

Here is some extra troubleshooting information:

Code: [Select]
avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Marcus\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : xplainedmini_updi
         Overriding Baud Rate          : 115200
avrdude: Found CMSIS-DAP compliant device, using EDBG protocol
         AVR Part                      : ATmega4809
         Chip Erase delay              : 0 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 0
         StabDelay                     : 0
         CmdexeDelay                   : 0
         SyncLoops                     : 0
         ByteDelay                     : 0
         PollIndex                     : 0
         PollValue                     : 0x00
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           prodsig        0     0     0    0 no         61   61      0     0     0 0x00 0x00
           fuses          0     0     0    0 no          9    0      0     0     0 0x00 0x00
           fuse0          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse1          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse2          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse4          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse5          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse6          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse7          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse8          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0     0     0 0x00 0x00
           data           0     0     0    0 no          0    0      0     0     0 0x00 0x00
           usersig        0     0     0    0 no         64   64      0     0     0 0x00 0x00
           flash          0     0     0    0 no      49152  128      0     0     0 0x00 0x00
           eeprom         0     0     0    0 no        256   64      0     0     0 0x00 0x00

         Programmer Type : JTAGICE3_UPDI
         Description     : Atmel AVR XplainedMini in UPDI mode
         ICE hardware version: 0
         ICE firmware version: 1.19 (rel. 57)
         Serial number   : 5DF4052EBA49E6A5C712
         Vtarget         : 5.00 V
         JTAG clock megaAVR/program: 0 kHz
         JTAG clock megaAVR/debug:   0 kHz
         JTAG clock Xmega: 0 kHz
         PDI clock Xmega : 0 kHz

avrdude: Partial Family_ID returned: "mega"
avrdude: AVR device initialized and ready to accept instructions

An error occurred while uploading the sketch
Reading | avrdude: bad response to enter progmode command: 0xa0
avr_read(): error reading address 0x0000
    read operation failed for memory "signature"
avrdude: error reading signature data for part "ATmega4809", rc=-67
avrdude: error reading signature data, rc=-67

avrdude done.  Thank you.


DrAzzy

I would suggest editing your original post to make clear that it's an Uno Wifi Rev. 2 - this board is *very* different from other AVR boards, and you want to draw the attention of the few people who are familiar with it, while deterring the people who have only used the classic AVRs from wasting their time, or worse, posting solutions that don't apply to the Wifi Rev. 2, which wastes your time too as you try solutions that will never work.

I fall into the category of people who are not experienced with the Wifi Rev. 2, unfortunately, so I can't actually help with your problem. This is a very new board, and there is much less accumulated community knowledge of this board - at this point, I would consider this board to be suitable only for experienced arduino users who are ready to deal with problems for which a ready solution isn't yet known (and then post the solution - that's how the community knowledge happens)
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

AvelladisTechnologies

Thanks for that clarification! Guess that's bad luck, as this this has been the first week I've ever touched an Arduino and I happen to be dealing with one of the hardest ones! I'll update the post title now then.

pert

This is purely a guess, but give this a try:
  • Tools > Programmer > Onboard Atmel mEDBG (Uno WiFi Rev2)
  • Tools > Burn Bootloader
  • Try uploading again.

I tried in on my Uno WiFi Rev2 and I can still upload after doing it, so there doesn't seem to be any harmful effects. However, my board doesn't have the upload problem yours does so I can't say whether this will fix your problem.

pert

If that works for you, please let me know. Some other people have reported similar issues, so it would be nice to pass the advice on to them if it is actually the solution.

AvelladisTechnologies

Thanks for the suggestion! Unfortunately that didn't work either, more or less got the same response:

Code: [Select]


avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Marcus\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : xplainedmini_updi
avrdude: Found CMSIS-DAP compliant device, using EDBG protocol
         AVR Part                      : ATmega4809
         Chip Erase delay              : 0 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 0
         StabDelay                     : 0
         CmdexeDelay                   : 0
         SyncLoops                     : 0
         ByteDelay                     : 0
         PollIndex                     : 0
         PollValue                     : 0x00
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           prodsig        0     0     0    0 no         61   61      0     0     0 0x00 0x00
           fuses          0     0     0    0 no          9    0      0     0     0 0x00 0x00
           fuse0          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse1          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse2          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse4          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse5          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse6          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse7          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           fuse8          0     0     0    0 no          1    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0     0     0 0x00 0x00
           data           0     0     0    0 no          0    0      0     0     0 0x00 0x00
           usersig        0     0     0    0 no         64   64      0     0     0 0x00 0x00
           flash          0     0     0    0 no      49152  128      0     0     0 0x00 0x00
           eeprom         0     0     0    0 no        256   64      0     0     0 0x00 0x00

         Programmer Type : JTAGICE3_UPDI
         Description     : Atmel AVR XplainedMini in UPDI mode
         ICE hardware version: 0
         ICE firmware version: 1.19 (rel. 57)
         Serial number   : 5DF4052EBA49E6A5C712
         Vtarget         : 5.00 V
         JTAG clock megaAVR/program: 0 kHz
         JTAG clock megaAVR/debug:   0 kHz
         JTAG clock Xmega: 0 kHz
         PDI clock Xmega : 0 kHz

avrdude: Partial Family_ID returned: "mega"
avrdude: AVR device initialized and ready to accept instructions

Error while burning bootloader.
Reading | avrdude: bad response to enter progmode command: 0xa0
avr_read(): error reading address 0x0000
    read operation failed for memory "signature"
avrdude: error reading signature data for part "ATmega4809", rc=-67
avrdude: error reading signature data, rc=-67

avrdude done.  Thank you.






pert

Sorry to hear it didn't help. It was worth a try at least.

Here are the previous forum threads about this issue:
https://forum.arduino.cc/index.php?topic=607528.0
https://forum.arduino.cc/index.php?topic=609805

I'd recommend subscribing to notifications in those threads (by clicking their "Receive Emails" buttons) in case a solution is presented there. There is also a request for one of the Arduino developers to take a look, and I'll be sure to pass on any information that comes from them if necessary.

AvelladisTechnologies

Excellent I've subscribed to those threads. And thanks for that!

jguenther96

Since yesterday I have the same problem with my Arduino Uno Wifi Rev 2. It would be great if someone finds a solution for this bug. I also wrote an email to the Arduino support and I am waiting for an answer.

Is it maybe possible to exchange the defect Arduino, because it is in the warranty time?

My actual project is a multi medial steering platform for the Tinkerkit Braccio and the Arduino is the leading component for me.

btabuenca

Exchange the defect Arduino is not a solution. I will be out of work as soon a you try with a second Arduino.

This happened to me already twice and still looking for a solution...

Hope we get a solution/workaround soon. It is also my leading component

jguenther96

I need a functional Arduino very fast. Since a few days I have all components together and I am in the test phase. My problem is that I have to finish this university project until the 30th of June.

A quick solution is very important to me. I also hope that the Arduino team would help us with this bug.


Go Up