USBasp programátor
Re: USBasp programátor
z čeho poznáte, že je něco špatně zapojeno?? já to mám asi stejně....
Re: USBasp programátor
Když to hází chybu, a předtím to šlo. Tak buďto je problém v připojení, nebo blbý kabel. Pak to může být, třeba u t85 při 1MHz, tam je potřeba nastavit nižší SCK.
Re: USBasp programátor
já to mám zapojené podle tohoto schématu a proměřil jsem všechny kabílky a propojené je to dobře. zkoušel jsem i jiné arduino a výsledek stejný... vyzkouším ještě nahrání programu přes arduino UNO
Re: USBasp programátor
Asi budeme muset aktualizovat firmware. Na to však bude potřeba další programátor, ne?
Re: USBasp programátor
při (pokusu) nahrávání programu mi svítí (poblikává dioda na arduinu u pinu 13), to znamená, že nějaká komunikace tam je ne?
C:\avrdude>avrdude -c usbasp -p m328p -Uflash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex:i
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 (probably m328p)
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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "C:\a\BlikaniLed.ino.eightanaloginputs.hex"
avrdude: writing flash (1020 bytes):
Writing | ################################################## | 100% 2.09s
avrdude: 1020 bytes of flash written
avrdude: verifying flash memory against C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: load data flash data from input file C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: input file C:\a\BlikaniLed.ino.eightanaloginputs.hex contains 1020 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.19s
avrdude: verifying ...
avrdude: 1020 bytes of flash verified
avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
avrdude done. Thank you.
C:\avrdude>avrdude -c usbasp -p m328p -Uflash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex:i
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 (probably m328p)
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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "C:\a\BlikaniLed.ino.eightanaloginputs.hex"
avrdude: writing flash (1020 bytes):
Writing | ################################################## | 100% 2.09s
avrdude: 1020 bytes of flash written
avrdude: verifying flash memory against C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: load data flash data from input file C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: input file C:\a\BlikaniLed.ino.eightanaloginputs.hex contains 1020 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.19s
avrdude: verifying ...
avrdude: 1020 bytes of flash verified
avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
avrdude done. Thank you.
Re: USBasp programátor
Ale ten program se nahrál ? A je funkční, jen ti říká, že nemohl nastavit SCK.
Re: USBasp programátor
ne, program se nenahraje... nefunguje to
Re: USBasp programátor
avrdude -c usbasp -b 19200 -p m328p -v -e -U flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex funguje tenhle příkaz ?
Re: USBasp programátor
C:\avrdude>avrdude -c usbasp -b 19200 -p m328p -v -e -U flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex
avrdude: invalid file format '\a\BlikaniLed.ino.eightanaloginputs.hex' in update specifier
avrdude: error parsing update operation 'flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex'
C:\avrdude>avrdude -c usbasp -b 19200 -p m328p -v -e -U flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex:i
avrdude: Version 6.3, compiled on Feb 17 2016 at 09:25:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\avrdude\avrdude.conf"
Using Port : usb
Using Programmer : usbasp
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude: auto set sck period (because given equals null)
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 (probably m328p)
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "C:\a\BlikaniLed.ino.eightanaloginputs.hex"
avrdude: writing flash (1020 bytes):
Writing | ################################################## | 100% 2.11s
avrdude: 1020 bytes of flash written
avrdude: verifying flash memory against C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: load data flash data from input file C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: input file C:\a\BlikaniLed.ino.eightanaloginputs.hex contains 1020 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.19s
avrdude: verifying ...
avrdude: 1020 bytes of flash verified
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
avrdude done. Thank you.
avrdude: invalid file format '\a\BlikaniLed.ino.eightanaloginputs.hex' in update specifier
avrdude: error parsing update operation 'flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex'
C:\avrdude>avrdude -c usbasp -b 19200 -p m328p -v -e -U flash:w:C:\a\BlikaniLed.ino.eightanaloginputs.hex:i
avrdude: Version 6.3, compiled on Feb 17 2016 at 09:25:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\avrdude\avrdude.conf"
Using Port : usb
Using Programmer : usbasp
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude: auto set sck period (because given equals null)
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 (probably m328p)
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "C:\a\BlikaniLed.ino.eightanaloginputs.hex"
avrdude: writing flash (1020 bytes):
Writing | ################################################## | 100% 2.11s
avrdude: 1020 bytes of flash written
avrdude: verifying flash memory against C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: load data flash data from input file C:\a\BlikaniLed.ino.eightanaloginputs.hex:
avrdude: input file C:\a\BlikaniLed.ino.eightanaloginputs.hex contains 1020 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.19s
avrdude: verifying ...
avrdude: 1020 bytes of flash verified
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
avrdude done. Thank you.
Kdo je online
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 2 hosti