Implementing µVision2 DLL’s for Advanced Generic Simulator Interface Page 1 of 13 C Compilers • Real-Time OS • Simulators • Education • Evaluation Boards Implementing µVision2 DLL’s for Application Note 154 Advanced Generic Simulator Interface (Preliminary) Jun 12, 2000, Munich, Germany by Robert Rostohar, Keil Elektronik GmbH support.intl@keil.com ++49 89 456040-0 The µVision2 Debugger supports a simulator interface for implementing user defined peripherals. This interface is done via an Advanced Generic Simulator Interface called AGSI. The AGSI introduces a flexible and easy way for adding new user defined peripherals directly to µVision2. It supports specific commands needed for simulation and maintenance of dialog pages associated with this peripherals. To ease the development of a user defined peripheral, the AGSI and a configuration framework is provided in the SPeriDLL project. SPeriDLL, is a synonym for ‘Sample Peripheral DLL’. It is a ready to run peripheral DLL with implemented ‘A/D Converter from Analog Devices ADuC812’ as a sample peripheral. It provides all the AGSI functions and also demonstrates the use of them by implementing the mentioned peripheral. The project consists of a MS Visual-C++ (6.0) project file and the following source files: AGSI.h: prototypes for the AGSI functions (do not modify !) SPeriDLL.h: main header file with various prototypes and definitions SPeriDLL.cpp: main file (created by AppWizard) provides peripheral setup code and simulation PeriDialog.h: header file (created by Class Wizard) for a modeless peripheral dialog PeriDialog.cpp: implementation file for a modeless peripheral dialog Also a simple µVision2 test project ‘Single A/D conversion with ADuC812’ is...