0

Feather 32u4 wrong microcontroller found
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather 32u4 wrong microcontroller found

by kyjohnso on Wed Aug 28, 2019 4:03 pm

I have tried this on 3 Feather 32u4 bluefruits, and one Feather 32u4 basic proto. When I try to upload a sketch I get the error:

avrdude: Device signature = 0x0d3f0d
avrdude: Expected signature for ATmega32U4 is 1E 95 87

Wrong microcontroller found...

I have very occasionally gotten the IDE to upload a sketch but this is very sporadic. I have tried this on a brand new board right out of the package and gotten the same result with the same device signature. I have also looked on this forum and found a post that had a similar problem, however his solution was to install the udev rules and this has not helped my problem. I have also tried reinstalling the arduino IDE and libraries from scratch and I get the same results.

OS: Ubuntu 18.04 LTS
Arduino IDE: 1.8.9
BN: Adafruit Feather 32u4
VID: 0x239A
PID: 0x800C

Thanks for any help you all can provide -

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Re: Feather 32u4 wrong microcontroller found

by franklin97355 on Wed Aug 28, 2019 6:26 pm

Have you tried removing the arduino15 folder and restarting the IDE? The next thing to try is to set the preferences to verbose and post the results of an upload here. Please use code tags when posting code or logs to the forums. It preserves formatting and makes it easier for everyone to read the code. Click the code button above the reply box and paste your code between the tags created.

franklin97355
 
Posts: 21103
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Feather 32u4 wrong microcontroller found

by kyjohnso on Thu Sep 05, 2019 1:52 pm

Thanks,

I did remove .arduino15 and reinstalled the Adafruit board, just tried it again too and same result.

Below is the result of trying to upload Blink,

Any help would be appreciated,

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.9 (Linux), Board: "Adafruit Feather 32u4"

Sketch uses 4052 bytes (14%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes of dynamic memory.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, } / {} => {}
PORTS {} / {/dev/ttyACM0, } => {/dev/ttyACM0, }
Found upload port: /dev/ttyACM0
/home/<user>/projects/arduino/arduino-1.8.9/hardware/tools/avr/bin/avrdude -C/home/<user>/projects/arduino/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/ttyACM0 -b57600 -D -Uflash:w:/tmp/arduino_build_949189/Blink.ino.hex:i

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 "/home/<user>/projects/arduino/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/<user>/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         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  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 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 : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.27s

avrdude: Device signature = 0x0d3f0d
avrdude: Expected signature for ATmega32U4 is 1E 95 87
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

Wrong microcontroller found.  Did you select the right board from the Tools > Board menu?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Re: Feather 32u4 wrong microcontroller found

by adafruit2 on Fri Sep 06, 2019 1:09 am

just to check,c an you post a photo of the board you're talking about?

adafruit2
Site Admin
 
Posts: 18664
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather 32u4 wrong microcontroller found

by kyjohnso on Mon Sep 09, 2019 12:41 pm

Attached is an image of the label on the board and the microcontroller
feather_image.png
Feather Bluefruit 32u4 Board
feather_image.png (625.66 KiB) Viewed 85 times

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Re: Feather 32u4 wrong microcontroller found

by adafruit_support_carter on Fri Sep 13, 2019 6:04 pm

Hey - sorry for late response here. This is an odd issue, that's obviously a 32u4.

Do you have another PC you could try using the Feather on as another quick way to test? Wondering if this is a linux thing?

If you double press the reset button, can you get into bootloader mode? The red LED by the micro USB should pulse.

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Feather 32u4 wrong microcontroller found

by kyjohnso on Fri Sep 20, 2019 2:36 am

I have an old mac osx laptop and another ubuntu one but that is it, i will try it on the mac. I can get it into bootloader mode, but then i get an error that the programmer is not responding.

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Re: Feather 32u4 wrong microcontroller found

by adafruit_support_carter on Fri Sep 20, 2019 2:15 pm

however his solution was to install the udev rules and this has not helped my problem.

Let's double check what you did here. Can you link to the guide you followed for this.

What do you see in dmesg after putting the board in bootloader mode?

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Feather 32u4 wrong microcontroller found

by kyjohnso on Fri Sep 20, 2019 4:13 pm

I was looking for the link to the udev rules and I think it was this one

https://learn.adafruit.com/adafruit-arduino-ide-setup/linux-setup#udev-rules

which doesn't link to the udev rules instructions like the url indicates, but does link to a linux install guide which gave me a suggestion I haven't seen before. It says that if there are long upload times then try disabling modemmanager with:
Code: Select all | TOGGLE FULL SIZE
sudo apt purge modemmanager

Doing this in ubuntu caused all of the problems that I have been seeing to go away, and also fixed some serial issues I have been seeing with another device! It looks like modemmanager also controls cellular modems in addition to dialup modems like the adafruit website suggests. This however isn't an issue for my laptop, and everything seems to be working now.

Thank you very much for being responsive, patient, and very helpful.

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Re: Feather 32u4 wrong microcontroller found

by adafruit_support_carter on Fri Sep 20, 2019 4:29 pm

Wow, modemmanager strikes again. Glad you found that tip and it helped out. We did some recent updates to Learn pages that talk about how to deal with modemmanager. Maybe that tip wasn't originally there when you were first running into this issue? Just glad you're working now. Sorry that took so long. Thanks for sticking with it and letting us know what worked.

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Feather 32u4 wrong microcontroller found

by kyjohnso on Sat Sep 21, 2019 3:03 am

The modemmanager suggestion may have been in there and I just missed it, I could also be as you wrote that it wasn't there when I was originally looking. No need to apologize for the pace of responses, this is my first interaction with Adafruit forums and I am impressed at the quality of responses here. Thanks again for all the help,

Cheers

kyjohnso
 
Posts: 6
Joined: Wed Jan 09, 2019 3:41 pm

Please be positive and constructive with your questions and comments.