Perform these steps to create a target task to import memory:
The Show View dialog box appears.
The Target Tasks view appears.
The Create New Target Task wizard appears.
The Import/Export/Fill Memory Action editor appears. This editor lets you read encoded data from a user specified file, decode it, and copy it into a user specified memory range.
| Item | Description |
|---|---|
| Memory space and address | Enter the literal address and memory space on which the data transfer is performed. The Literal address field allows only decimal and hexadecimal values. |
| Expression | Enter the memory address or expression at which the data transfer starts. |
| Access size | Denotes the number of addressable units of memory that the debugger accesses in transferring one data element. The default values shown are 1, 2, 4, and 8 units. When target information is available, this list shall be filtered to display the access sizes that are supported by the target. |
| Select File | Enter the path to the file that contains the data to be imported. Click the Browse button to select the import file through the standard File Open dialog box. |
| File type | Defines the format in which the wizard encodes the data it imports. By default, the following file types are supported:
|
| Fill Pattern | Denotes the sequence of bytes, ordered from low to high memory, the wizard mirrors in the target. The field accept only hexadecimal values. If the width of the pattern exceeds the access size, the wizard displays an error message. |
| Number of Elements | Enter the total number of elements to be transferred. |
| Verify Memory Writes | Check the option to verify success of each data write to the memory. |
CodeWarrior IDE saves your changes, closes the Configure Import/Export/Fill Memory task wizard, and displays the newly created import task in the Tasks list of the Target Tasks view.