Before a project can be created, a CPU or board support package suitable for the device you are targetting must be installed. A support package is a single compressed file that can contain project templates, system files, example projects and documentation for a particular target.
In this tutorial we are going to use the Generic ARM CPU Support Package to create our project, this will allow us to create a project that will run on CrossWorks' ARM simulator. To create a project that would run on hardware, you would need to install and use support packages suitable for the target hardware you are using, but for the purposes of this tutorial we'll just target the simulator.
Note that the Generic ARM CPU Support Package project templates can be used to target real hardware for those devices that don't currently have a suitable support package, however it is highly likely that you will need to modify memory map files, startup code, reset scripts and loader program in order to support the target. This is outside of the scope of this tutorial, but should you wish to do this, see the documentation included in the Generic ARM CPU Support Package for more information.
Downloading and installing a support package
- Click Tools > Download Packages From Web to view the current set of support packages available.
- Select the CPU Support Packages > Generic > ARM page in the contents list.
- Download the package file ARM_Generic.hzq onto you host computer.
- Click Tools > Install Package, select the ARM_Generic.hzq file you've just downloaded and then click Install.
Viewing installed support packages
- Click Tools > Show Installed Packages to list the support packages you have installed on your system. You should see the Generic ARM CPU Support Package we've just installed listed.
- Click on the Generic ARM CPU Support Package to see the support package page. This page will provide more information on the support package and any links to documentation, example projects and system files included in the package. As this package only consists of project templates there is only a single link to the package documentation.