Static memory buffer size
Description
Specify the memory buffer size for external mode communication.
Category: Code Generation > Interface
Settings
Default:
1000000
Enter the number of bytes to preallocate for external mode communication buffers in the target application.
Tips
If you enter too small a value for your application, the external mode simulation produces an out-of-memory error.
If you set Transport layer to
XCP on TCP/IP
orXCP on Serial
and clear the Automatically allocate static memory check box, you can use this parameter to specify memory allocation for external mode communication buffers.
Dependency
If parameter Transport layer is not set to
XCP on TCP/IP
or XCP on
Serial
, selecting the Static memory
allocation check box enables this parameter.
If parameter Transport layer is set to XCP
on TCP/IP
or XCP on Serial
, clearing
the Automatically allocate static memory check box enables this
parameter.
Command-Line Information
Parameter:
ExtModeStaticAllocSize |
Type: integer |
Value: valid value |
Default:
1000000 |
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