Main Content

Static memory allocation


Control memory buffer for external mode communication.

Category: Code Generation > Interface


Default: off


Enables parameter Static memory buffer size for allocating dynamic memory.


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


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.


  • 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

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics