|
Embedded systems course 2005
|
|
|
Tools
All the tools listed on this page are installed into the Atmel emulator PC in room TS139.
CompilersAvailable compilers are IAR Embedded Workbench for Atmel AVR or GNU AVR-gcc.IAR Embedded Workbench for Atmel AVR includes an IDE environment for writing the code and compiling it. It is easy to use with user frienldy graphical user interface. It does not support C++, only C. Manufacturers web site is www.iar.com. If you do not have previous knowledge about compilers, this is the preferred compiler for embedded systems project. See manuals: - Embedded Workbench user's guide - XLINK linker's manual - Compiler reference guide - General C library definitions - AVR assembler manual - AVR EEPROM howto - Some template files to get started GNU AVR-gcc is a free compiler for Atmel AVR-series controllers. It is available for both Windows and Linux OS:s. AVR-gcc is text based compiler which uses makefiles. For Windows OS:s there is available a WinAVR-package, which is a complete installation set with avr-gcc files and an editor (Programmers Notepad). If you want to make code at home, you can use this compiler. Download or read more about it here. For starting the code development, download our short instructions and some templates here. EmulatorJTAG-emulatorJTAG-ICE is an in-circuit-emulator that uses a standard JTAG-interface for data transfer. JTAG-ICE downloads the code into a real microcontroller, and uses its on-chip debug features to debug the code. Thus, no separate flashing procedures are needed to program the controller. The microcontroller has 4 pins for JTAG, which the JTAG-ICE is connected to. It supports several different microcontrollers, such as ATmega32. JTAG-connector must be included for everyone's PCB.See its datasheets: - Flyer - User's guide (See especially chapter 2.3 Connecting JTAG ICE.) JTAG-ICE is used with the AVR-Studio software, which is also includes a simulator. It is freely downloadable here |