Difference between revisions of "FWCONFIG"
(→Supported options:) |
|||
Line 20: | Line 20: | ||
* sysdatareclen | * sysdatareclen | ||
<pre> | <pre> | ||
− | system data recorder length (number of records) | + | system data recorder length (number of records) |
</pre> | </pre> | ||
* sysdatarecposttriglen | * sysdatarecposttriglen | ||
Line 27: | Line 27: | ||
* translatormempartsize | * translatormempartsize | ||
<pre> | <pre> | ||
− | initial size for translator memory partition | + | initial size for translator memory partition |
</pre> | </pre> | ||
* passbuffersize | * passbuffersize | ||
* ipaddressmask | * ipaddressmask | ||
<pre> | <pre> | ||
− | Examples: | + | Examples: |
− | ipaddressmask 192.168.20.20:255.255.0.0 | + | ipaddressmask 192.168.20.20:255.255.0.0 |
− | ipaddressmask dhcp | + | ipaddressmask dhcp |
</pre><br> | </pre><br> | ||
* defaultgw | * defaultgw | ||
<pre> | <pre> | ||
− | sets default gateway, available since version 0.4.17.2 | + | sets default gateway, available since version 0.4.17.2 |
'''Examples''':<br> | '''Examples''':<br> | ||
− | '''defaultgw''' 10.4.20.1 | + | '''defaultgw''' 10.4.20.1 |
<br> | <br> | ||
</pre> | </pre> | ||
Line 46: | Line 46: | ||
* sleep | * sleep | ||
<pre> | <pre> | ||
− | delay in millesconds | + | delay in millesconds |
</pre> | </pre> | ||
* stringblockpreload | * stringblockpreload | ||
Line 61: | Line 61: | ||
* stringpreload | * stringpreload | ||
<pre> | <pre> | ||
− | initial size of BASIC strings. Default is 0. Strings are created empty. | + | initial size of BASIC strings. Default is 0. Strings are created empty. |
</pre> | </pre> | ||
* libstacksize | * libstacksize | ||
<pre> | <pre> | ||
− | library stack size | + | library stack size |
</pre> | </pre> | ||
* taskstacksize | * taskstacksize | ||
<pre> | <pre> | ||
− | default task stack size | + | default task stack size |
</pre> | </pre> | ||
* sysdatarecfilename | * sysdatarecfilename | ||
<pre> | <pre> | ||
− | system data recorder file name | + | system data recorder file name |
</pre> | </pre> | ||
Revision as of 07:57, 10 May 2018
FWCONFIG
File used for setting important sotMC system parameters before starting the fw. It contains firmware initialization options.
CAUTION | |
To be used only by experienced user! |
Commands
Syntax
- option value[{byte|kbyte|mbyte}]
Supported options:
- ramdisksize
- libstacksize
- taskstacksize
- ifaddr
- sysdatarecfilename
- sysdatareclen
system data recorder length (number of records)
- sysdatarecposttriglen
- haplsstartoutput
- haplsrange
- translatormempartsize
initial size for translator memory partition
- passbuffersize
- ipaddressmask
Examples: ipaddressmask 192.168.20.20:255.255.0.0 ipaddressmask dhcp
- defaultgw
sets default gateway, available since version 0.4.17.2 '''Examples''':<br> '''defaultgw''' 10.4.20.1 <br>
- netif
- sleep
delay in millesconds
- stringblockpreload
initial size of string descriptors. Default is 300,000. Reduce this value if application has less than 300,000 string variables.<br> Set a number of pre-allocated fixed blocks for string management <br> Example: stringblockpreload 200000 <br> Rules: 1. For best performance This number shell be tuned to the maximum number (BlockMallocCounter) of "common shared" strings/structures used by application Hints: <br> BlockMallocCounter: maximum ("saturated") number of fixed blocks <br> BlockInuseCounter: number of blocks allocated at this moment <br>
- stringpreload
initial size of BASIC strings. Default is 0. Strings are created empty.
- libstacksize
library stack size
- taskstacksize
default task stack size
- sysdatarecfilename
system data recorder file name
- hpetfreq
- defaultbus
- singlebus
- cantimings
- socandevice
- tcp_keepalive_time
- tcp_keepalive_intvl
- tcp_keepalive_probes
See Socket_keep-alive_timeouts
Examples:
ipaddressmask 192.168.20.20:255.255.0.0
sleep 20
libstacksize 20kbyte
hpetfreq 2000 for cycle time 500 microsecond or hpetfreq 1000 for cycle time up to 1 millisecond