Panowie nie mam pojęcia, próbowałem zrobić tak jak mówiliście i nie działa, nie może odnaleźć pliku.
Microsoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Users\Krystian>avrdude
Usage: avrdude [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR053).
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from a scrip
t.
-s Silent safemode operation, will not ask you if
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-? Display this usage.
avrdude version 5.10, URL: <http://savannah.nongnu.org/projects/avrdude/>
C:\Users\Krystian>avrdude -c usbasp -p atmega328p
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\Krystian>avrdude -p atmega328P -c usbasp -e -U flash:w:transistortester
.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: reading input file "transistortester.hex"
avrdude: error opening transistortester.hex: No such file or directory
avrdude: input file transistortester.hex auto detected as invalid format
avrdude: can't open input file transistortester.hex: No such file or directory
avrdude: write to file 'transistortester.hex' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\Krystian>avrdude -p atmega328P -c usbasp -e -U flash:w:"transistorteste
r.hex"
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: reading input file "transistortester.hex"
avrdude: error opening transistortester.hex: No such file or directory
avrdude: input file transistortester.hex auto detected as invalid format
avrdude: can't open input file transistortester.hex: No such file or directory
avrdude: write to file 'transistortester.hex' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\Krystian>avrdude -p atmega328P -c usbasp -e -U flash:w:" C:\Users\Kryst
ian\Desktop\transistortester.hex"
avrdude: invalid file format '\Users\Krystian\Desktop\transistortester.hex' in u
pdate specifier
avrdude: error parsing update operation 'flash:w: C:\Users\Krystian\Desktop\tran
sistortester.hex'
C:\Users\Krystian>
C:\Users\Krystian>C:\Users\Krystian>avrdude.exe -p atmega328P -c usbasp -e -U fl
ash:w:"C:\Users\K
Nazwa 'C:\Users\Krystian' nie jest rozpoznawana jako polecenie wewnętrzne lub ze
wnętrzne,
program wykonywalny lub plik wsadowy.
C:\Users\Krystian>rystian\Desktop\TransistorTester.hex":a
System nie może odnaleźć określonej ścieżki.
C:\Users\Krystian>avrdude -p atmega328P -c usbasp -e -U flash:w:"C:\Users\Krysti
an\Desktop\TransistorTester.hex":a
Odmowa dostępu.
C:\Users\Krystian>
Na końcu jeszcze po wszystkim komunikat: