Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

“Reset To DEFAULT" button on xPort Edge DevKit works upon doing the following configuration.

  1. The jumper that is plugged into JP7 DTR (pins 5 and 6) need to remove on board and short the CP1 (pin 1 and 2) using jumper.

 

2. Connect the serial port of the Xport-EDGE to your PC and open a terminal SW (e.g.: Teraterm).

Teraterm is set at 9600 8N1 No Flow control. (If the RS232 is set at a different baudrate, the Teraterm should be configured accordingly)

3. Reboot the XPORT-EDGE and enter the CLI command.

4. Copy the below code of “OEM Set Configuration” and paste it in the terminal while it is in CLI command mode.

OEM Set configuration (to setup the role of CP2 as “Factor Defaults” and will be saved permanent)

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE configrecord [
   <!ELEMENT configrecord (configgroup+)>
   <!ELEMENT configgroup (configitem+)>
   <!ELEMENT configitem (value+)>
   <!ELEMENT value (#PCDATA)>
   <!ATTLIST configrecord version CDATA #IMPLIED>
   <!ATTLIST configgroup name CDATA #IMPLIED>
   <!ATTLIST configgroup instance CDATA #IMPLIED>
   <!ATTLIST configitem name CDATA #IMPLIED>
   <!ATTLIST configitem instance CDATA #IMPLIED>
   <!ATTLIST value name CDATA #IMPLIED>          
]>
<configrecord version = "0.1.0.1">
   <configgroup name = "CPM">
      <configitem name = "Role" instance = "Factory Defaults">
        <value name = "CP">2</value>
        <value name = "State">Enabled</value>
        <value name = "Assert">Low</value>
        <value name = "Mode">Push-Pull</value>
      </configitem>
   </configgroup>
   <configgroup name = "XML Import Control">
      <configitem name = "OEM">
        <value>Set Configuration</value>
      </configitem>
   </configgroup>
</configrecord>


After uploading the code, it shows
XML import completed.
Saved OEM factory settings.

5. Now type t or tlog to enter the tlog.
Wait till you see the MAC address of the device.
Now, you can press the CP2 (RESET To DEFAULTS” for longer than 5 seconds then release it.
When you release the button, the unit will output
Reset to factory defaults after reboot”

6. After it rebooted and came back into CLI mode. Type again t or tlog, wait till the MAC address appears in the terminal, then press again the CP2 (RESET To DEFAULTS) button for longer than 5 seconds then release it.
You’ll see again ”Reset to factory defaults after reboot”.

OEM Remove configuration (to remove the role of CP2 as “Factor Defaults”)

If you want to remove oem settings, then you need to upload the below code for OEM Remove configuration

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE configrecord [
   <!ELEMENT configrecord (configgroup+)>
   <!ELEMENT configgroup (configitem+)>
   <!ELEMENT configitem (value+)>
   <!ELEMENT value (#PCDATA)>
   <!ATTLIST configrecord version CDATA #IMPLIED>
   <!ATTLIST configgroup name CDATA #IMPLIED>
   <!ATTLIST configgroup instance CDATA #IMPLIED>
   <!ATTLIST configitem name CDATA #IMPLIED>
   <!ATTLIST configitem instance CDATA #IMPLIED>
   <!ATTLIST value name CDATA #IMPLIED>          
]>
<configrecord version = "0.1.0.1">
   <configgroup name = "CPM">
      <configitem name = "Role" instance = "Factory Defaults">
        <value name = "CP">2</value>
        <value name = "State">Enabled</value>
        <value name = "Assert">Low</value>
        <value name = "Mode">Push-Pull</value>
      </configitem>
   </configgroup>
   <configgroup name = "XML Import Control">
      <configitem name = "OEM">
        <value>Remove Configuration</value>
      </configitem>
   </configgroup>
</configrecord>

  1. Connect the serial port of the Xport-EDGE to your PC and open a terminal SW (e.g.: Teraterm).Teraterm is set at 9600 8N1 No Flow control. (If the RS232 is set at a different baudrate, the Teraterm should be configured accordingly)

  2. Reboot the XPORT-EDGE and enter the CLI command.

  3. Copy the code for OEM Remove configuration and paste it in Teraterm.
    It will confirm with
    XML import completed.
    Removed OEM factory settings.
    Next factory default will pick up LANRONIX settings
    To factory reset it, go the CLI level
    >status>device
    then type “factory defaults”
    (see below)

  • No labels