AN INTRODUCTION INTENDED FOR PEOPLE WITH NO PRIOR AVR KNOWLEDGE - AVRFREAKS.NET
13
Simulating with the Source Code
AVR Studio 4 operates in different "modes". Back when we where writing the
code, we where in editor mode, now we are in debugging mode. Lets take a
closer look at these:
1. Note that a Yellow arrow has appeared on the first RJMP instruction. This
arrow points to the instruction that is about to be executed.
2. Note that the workspace has changed from Project to IO view. The IO view
is our peek-hole into the AVR, and it will probably be your most used view.
We will look closer at this one in a short while.
3. The bottom line contains status information. This Reads: AT90S8535,
Simulator, Auto, Stopped. This is followed by a yellow icon. It is a good
idea to check this information to verify that you have selected the correct
device and emulation tool.
Setting up the IO View
Since our program mainly operates on PORTB registers, we will expand the IO
view so that we can take a closer look at the contents of these register. Expand
the IO view (tree) as shown in the figure below:
Comentários a estes Manuais