Main Content

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.

Dependencies

  • Setting parameter Transport layer to tcpip or serial enables this parameter. This parameter is disabled if Transport layer is set to XCP on TCP/IP or XCP on Serial.

  • This parameter enables parameter Static memory buffer size.

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