Memory Mapped Registers(MMR) have static offset information in the debug database. This offset is relative to a base address and is computed at runtime based on a specific formula. You can load a memory mapped register dump file to see the register values in the offline Register Details view. The dump file can be raw binary or in plain hex text format (annotated hex text format not supported yet).
The offline Register Details view displays the offsets from debug database (in the Offset column) and the offset from dump file (in the Load dump file column) from where registers values are loaded. The dump file can be loaded either for an IP block, or a part of an IP block, or multiple IP blocks.
When a new processor is selected, the previously mapping configuration is applied to the new selected processor.
The following table provides details of the various options that help you load register dump file for mapping on MMR registers. These options are available in the shortcut menu that appears on right-clicking in the Register Details view.
| Menu Command | Description |
|---|---|
| Load dump file | Launches the Import Register Dump dialog asking for details of the dump file to load. |
| Unload dump file | Unloads the current dump file. The menu command is available only when a dump file is loaded. |
| Change destination offset | Launches the Change Destination Offset dialog asking for a new memory offset where the dump file will be loaded. The menu command is available only when a dump file is loaded. |
| Endianness | Shows current endianness for the dump file and allows toggling it. The menu command is available only when a dump file is loaded. |
| Runtime address | Launches the Runtime address dialog asking for runtime address details from where the dump was made. The menu command is available only when a dump file is loaded. |
To load a dump file in the offline Register Details view, perform the following steps.
The Import Register Dump dialog appears.
A column is added with the name same as that of the loaded dump file along with global offset for the file. For example, dump.bin. To change the value of the destination offset, choose Change destination offset from the shortcut menu.
In case you choose the drag and drop method to load the dump file, the Dump file and Destination offset are automatically filled in. You can change the endianness for the dump file by choosing Endianness from the shortcut menu. The value of the register will be loaded from dump file at displayed file offset and using the displayed endianness. The registers that are mapped outside the dump file range display “NA” in the dump file column.