3

The error message is:

avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATmega32U4 is 1E 95 87
Double check chip, or use -F to override this check.

This error message is thrown when I attempt to upload any program to the Yun shield through an Arduino Bridge between the Uno and Yun shield with the Uno’s ATMega32 shorted into reset mode.
Any advice on how to get this working? Thanks.

1

Apparently there is no ATMega32U4 on that board but ATmega328P according to the signature 0x1e950f.

Anyway, you may have to change or add new board with correct MCU setting.

Now I can see the difference between Yun and Yun shield. Shield can be connected to any Arduino board and Yun is similar like Shield + Leonardo.

I've found board definition for Arduino UNO:

unoyun.name=Arduino Uno -- Dragino Yún
unoyun.upload.via_ssh=true

unoyun.vid.0=0x2341
unoyun.pid.0=0x0043
unoyun.vid.1=0x2341
unoyun.pid.1=0x0001
unoyun.upload.tool=avrdude
unoyun.upload.protocol=arduino
unoyun.upload.maximum_size=32256
unoyun.upload.maximum_data_size=2048
unoyun.upload.speed=57600
unoyun.upload.disable_flushing=true
unoyun.upload.use_1200bps_touch=true
unoyun.upload.wait_for_upload_port=true

unoyun.bootloader.tool=avrdude
unoyun.bootloader.low_fuses=0xff
unoyun.bootloader.high_fuses=0xde
unoyun.bootloader.extended_fuses=0x05
unoyun.bootloader.file=optiboot/optiboot_atmega328.hex
unoyun.bootloader.unlock_bits=0x3F
unoyun.bootloader.lock_bits=0x0F

unoyun.build.mcu=atmega328p
unoyun.build.f_cpu=16000000L
unoyun.build.board=AVR_YUN
unoyun.build.core=arduino
unoyun.build.variant=standard

More info about it here: https://www.arduino.cc/en/Guide/ArduinoYunShield or similar product http://wiki.dragino.com/index.php?title=Yun_Shield

  • So there may be a chance that the reset and gnd pins aren't shorted? Definitely not a clone btw - original Uno, and I've got the bill to prove that... – Raihaan Sep 21 '16 at 21:15
  • @Raihaan Yeah, I've noticed the difference between Yun shield and Yun, so it's updated now. – KIIV Sep 21 '16 at 21:21
  • Ah.. I tried adding this to my boards.txt file but it wouldn't let me make changes as an admin... I also used another installer to install these definitions onto the IDE (the dragino yun shield with arduino uno) but same error... I tried it with an Arduino 101 too, but that's not an AVR board so didn't really expect that to work... – Raihaan Sep 21 '16 at 21:32
1

Make sure the board selected in the Yun Shield is the correct one (in this case Arduino UNO).

Steps for selecting the board on the Yun Shield

  1. In your web browser load the Yun Shield page and log in (how to do this is described in the Quick Start Guide).
  2. Click on the SENSORS menu button.
  3. Under Arduino Board Type select the correct one.
  4. Click on the CONFIGURE & RESTART MCU button to apply settings.
  5. Maybe manual restart of the board would be needed (power unplug).

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.