Freescale MAC7100 CPU Support Package
This package contains project templates and system files for the Freescale MAC7100.
CrossWorks Version 1 Installation Instructions
- To install this support package
- Download the file Freescale_MAC7100.hzq using your web browser.
- Click the Tools > Install Package menu option.
- Select the file you have just downloaded to install the package.
- To install this support package using other versions
- Standard loader is now RPC rather than DCC.
- Initial Release.
Using the MAC7100 CPU Support Package
To create a new MAC7100 project
- Select the File > New > New Project menu item.
- Select Freescale from the Project Type list.
- Select the required project template type from the Templates list.
- Set the required project name and location directory.
- Click OK.
CrossStudio for ARM supports the MAC7100 running applications from both RAM and internal FLASH in Single-Chip mode.
To build and debug an application
- Select the project to work on by using the Project > Set Active Project menu option.
- Select the configuration you require by using the Build > Set Active Build Configuration menu option.
- Build the project by using the Build > Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Debug > Start Debugging.
The following sections describe the MAC7100 support in more detail.
Memory Map Files
Default memory map files have been provided in the $(StudioDir)/targets/Freescale_MAC7100 directory for each member of the MAC7100 family. These files are used to describe the memory layout of the target and is used for linking and debugging. The placement of program sections within the memory map for both RAM and FLASH configurations is described by the non-target-specific default memory maps $(StudioDir)/targets/flash_placement.xml and $(StudioDir)/targets/sram_placement.xml.
The Build > Target Processor project property specifies which of the MAC7100 family memory map files are used.
Target Startup Code
The default startup code is in $(StudioDir)/targets/Freescale_MAC7100/MAC7100_Startup.s. It contains the exception vectors and the default exception handlers for operating in normal single-chip mode.