Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

...

We therefore recommend to create a fixed basic configuration using the NetX Configuration Tool and configure everything else during startup via the configuration register via Modbus.Procedure to store Configuration Parameters in the Flash Memory (NIC 52 only)
NIC 52 devices do not support this function.



--> This is a wrong information. The function is supported since V2.3.0.0.

the customer should use the following steps, as described for NIC 50:

1. Write all configuration parameters to the corresponding registers using function code 16.

2. Set the CLR_CFG flag at register address 1999 within the command register to clear the configuration parameter in the Flash memory
3. Check status register 999 until the flag FLS_CFG has been cleared. This is necessary as erasing the configuration may last for some time.
4. Set the STR_CFG flag at register address 1999 within the command register to store the configuration parameter in the Flash memory

5. Check status register 999 until the flag FLS_CFG has been set again. This is necessary as storing the configuration may last for some time.
6. Set the INIT flag at register address 1999 within the command register.
The netIC starts with the new configuration parameters.

 


BUT he needs to use this flag for clearing the configuration:

Page 94: netIC - Real-Time Ethernet and Fieldbus Gateways UM DG 36 EN.pdf

Image Modified


Mirko 2020-03-13:

The feature CLR_CFG / STR_CFG supported beginning with netIC FW V2.3 works only in conjunction with a new "second stage boot loader" which is not yet introduced in the netIC production.

...

You can check the flag FLS_CFG (bit7) in the status register if a "netX Configuration tool configuration" is present or not.

 


Once the  "netX Configuration tool configuration" is cleared you can store the configuration any time with STR_CFG (bit 7).

Its is not required to clear the config any time before. Just modify and store. 


A new flag REM_CFG (bit12) has been spend in the status register to indicate that the netIC has loaded a remanent configuration by the host.

...