Using the same ATTiny module as shown in your descriptions above.
Using the Arduino IDE set to USBasp as programmer, ATTiny microcontrollers ATTiny 25/45/85 set to 85 and clock at internal 16mhz and your program adaptor as described here.
Only difference is I had one with the 10 pin lead so I added a 10 pin socket to the board, chased up a pinout diagram and wired it accordingly.
All compiles ok but I can't upload.
Problem is I get this error code when I try to upload using ....Sketch...upload using programmer.
Any thoughts where i'm going wrong?
Code: Select all
Arduino: 1.8.9 (Windows 7), Board: "ATtiny25/45/85, ATtiny85, Internal 16 MHz"
Sketch uses 6616 bytes (80%) of program storage space. Maximum is 8192 bytes.
Global variables use 204 bytes (39%) of dynamic memory, leaving 308 bytes for local variables. Maximum is 512 bytes.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
the selected serial port
does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.