Export MCU memory map ¶
Description: the Export Memory Map window is designed to facilitate the creation and export of memory content in HEX format, only in GUI mode.
The tool allows users to:
- Define one or more memory segments by specifying their base addresses and
sizes.
- Select additional options such as option byte (OB) and one-time
programmable (OTP) memory regions for export.
Access the Export Memory Map window using any of the following methods:
Keyboard shortcut
Ctrl + E.- Right-click
Device Memoryfrom theMemory & editingwindow and choose Export memory.
- Right-click
Click the
Readcombo box to display items and selectExport memory.
Note
Export memory map window illustration is not available in this repository snapshot.
Users can set the number of memory segments. For each segment, specify any of the following:
Base Address: in hexadecimal format.
Size: in decimal or hexadecimal format, multiple of 4 Bytes.
Type: choose between:
Memoryto export memory data.Patternto fill the segment with specific values.
- Pattern: a value in hexadecimal format, needed only when the type is
Pattern.
Users can include OB and OTP memory regions in the export, in addition to the user-defined segments.
The
Clear
button allows users to quickly reset the export memory map data
to its default state.
The output path for the HEX file can be specified manually or selected using a file browser dialog.
Note
When OB is selected, the export process may include multiple segments corresponding to the option bytes defined by the current device configuration. The number of these OB segments depends on the specific device and its configuration. Each OB segment is exported as a separate segment in the HEX file, ensuring that all relevant option byte data are included. The tool prevents data corruption and ensures that each memory segment occupies a unique, non-overlapping region in the exported file. If any overlap is detected, the export process is stopped, and the user is notified with an error message indicating which segments are in conflict.