Go Down

Topic: unable to program aTtiny85 with arduino as ISP (Read 940 times) previous topic - next topic

gunbiturbo

Hello,

I would like to program aTtyni85 with arduina as ISP but i am unable to get it working,

I am using arduino 1.8.5 with a arduino uno ad following these steps : http://www.instructables.com/id/Simplest-and-Cheapest-Arduino/

i can set the arduino as ISP but when i try do program the aTtiny85 i get the following error :

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ms6i3a\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ms6i3a\Documents\Arduino\libraries -fqbn=attiny45_85:attiny45_85:attiny85arduinoisp -vid-pid=0X2A03_0X0043 -ide-version=10805 -build-path C:\Users\ms6i3a\AppData\Local\Temp\arduino_build_490138 -warnings=none -build-cache C:\Users\ms6i3a\AppData\Local\Temp\arduino_cache_7725 -prefs=build.warn_data_percentage=75 -verbose C:\Users\ms6i3a\Documents\Arduino\sketch_jan20a\sketch_jan20a.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ms6i3a\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ms6i3a\Documents\Arduino\libraries -fqbn=attiny45_85:attiny45_85:attiny85arduinoisp -vid-pid=0X2A03_0X0043 -ide-version=10805 -build-path C:\Users\ms6i3a\AppData\Local\Temp\arduino_build_490138 -warnings=none -build-cache C:\Users\ms6i3a\AppData\Local\Temp\arduino_cache_7725 -prefs=build.warn_data_percentage=75 -verbose C:\Users\ms6i3a\Documents\Arduino\sketch_jan20a\sketch_jan20a.ino
Using board 'attiny85arduinoisp' from platform in folder: C:\Users\ms6i3a\Documents\Arduino\hardware\attiny45_85\attiny45_85
Using core 'attiny45_85' from platform in folder: C:\Users\ms6i3a\Documents\Arduino\hardware\attiny45_85\attiny45_85
Warning: Board attiny45_85:attiny45_85:attiny45usbtinyisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY45USBTINYISP
Warning: Board attiny45_85:attiny45_85:attiny45arduinoisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY45ARDUINOISP
Warning: Board attiny45_85:attiny45_85:attiny85avrisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY85AVRISP
Warning: Board attiny45_85:attiny45_85:attiny45avrisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY45AVRISP
Warning: Board attiny45_85:attiny45_85:attiny85usbtinyisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY85USBTINYISP
Warning: Board attiny45_85:attiny45_85:attiny85arduinoisp doesn't define a 'build.board' preference. Auto-set to: ATTINY45_85_ATTINY85ARDUINOISP
Detecting libraries used...
recipe.preproc.macros pattern is missing

Error compiling for board ATtiny85 (w/ Arduino as ISP).

I cannot find a answer to ge it working?

pert

The hardware package you're using to add support for ATtiny85 is outdated. It would be easy enough to upgrade but there's no point since we have a far superior hardware package already available that I recommend you to use instead:
https://github.com/SpenceKonde/ATTinyCore

BTW, be very suspicious of anything you find on instructables. They are consistently terrible.

gunbiturbo

Hello, thanks, i will try it and keep you updated.

gunbiturbo

Hello, i added the new hardware package and it works, thanks !!!

Go Up