14-May-2009
| AVR Sample Code Files | ||
|---|---|---|
|
NOTE: User-supplied code samples. ImageCraft offers NO WARRANTY on these code samples. Code Samples on this website and under the examples folders in the program installation are copyright © by their respective authors. Permission to use for any purpose is granted by the authors.
If you have code samples you wish to supply for demonstration and use, please submit them to . Thank you! :) |
||
| Submitted by: | ||
| John Baraclough | Two phase encoder wheel | The attached code shows how to use a two-phase encoder wheel with an AVR device. The example is compiled for an ATmega2561 on STK500/501, but with the appropriate register changes, it will work for any AVR. |
| Dimitri Marques Silva | Eclipse Plugin | DMS ICCAVR PLUGIN FOR ECLIPSE is a project made by Dimitri Marques Silva All rights reserved. Do your software projects in C for ATMEL AVR processors using Eclipse IDE and compile using ICCAVR from ImageCraft. Visit http://sourceforge.net/projects/dms-iccavr/ to download the file. |
| Rodney Pearson, Juniper Systems Inc. | Flash CRC routine | This is an ASM code sample that performs CRC generation and validation on Flash memory in Atmel AVR devices. This code is currently written for theM2560, but can be easily tweaked for any AVR device that supports ELPM/SPM. This code is based off of information found on Atmel’s website in the AVR Application Note AVR236: CRC Check of Program Memory. |
| John Baraclough | M2561 USART Interrupt code | This example shows how to use the USART in an ATmega2561 under interrupt control |
| Atmel | CAN128 Library | AT90CAN128 CAN library from Atmel, ported to ICC. |
| Jerry Ross | FreeRTOS 4.0 | FreeRTOS 4.0.0 port |
| Johannes Assenbaum | str(n)casecmp functions | GCC-like str(n)casecmp functions. |
| John Baraclough | Generation of random bits | The attached software generates random bits and returns a total of 16,320 bits before the cycle repeats. |
| Rodney Pearson, Juniper Systems Inc. | AVR231: AES Bootloader | This is a port of the Atmel Application Note AVR231: AES Bootloader to ICCAVR. This code contains: - AES Bootloader ported to an ICCAVR v7.xx project - Atmel utility applications ported to Microsoft Visual Studio 2005 solutions - Original Atmel code (non-VS) for utility applications This code was written for ICCAVR and currently compiles under v7.12 This code is based of the code sample found on Atmel’s website in the AVR Application Note AVR231: AES Bootloader. My company (Juniper Systems) has approved this code sample distribution as a way to support ImageCraft and the AVR community |
| ImageCraft | AVR Studio Plugin | This plugin allows you to use AVR Studio as the IDE to run the ICCAVR compiler. Requires our compiler (7.14A or later) , AVR Studio 4.12 or higher and .NET Framework 2.0. Version: V1.01, released Oct 8th 2007 |
| John Baraclough | M128 USART Interrupt code | This example shows how to use the USART in an ATmega128 under interrupt control |
