ARM Simulator Memory Interface Files

ARM Simulator Memory Interface Files

CrossWorks Version 4 Installation Instructions

To install this support package
  1. Click the Tools > Package Manager menu option to open the package manager window.
  2. Right click on the ARM Simulator Memory Interface Files entry and select Install Selected Packages.
  3. Click Next to take you to the summary page.
  4. Click Next to install the package.
  5. Click Finish to close the package manager window.
  6. Click the Tools > Show Installed Packages.
  7. Click on the ARM Simulator Memory Interface Files link to view the package and its contents.
To manually install this support package
  1. If you have not done so already, follow the CrossWorks Tasking Library Package and Generic ARM CPU Support Package installation instructions.
  2. Download the file ARMSimulatorMemoryInterface.hzq using your web browser.
  3. Click the Tools > Manually Install Packages menu option.
  4. Select the file you have just downloaded to install the package.
  5. Click the Tools > Show Installed Packages.
  6. Click on the ARM Simulator Memory Interface Files link to view the package and its contents.
To install this support package using other versions

Release Notes

1.1

1.0

Documentation

Overview

An ARM simulator memory interface is a host dll that models the memory interface of a specific ARM device. The host dll is used by the CrossWorks ARM simulator target interface and is referenced by the CrossWorks project system property Memory Simulation Filename.

The host dll must provide two entry point functions AllocateARMSimulatorMemoryInterface and ReleaseARMSimulatorMemoryInterface which are called by the Crossworks ARM simulator on target interface connect and disconnect respectively. The function AllocateARMSimulatorMemoryInterface should allocate and return an object that is an implementation of ARMSimulatorMemoryInterface.h. The ReleaseARMSimulatorMemoryInterface takes the object previously allocated by the host dll and should deallocate it.

An example implementation of an ARM simulator memory interface for the generic ARM memory simulator is in StandardARMSimulatorMemory.h and StandardARMSimulatorMemory.cpp. This is implemented using the files ARMSimulatorMemoryImplementation.h and ARMSimulatorMemoryImplementation.cpp.

A hosted version of CrossWorks is available on request from Rowley Associates Ltd that can be used to build host dll's from the project files that are shipped in the CPU support packages. Alternatively you can use your favourite host IDE to build the dll.