« Previous - Version 3/16 (diff) - Next » - Current version
Anthony Rowe, 02/02/2008 04:39 pm


= AVR Studio =

This page talks about debugging the kernel and user functions using the simulator that is built into AVR Studio. AVR Studio® 4 is the professional Integrated Development Environment (IDE) for writing and debugging AVR® applications in Windows® 9x/NT/2000/XP environments. AVR Studio 4 includes an assembler and a simulator.

In order to run Nano-RK inside AVR Studio, you will need version 4.13 build 571 or newer. This can be downloaded for free from the following link: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725

'''Step 1: Install AVR StudioBR'''

'''Step 2: Install Service Pack 2BR'''

'''Step 3: Install Nano-RK and WinAVR on a Windows MachineBR''' * This is required so that the source can be correctly linked against the binary file. Using a binary built in linux works except that you will not be able to browse the connected C source, just the assembly (with no comments!).

'''Step 4: Build an elf fileBR''' * The Nano-RK build system automatically builds the elf file when you run make in a project. To test this, go into a project like basic_tasks and type "make". You should see the following files: * main.o * main.d * main.lst * main.eep * main.lss (you may need to run make twice for this) * main.sym * main.map * main.hex * main.elf (This is the file we need for the simulator)