Importing data into memory

Select the Import memory option from the Import/Export/Fill Memory Action editor to import the encoded data from a user specified file, decode it, and copy it into a user specified memory range.

Figure 1. Import/Export Memory Action editor - Importing data into memory

Import/Export Memory Action editor - Importing data into memory

The following table explains the import memory options.

Table 1. Controls used for importing data into memory
Item Explanation
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, and 4 units. When target information is available, this list shall be filtered to display the access sizes that are supported by the target.
File Type Defines the format in which the imported data is encoded. By default, the following file types are supported:
  • Signed decimal Text
  • Unsigned decimal Text
  • Motorola S-Record format
  • Hex Text
  • Annotated Hex Text
  • Raw Binary
Select file Enter the path to the file that contains the data to be imported. Click the Workspace button to select a file from the current project workspace. Click the System button to select a file from the file system the standard File Open dialog. Click the Variables button to select a build variable.
Number of Elements Enter the total number of elements to be transferred.
Verify Memory Writes Select the checkbox to verify success of each data write to the memory.