AN2345 Freescale Semiconductor / Motorola, AN2345 Datasheet - Page 27

no-image

AN2345

Manufacturer Part Number
AN2345
Description
Real-Time Memory Manager for StarCore DSPs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Freescale Semiconductor, Inc.
Building VSMM Examples 1–3
Figure 12 shows the three targets within this project, Example1, Example2, and Critical Method 2.
Figure 12. VSMM Example Project Target Pane
Example1 is built as follows:
1. Select this target from the project target pane.
2. Edit the VSMM_cfg.h file within your project directory
3. Ensure that the VSMM_CRITICAL_METHOD #define constant is set to either 1 or 3.
4. Ensure that the OSE_RTOS #define constant is set to 0.
5. Save the changes and click the Make icon.
6. After the build completes, click on the Run Debug icon to download and execute the example.
Example2 is built as follows:
1. Select this target from the project target pane.
2. Edit the VSMM_cfg.h file within your project directory.
3. Ensure that the VSMM_CRITICAL_METHOD #define constant is set to either 1 or 3.
4. Ensure that the OSE_RTOS #define constant is set to 0.
5. Save your changes and then click on the Make icon.
6. After the build completes, click on the Run Debug icon to download and execute this example.
Critical Method 2 is built as follows:
1. Select this target from the project target pane.
2. Edit the VSMM_cfg.h file within your project directory.
3. Ensure that the VSMM_CRITICAL_METHOD #define constant is set to 2.
4. Ensure that the OSE_RTOS #define constant is set to 0.
5. Save your changes and then click the Make icon.
6. After the build completes, click on the Run Debug icon to download and execute this example.
27
For More Information On This Product,
Go to: www.freescale.com

Related parts for AN2345