Arduino jako AVR programátor
Moderátor: Moderátoři
- pavoucisit
- Příspěvky: 176
- Registrován: 02 lis 2008, 00:00
- Bydliště: Havířov
pavoucisit píše:Tak v tom případě není co řešit. Dopiš cestu k hex a je.
Jo, to jsem si myslel. Píši to správně? pořád mi to nechce jít
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\roborozeh HEX.hex
- pavoucisit
- Příspěvky: 176
- Registrován: 02 lis 2008, 00:00
- Bydliště: Havířov
pavoucisit píše:Chybí tam “” jako v návodu viz: -U flash:w:"C:\Users\Victor\AppData\Local\Temp\build1325897986179133197.tmp\Blink.cpp.hex"
stejně to nejde, nevím co tam dělám za chybu, už to dělám aso po 20
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.hex"
Desktop\x64 není názvem vnitřního ani vnějšího příkazu,
spustitelného programu nebo dávkového souboru.
C:\Users\DAVID>
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:
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 ""
avrdude: error opening : Invalid argument
avrdude: input file auto detected as invalid format
avrdude: can't open input file : Invalid argument
avrdude: read from file '' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\Users\DAVID>"C:\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex"
co to je?
AB1 píše:Celý příkaz musí být na jednom řádku.
no a to pak udělá 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:
"C:\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex"
avrdude: invalid file format '\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex'
in update specifier
avrdude: error parsing update operation 'flash:w:C:\Users\DAVID\Desktop\roborize
h\roborizeh HEX.hex'
C:\Users\DAVID>
- pavoucisit
- Příspěvky: 176
- Registrován: 02 lis 2008, 00:00
- Bydliště: Havířov
AB1 píše:invalid file format '\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex'
Ukaž ten hex soubor.
- Přílohy
-
- roborizeh HEX.hex
- (2.46 KiB) Staženo 80 x
Nemáš za w: mezeru ?
Kód: Vybrat vše
-U flash:w: "C:\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex"
špatně
AB1 píše:Mně ten soubor funguje.
Nemáš za w: mezeru ?Kód: Vybrat vše
-U flash:w: "C:\Users\DAVID\Desktop\roborizeh\roborizeh HEX.hex"
špatně
Mám tam mezeru, tam být nemá? a pžřed u
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"
avrdude: invalid file format '\Users\DAVID\Desktop\roborizeh\roborizeh.hex' in u
pdate specifier
avrdude: error parsing update operation 'flash:w:C:\Users\DAVID\Desktop\roborize
h\roborizeh.hex'
C:\Users\DAVID>
Tady máš příklady příkazů, tak to piš přesně podle nich.