Old good AVR delay loop generator program

This is not new program, but I decided to add it here because I found it very handy in many cases while developing ASM programs.

Download links:

Download for Win9x. (V1.2, RAR 2.60x)
Download for Win9x. (V1.2, ZIP)

This small program generates delay loops for ATMEL AVR controllers. It’s multilingual – forn now it supports English and German languages. You can change the program’s GUI language by clicking on one of the flags.

Program can generate really long delays. I have tried to enter like 60s for 16MHz – the code generated without problem

AVR_delay_loop.jpg
To generate a delay loop in ASM source code just follow the steps in the left part of the window:
1. Enter the number of cycles of the delay loop. You are not able to enter the delay time in seconds as author promised to implement this feature in the future.
2. Click the GO-Button
3. Copy the source to your ClipBoard (Copy/Paste).
Watch out for register collisions in your ASM source! If they are used save values in the stack before or select different ones.

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post

New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,
Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …
Programming AVR ADC module with WinAVR,
Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut …
New on WinARM Tutorial
What are differences between WinARM and WinAVR,
Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …
LPC2000 watchdog timer,
As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount …

Leave a Reply