Static memory allocation

Description

Control memory buffer for external mode communication.

Category: Code Generation > Interface

Settings

Default: off

On

Enables parameter Static memory buffer size for allocating dynamic memory.

Off

Uses a static memory buffer for external mode simulation instead of allocating dynamic memory (calls to malloc).

Tips

To determine how much memory to allocate, select verbose mode on the target. That selection displays the amount of memory the target tries to allocate and the amount of memory available.

If you set parameter Transport layer to XCP on TCP/IP or XCP on Serial, you can use parameter Static memory buffer size to specify the size of XCP slave memory that is allocated for signal logging.

Dependencies

  • Selecting parameter External mode enables this parameter.

  • This parameter enables parameter Static memory buffer size.

  • If parameter Transport layer is set to XCP on TCP/IP or XCP on Serial, you cannot disable this parameter.

Command-Line Information

Parameter: ExtModeStaticAlloc
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics