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
orserial
enables this parameter. This parameter is disabled if Transport layer is set toXCP on TCP/IP
orXCP 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
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Related Topics
- Model Configuration Parameters: Code Generation Interface
- External Mode Simulation with TCP/IP or Serial Communication
- External Mode Simulation by Using XCP Communication
- Control Memory Allocation for Communication Buffers in Target
- Memory Allocation for Communication Buffers During XCP External Mode Simulation
- XCP Platform Abstraction Layer