Hey guys im having a few issues i tried uploading the demo reel from fast led to my attiny85 using arduino 1.6.13 and i keep getting the following error -
can someone please help me out?
Hey guys im having a few issues i tried uploading the demo reel from fast led to my attiny85 using arduino 1.6.13 and i keep getting the following error -
can someone please help me out?
Why can't you put the error text in your post? Maybe someone else will load your file but not me.
I'm sure it's hard to believe but I don't know what demo reel from fast led and not going to spend time looking it up and trying to figure out how you got from there to unposted errors.
There's so many questions I could blow an hour easy trying to guess what's wrong.
Perhaps you should reframe your request for help.
Here's OP's error message:
Arduino: 1.6.13 (Windows 10), Board: "ATtiny25/45/85, ATtiny85, Internal 8 MHz"
In file included from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Stream.h:26:0,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/HardwareSerial.h:29,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Arduino.h:232,
from sketch\Pride2015.ino.cpp:1:
C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Print.h:32:0: warning: "BIN" redefined
#define BIN 2
^
In file included from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\iotn85.h:38:0,
from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\io.h:428,
from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\pgmspace.h:90,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Arduino.h:28,
from sketch\Pride2015.ino.cpp:1:
c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\iotnx5.h:55:0: note: this is the location of the previous definition
#define BIN 7
^
In file included from C:\Users\Chris\Documents\Arduino\Pride2015\Pride2015.ino:2:0:
C:\Users\Chris\Documents\Arduino\libraries\FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.003
# pragma message "FastLED version 3.001.003"
^
In file included from C:\Users\Chris\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,
from C:\Users\Chris\Documents\Arduino\Pride2015\Pride2015.ino:2:
C:\Users\Chris\Documents\Arduino\libraries\FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
Sketch uses 4,334 bytes (52%) of program storage space. Maximum is 8,192 bytes.
Global variables use 210 bytes (41%) of dynamic memory, leaving 302 bytes for local variables. Maximum is 512 bytes.
avrdude: Expected signature for ATtiny85 is 1E 93 0B
Double check chip, or use -F to override this check.
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.
Most of it is a warning: BIN is defined twice. I think you probably want to fix that but the sketch compiles OK. Also something about SPI pins that I don't think you can do anything about (I don't think the ATtiny has SPI).
The error that's stopping the upload is that the IDE has found a microcontroller other than an ATtiny85.
My guess is that it's trying to upload to the microcontroller on the Arduino board, rather than the ATtiny.
Have you uploaded the ISP sketch to your Arduino?
Check the Programmer setting (Tools menu). It needs to be "Arduino as ISP"
GoForSmoke:
Why can't you put the error text in your post? Maybe someone else will load your file but not me.I'm sure it's hard to believe but I don't know what demo reel from fast led and not going to spend time looking it up and trying to figure out how you got from there to unposted errors.
There's so many questions I could blow an hour easy trying to guess what's wrong.
Perhaps you should reframe your request for help.
I didnt know if there would be enough room on my post to paste the code and error message. But it gives me that error with any sketch i try to upload including the simple blink sketch.
GypsumFantastic:
Here's OP's error message:Arduino: 1.6.13 (Windows 10), Board: "ATtiny25/45/85, ATtiny85, Internal 8 MHz"
In file included from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Stream.h:26:0,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/HardwareSerial.h:29,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Arduino.h:232,
from sketch\Pride2015.ino.cpp:1:
C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Print.h:32:0: warning: "BIN" redefined
#define BIN 2
^
In file included from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\iotn85.h:38:0,
from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\io.h:428,
from c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\pgmspace.h:90,
from C:\Users\Chris\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.16\cores\arduino/Arduino.h:28,
from sketch\Pride2015.ino.cpp:1:
c:\users\chris\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\avr\iotnx5.h:55:0: note: this is the location of the previous definition
#define BIN 7
^
In file included from C:\Users\Chris\Documents\Arduino\Pride2015\Pride2015.ino:2:0:
C:\Users\Chris\Documents\Arduino\libraries\FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.003
# pragma message "FastLED version 3.001.003"
^
In file included from C:\Users\Chris\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,
from C:\Users\Chris\Documents\Arduino\Pride2015\Pride2015.ino:2:
C:\Users\Chris\Documents\Arduino\libraries\FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
Sketch uses 4,334 bytes (52%) of program storage space. Maximum is 8,192 bytes.
Global variables use 210 bytes (41%) of dynamic memory, leaving 302 bytes for local variables. Maximum is 512 bytes.
avrdude: Expected signature for ATtiny85 is 1E 93 0B
Double check chip, or use -F to override this check.
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.
Most of it is a warning: BIN is defined twice. I think you probably want to fix that but the sketch compiles OK. Also something about SPI pins that I don't think you can do anything about (I don't think the ATtiny has SPI). The error that's stopping the upload is that the IDE has found a microcontroller other than an ATtiny85. My guess is that it's trying to upload to the microcontroller on the Arduino board, rather than the ATtiny. Have you uploaded the ISP sketch to your Arduino? Check the Programmer setting (Tools menu). It needs to be "Arduino as ISP"
Yes i selected Attiny85 from the boards menu and Arduino as ISP under programmer.
OK, in Preferences/Settings, select Show verbose output during upload and show us the output.
Chrisrocks23:
I didnt know if there would be enough room on my post to paste the code and error message. But it gives me that error with any sketch i try to upload including the simple blink sketch.Yes i selected Attiny85 from the boards menu and Arduino as ISP under programmer.
The only part of the error message I need to see is
avrdude: Expected signature for ATtiny85 is 1E 93 0B
Double check chip, or use -F to override this check.
Wrong microcontroller found. Did you select the right board from the Tools > Board menu?
When I did program tiny85's I used the MIT High/Low Tech page. Here is the newest.
Nick Gammon's hex loader also does Attiny85's.
Sorry but this reply window doesn't have a link button.. the sites are good/safe.
Every different version of AVR has a different ID. The 328P has a few, maybe your Tiny85 is a variant?