Save TCL
Menu Item
Read Target Registers
Write Target Registers
Chapter 12 Memory Management Unit Configurator
Table 12-4. MMU Editor Menu Items (continued)
Icon Description
Saves the generated TCL script to a new .tcl file.
Updates the content of the MMU
Configuration File Editor pages to reflect the current values of the target hardware registers.
Writes the modified content of the MMU
Configuration File Editor pages to the target hardware registers.
12.4 MMU Editor Toolbar
The MMU Configuration File Editor has an associated toolbar that displays in the
CodeWarrior IDE toolbar, when MMU Configuration File Editor is active in the Editor view.
Table 12-5 explains each toolbar button.
Toolbar Button
Save C Source
Table 12-5. MMU Editor Toolbar Buttons
Icon Description
Saves the generated C code to a new .c file.
Save ASM Source
Save TCL Source
Load MMU Configurator state from active thread
Write active thread registers from MMU
Configurator state
Saves the generated assembly code to a new .asm
file.
Saves the generated TCL script to a new .tcl file.
Updates the content of the MMU Configuration File
Editor pages to reflect the current values of the target hardware registers.
Writes the modified content of the MMU
Configuration File Editor pages to the target hardware registers.
12.5 Saving MMU Configuration
This section explains how to save the changes you made in the MMU Configurator.
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
Freescale Semiconductor, Inc.
325
Saving MMU Configuration
Each time you change the settings in the MMU Configurator File Editor, you create a pending or unsaved change. In order to commit those pending changes, you need to save the MMU Configurator settings to a file. If an asterisk (*) appears before the title of the
MMU Configuration File Editor, it implies that the editor still has unsaved changes.
•
Saving MMU Configuration File Editor Settings
•
Saving Generated C Code
•
Saving Generated Assembly Code
•
Saving Generated TCL Script
12.5.1 Saving MMU Configuration File Editor Settings
Follow these steps to save the current settings of the MMU Configuration File Editor:
1. Select the MMU Configuration File Editor.
2. From the CodeWarrior IDE menu bar, select File > Save.
The IDE saves the current settings of the MMU Configuration File Editor to the
.mmu
file.
12.5.2 Saving Generated C Code
The generated C code is unique for each target. Follow these steps to save the C code generated by the MMU Configuration File Editor:
1. From the CodeWarrior IDE menu bar, select MMU Editor > Save C to save the generated C code. Alternatively, click the Save C Source button in the MMU editor toolbar.
A standard Save dialog box appears.
2. Specify the file name in the File name text box and click Save to save the generated code as a new file.
NOTE
The MMU Configuration File Editor regenerates the C code when you change settings in the MMU Configuration File
Editor pages.
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
326 Freescale Semiconductor, Inc.
Chapter 12 Memory Management Unit Configurator
12.5.3 Saving Generated Assembly Code
The generated assembly (ASM) code is unique for each target. Follow these steps to save the ASM code generated by the MMU Configuration File Editor:
1. From the CodeWarrior IDE menu bar, select MMU Editor > Save ASM to save the generated assembly code. Alternatively, click the Save ASM Source button in the
MMU editor toolbar.
A standard Save dialog box appears.
2. Specify the file name in the File name text box and click Save to save the generated code as a new file.
NOTE
The MMU Configuration File Editor regenerates the assembly code when you change settings in the MMU Configuration File
Editor pages.
12.5.4 Saving Generated TCL Script
The generated TCL script can be executed within the Debugger Shell view, or the
Debugger Shell can execute the generated TCL script as an initialization script for the target hardware. The generated TCL script is unique for each target.
Follow these steps to save the TCL script generated by the MMU Configuration File
Editor:
1. From the CodeWarrior IDE menu bar, select MMU Editor > Save TCL to save the generated TCL script. Alternatively, click the Save TCL Source button in the MMU editor toolbar.
A standard Save dialog box appears.
2. Specify the file name in the File name text box and click Save to save the generated code as a new file.
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
Freescale Semiconductor, Inc.
327