Stránka 5 z 7
Napsal: 08 led 2014, 21:07
od daavid
ale tam jsou ty začátky příkazů uplně jiné, než jsi mi sm napsal ty. Když jsem jenou upravil tu "příponu" která tam je navíz od 1. příkazu, stane se toto:
Microsoft Windows [Verze 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.
C:\Users\DAVID>Desktop\x64\avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:
roborizeh.hex
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.13s
avrdude: Device signature = 0x1e9206
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: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: reading input file "roborizeh.hex"
avrdude: error opening roborizeh.hex: No such file or directory
avrdude: input file roborizeh.hex auto detected as invalid format
avrdude: can't open input file roborizeh.hex: No such file or directory
avrdude: read from file 'roborizeh.hex' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\DAVID>
To znamená, že je to OK? nebo ne
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Napsal: 08 led 2014, 21:09
od daavid
tam je stále chyba v tom hex souboru, ne? zkusím z něj udělat nový
dodatek: tak udělání nového souboru z tamtoho nic neudělalo, je to to samé
![Sad :(](./images/smilies/icon_sad.gif)
Napsal: 08 led 2014, 21:13
od pavoucisit
nakopíruj roborizeh.hex do adresáře avrdude a zachovej avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:roborizeh.hex
Napsal: 08 led 2014, 21:21
od daavid
pavoucisit píše:nakopíruj roborizeh.hex do adresáře avrdude a zachovej avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:roborizeh.hex
a je to tu zase
Microsoft Windows [Verze 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.
C:\Users\DAVID>
C:\Users\DAVID>
C:\Users\DAVID>Desktop\x64\avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:
roborizeh.hex
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.13s
avrdude: Device signature = 0x1e9206
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: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: reading input file "roborizeh.hex"
avrdude: error opening roborizeh.hex: No such file or directory
avrdude: input file roborizeh.hex auto detected as invalid format
avrdude: can't open input file roborizeh.hex: No such file or directory
avrdude: read from file 'roborizeh.hex' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\DAVID>
Napsal: 08 led 2014, 21:27
od pavoucisit
roborizeh.hex ještě nakopíruj přímo na C:
co když avrdude bere C: jako kořenový adresář
Napsal: 08 led 2014, 21:33
od daavid
pavoucisit píše:roborizeh.hex ještě nakopíruj přímo na C:
avrdude bere C: jako kořenový adresář
opět toto
Microsoft Windows [Verze 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.
C:\Users\DAVID>Desktop\x64\avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:
roborizeh.hex
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.11s
avrdude: Device signature = 0x1e9206
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: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: reading input file "roborizeh.hex"
avrdude: error opening roborizeh.hex: No such file or directory
avrdude: input file roborizeh.hex auto detected as invalid format
avrdude: can't open input file roborizeh.hex: No such file or directory
avrdude: read from file 'roborizeh.hex' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\DAVID>
Já opravdu nevím, v čem je chyba
Napsal: 08 led 2014, 23:34
od rnbw
Cele zle... Spustas to v "C:\Users\DAVID", tak tam musi byt aj ten hex subor!
Napsal: 09 led 2014, 09:24
od AB1
Soubor hex může být kdekoliv, ale zkus za něho napsat ještě :i
Kód: Vybrat vše
avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:"C:\Users\DAVID\Desktop\roborizeh\roborizeh.hex":i
Napsal: 09 led 2014, 14:40
od daavid
AB1 píše:Soubor hex může být kdekoliv, ale zkus za něho napsat ještě :i
Kód: Vybrat vše
avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:"C:\Users\DAVID\Desktop\roborizeh\roborizeh.hex":i
Jooo!
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Teď to s tim "i" už vyšlo (teda myslim)
Microsoft Windows [Verze 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.
C:\Users\DAVID>Desktop\x64\avrdude -c avrisp -P com3 -b 19200 -p t45 -U flash:w:
"C:\Users\DAVID\Desktop\roborizeh\roborizeh.hex":i
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.07s
avrdude: Device signature = 0x1e9206
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: please define PAGEL and BS2 signals in the configuration file for part
ATtiny45
avrdude: reading input file "C:\Users\DAVID\Desktop\roborizeh\roborizeh.hex"
avrdude: writing flash (890 bytes):
Writing | ################################################## | 100% 1.49s
avrdude: 890 bytes of flash written
avrdude: verifying flash memory against C:\Users\DAVID\Desktop\roborizeh\roboriz
eh.hex:
avrdude: load data flash data from input file C:\Users\DAVID\Desktop\roborizeh\r
oborizeh.hex:
avrdude: input file C:\Users\DAVID\Desktop\roborizeh\roborizeh.hex contains 890
bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.09s
avrdude: verifying ...
avrdude: 890 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\DAVID>
Díky všem za rady!
Napsal: 17 dub 2014, 12:42
od lodtom24
zdravim potrebuju poradit s nahranim bootloaderu pise mi to
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Napsal: 17 dub 2014, 13:09
od daavid
lodtom24 píše:zdravim potrebuju poradit s nahranim bootloaderu pise mi to
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Přes co to programuješ a čím. Dej sem popřípadě printscreen
![Wink ;)](./images/smilies/icon_wink.gif)
Napsal: 17 dub 2014, 18:24
od lodtom24
no pres arduino IDE kdyz sem mel klasickej velkej atmel ten sem nahral bezproblemu
Napsal: 17 dub 2014, 18:28
od lodtom24
a programuju to normalne zas tim velkym atmelem kterej normalne pouzivam kamos ma nanov3.0 taky dosel jen k tomuhle hlaseni chyby
Napsal: 17 dub 2014, 18:32
od AB1
klasickej velkej atmel
Tento typ jsem v katalogu nenašel.
Napsal: 17 dub 2014, 18:35
od lodtom24
atmega328p-pu je normalne v arduinu uno ten pouzivam ten sem bez problemu nahral a ted mam tohle a pise to neco o prepsani -f chci to nahrat na tento
http://www.ebay.com/itm/151253230478?ss ... 1497.l2649