Operácie

Arduino FAQ

Zo stránky SensorWiki

Verzia z 13:42, 3. november 2010, ktorú vytvoril Balogh (diskusia | príspevky)

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

Note 2: Patch avrdude_5.8_dtr4.diff Supports Auto-Reset for Arduino board. Both strategies (DTR and RTS) are supported under Win32 and posix platform. When you use the programmer type "arduino" this feature is activated, otherwise it is switched off.

A special version for the Arduino is no longer needed.

The patch has been made for avrdude V5.8