Main Menu
Home
AVR News
Atmel AVR
AVR Development Tools
Valuable Tools
WinAVR toolset
Makefile for WinAVR
AVR Virtual Simulators
Hardware for prototyping
GCC and AVR-GCC
Short introduction to C
AVR-GCC Tutorial
Example AVR Projects
AVR-GCC articles
WinAVR Site Map
Scienceprog FORUM
ScienceProg BLOG
Disclaimer
WinARM Tutorial
Latest comments
Measuring motor speed and...
Dear Administrator The code above...
More...

Programming AVR ADC module...
hi please send me example usart with...
More...

Measuring motor speed and...
main.c: In function...
More...

Running TX433 and RX433 RF...
(Hopefully this is not a re-post). I am...
More...

Running TX433 and RX433 RF...
I just bnought a pair of the RX/TX 433...
More...

Friendly sites

Related Items:

Recommended sites


AVR-GCC articles


Avr-gcc versions comparison PDF Print E-mail
Written by Administrator   
Friday, 16 March 2007
Last Updated ( Friday, 16 March 2007 )

AVR-GCC versions comparison By Dmitry K. 
Flash and Stack values are in bytes. 
Time units are in CPU clocks. 
All values were simulated by simulavr. 
Times and sizes are presented without initialization of function args.
Results 
 
 
 

 
AVR:                             at90s8515                 atmega8      
avr-gcc version: 3.3.6 3.4.6 4.0.4 4.1.2 3.3.6 3.4.6 4.0.4 4.1.2
--------------------------------------------------------------------------
dtostre(1.2345,s,6,0)
Flash: 1024 1024 1120 1212 954 954 1038 1112
Stack: 15 15 15 17 15 15 15 17
Time: 1199 1199 1289 1315 1060 1060 1123 1155

Be first to comment this article Read more...
Endless loops in embedded programs PDF Print E-mail
Written by Administrator   
Tuesday, 07 November 2006
Last Updated ( Tuesday, 07 November 2006 )

 

A series of instructions that are constantly repeated. Also called an "infinite loop," it can be caused by an error in the program or be intentional. For example, a screen demo on continuous replay just keeps repeating itself.

Probably you have noticed that many programs have similar structure like:

endless loop 


Be first to comment this article Read more...

© 2008 WinAVR AVR-GCC Tutorial
Joomla! is Free Software released under the GNU/GPL License.