The environment is Windows 10, Arduino 2.2.1.
pin name: due: ATTiny25
// slave reset: 10: PB5 (Pin1)
// MOSI: 11: PB0 (Pin5)
// MISO: 12: PB1 (Pin6)
// SCK: 13: PB2 (Pin 7)
VCC of ATTiny25 connected to 3.3V on Arduino
I have tried to load the bootloader with two sketches:
1)Installed as example ArduinoISP sketch
2)Sketch by following what I have seen on this site, especially comments by PeterVH, "GitHub - rsbohn/ArduinoISP: Use the Arduino to program AVR chips."
In both cases I made changes to programmers.txt file - see below
For each sketch, in the Arduino I set the clock as Internal 1MHz tried again with 8MHz.
I am unable to burn the bootloader.
I apologise for the length of this topic.
With sketch 1, I am using USE_OLD_STYLE_WIRING. I get the error:
"C:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -v -v -v -pattiny25 -carduino -PCOM4 -b19200 -e -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0x62:m
avrdude: Version 6.3-20190619
System wide configuration file is "C:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
....
....
Failed chip erase: uploading error: exit status 1
With sketch 2, modified the line #define RESET SS --> #define RESET 10. I get the error
"C:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -v -v -v -pattiny25 -carduino -PCOM4 -b19200 -e -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0xe2:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\jonathan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb9
avrdude: Send: 0 [30] [20]
avrdude: Recv: f [66]
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x66
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [e0]
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude: Send: 0 [30] [20]
avrdude: Recv: f [66]
...
...
Failed chip erase: uploading error: exit status 1
In AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\programmers.txt, as I am on the windows platform, some lines were modified:
arduinoasisp.name=Arduino as ISP
arduinoasisp.communication=serial
arduinoasisp.protocol=stk500v1 --> arduinoasisp.protocol=arduino
arduinoasisp.speed=19200
arduinoasisp.program.protocol=stk500v1 --> arduinoasisp.program.protocol=arduino
arduinoasisp.program.speed=19200
arduinoasisp.program.tool=avrdude
arduinoasisp.program.tool.default=avrdude
arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed}
Many thanks