i uploaded this shetch
#define M1F 0
#define M1_B 1
#define driverEn 10
void setup() {
// put your setup code here, to run once:
pinMode(driverEn,OUTPUT);
pinMode(M1F,OUTPUT);
pinMode(M1_B,OUTPUT);
digitalWrite(driverEn,HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(M1F,HIGH);
digitalWrite(M1_B,LOW);
delay(1000);
digitalWrite(M1F,LOW);
digitalWrite(M1_B,LOW);
delay(2000);
digitalWrite(M1_B , HIGH);
digitalWrite(M1F , LOW);
delay(1000);
}
and this is what it showed-
C:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -pattiny84 -cstk500v1 -PCOM3 -b19200 -Uflash:w:C:\Users\USER\AppData\Local\Temp\arduino_build_588557/robot_driver.ino.hex:i
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\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATtiny84
Chip Erase delay : 4500 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
eeprom 65 6 4 0 no 512 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 8192 64 128 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e930c (probably t84)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "C:\Users\USER\AppData\Local\Temp\arduino_build_588557/robot_driver.ino.hex"
avrdude: writing flash (768 bytes):
Writing | ################################################## | 100% 1.53s
avrdude: 768 bytes of flash written
avrdude: verifying flash memory against C:\Users\USER\AppData\Local\Temp\arduino_build_588557/robot_driver.ino.hex:
avrdude: load data flash data from input file C:\Users\USER\AppData\Local\Temp\arduino_build_588557/robot_driver.ino.hex:
avrdude: input file C:\Users\USER\AppData\Local\Temp\arduino_build_588557/robot_driver.ino.hex contains 768 bytes
avrdude: reading on-chip flash data:
Reading | #########################################An error occurred while uploading the sketch
######### | 100% 0.75s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x00 != 0x27
avrdude: verification error; content mismatch
avrdude done. Thank you.
if it occured on just one attiny, i would think that the flash was used too much but it occured in all of my attinies(they are three in number )
please... help! . i am using arduino uno as isp and using old_style_wiring. physical wiring is like this- attiny pins are the digital pins not the physical ones
attiny- uno -
4 13
5 12
6 11
9 10
there are resistors between tiny 6,uno11
and tiny4,uno13
i have to import them in my country and cannot grt them any soon again...
not even uploaded a lot .. just 8 sketches on one, 6 on other one, 9 on the last one ...
i did not touch ANY fuses .. help , thanks.