Operácie

Arduino FAQ: Rozdiel medzi revíziami

Z SensorWiki

Riadok 23: Riadok 23:
  
 
...arduino-0020\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\balogh\Desktop\arduino-0020\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM2 -b57600 -D -Uflash:w:C:\DOCUME~1\balogh\LOCALS~1\Temp\build4699803307628490996.tmp\Blink.cpp.hex:i
 
...arduino-0020\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\balogh\Desktop\arduino-0020\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM2 -b57600 -D -Uflash:w:C:\DOCUME~1\balogh\LOCALS~1\Temp\build4699803307628490996.tmp\Blink.cpp.hex:i
 +
 +
Note: it seems that avrdude that comes with the Arduino IDE is different in that it controls also an dtr line (automatic reset)
 +
 +
avrdude.exe: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
 +
              Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
 +
 +
              System wide configuration file is "avrdude.conf"
 +
 +
              Using Port            : com2
 +
              Using Programmer      : stk500v1
 +
              Overriding Baud Rate  : 57600
 +
avrdude.exe: ser_open(): setting dtr
 +
 +
Last line is not present with other avrdude versions/

Verzia zo dňa a času 13:31, 3. november 2010

Ot: Kde sú preložené (.hex) súbory?

Q: Where are stored the compiled (.hex) files?

A: In C:\Documents and Settings\<user name>\Local Settings\Temp\build63...702.tmp folder

BTW: You can find also all console outputs on a simillar place: C:\Documents and Settings\<user name>\Local Settings\Temp\console63...702.tmp


O: Chcem vidieť všetky výpisy pri preklade a uploade.

Q: How can I verbose output?

A: Press SHIFT key when pressing the upload button


Ako sa nahráva program do procesora?

Pomocou tzv. uploadra, na strane mikropočítača a programom avrdude na strane pc.

...arduino-0020\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\balogh\Desktop\arduino-0020\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM2 -b57600 -D -Uflash:w:C:\DOCUME~1\balogh\LOCALS~1\Temp\build4699803307628490996.tmp\Blink.cpp.hex:i

Note: it seems that avrdude that comes with the Arduino IDE is different in that it controls also an dtr line (automatic reset)

avrdude.exe: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

             System wide configuration file is "avrdude.conf"

             Using Port            : com2
             Using Programmer      : stk500v1
             Overriding Baud Rate  : 57600
avrdude.exe: ser_open(): setting dtr

Last line is not present with other avrdude versions/