Tag Archives: atmel

ATMEL Studio 7 Does Blink in Assembly Language

See the previous post (here) for detailed information on AS7 installation and simulating of an Arduino program execution. As an exercise to gain familiarity with AS7, lets make an assembly language project using the below Blink code: • Select “File>New>Project”. … Continue reading

Posted in arduino, assembly language | Tagged , , , , , , , | Leave a comment

Using ATMEL Studio 7 for Arduino Development

While installing ATMEL Studio 7 (AS7) is not required in order to learn inline assembly language programming, it has worthwhile advantages. The ability to compile code for the Arduino, run it inside the included Simulator and immediately debug it will … Continue reading

Posted in arduino, avr | Tagged , , , , , , , | Leave a comment

GCC Inline Assembler Cookbook

Here is a most basic example: The general form of an inline assembler statement is: The special sequence of linefeed and tab characters helps keep the assembler listing looking nice, and is required to prevent more than one instruction appearing … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Un-Bricking an ATtiny13

I was playing with my ATtiny13 timer #0 fast PWM settings to test the range of frequencies I could achieve. I started with the fastest setting using the internal oscillator. 9.6MHz, no prescaler, no timer divider and using a TCNT0 … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

ATtiny13 Blink Using an Interrupt

Note to self: Ensure you set the fuse bits for internal oscillator correctly. Code:

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

ATtiny13 Project & SparkFun AVR Programmer

I decided to work on an ATtiny13 project. I will be using a test board based on the following schematic: Here is the board. Top: Bottom: Here are the results of a simple “blink” test program: Code: SparkFun AVR Programmer … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Great Series of AVR Tutorials

If you are looking to move beyond playing simple LED games with your Arduino, I recommend starting with these tutorials on the ATMEL AVR chips. You will need to read/reference the datasheets for the chips also. Many of these tutorials … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment