Welcome to the TI_Zigbee_Network_Properties_Cloning_Tool!

Refer to http://www.ti.com/lit/swra671 for details on how to clone a Zigbee ZNP/Coordinator device's network properties.

Note: Before this tool can be used, the ZNP/Coordinator must meet certain requirements, outlined in the setup portion of the Application Report linked above.
Before proceding make sure these requirements are met.  

There are two ways to use this tool to do cloning:
Method 1: Requires both old and new devices at the same time
Method 2: Requires only one device at a time or both

Refer to the text below for the procedure for both methods.

Method 1:
Old device (ZC1), new device (ZC2)
1) Connect the coordinator/ZNP device (ZC1) to the PC and note the COM Port.
2) Connect the new coordinator/ZNP device (ZC2) to the PC and note the COM Port. 
3) Run the TI Zigbee Network Cloning Tool by clicking on the executable file within the contents of this folder.

[Step (3) can happen before steps (1) and (2). If so, within the tool go to  Tools -> Scan for Devices  in order to update the COM ports.]

4) Select the ‘Clone’ application option within the tool, and then the corresponding COM Ports for the devices to be read and written to. 
   Content should be read from ZC1 and written to ZC2. 
5) Within the tool go to  Tools -> Form Network. This will form a network on ZC2. 
   It is important to form a network first so that ZC2 can have a Network Information Base (NIB) before writing to it. 
6) Press the ‘Start’ button, and watch the output to make sure there are no errors. 
   To view the content that was read from ZC1, open the read file under  View  ->  Read File once the reading procedure is complete.
   There may not be content for all of the NV regions. This is dependent on the type of application used. 
7) Remove ZC1 from the NWK by powering it off.
8) When the process is complete, power cycle or restart ZC2. This is necessary for the ZC to update its NV content with the new content 
   that was written. Once the device restarts, it will take the place of ZC1. *


Method 2: 
Old device (ZC1), new device (ZC2)
1) Connect the coordinator/ZNP device (ZC1) to the PC and note the COM Port.
2) Run the TI Zigbee Network Cloning Tool by clicking on the executable file within the contents of this folder.

[Step (2) can happen before step (1). If so, within the tool go to  Tools -> Scan for Devices  in order to update the COM ports.]

4) Select the ‘Read’ application option within the tool, and then the corresponding COM Port for the device to be read. Choose the 'All Regions'
   selection in the 'Read Settings' portion to read all of the content avaliable. 
5) Press Start to begin the reading procedure. To view the content that was read from ZC1, open the read file under  View  ->  Read File 
   once the reading procedure is complete. There may not be content for all of the NV regions. This is dependent on the type of application used. 
6) Whenever ready, connect ZC2 to the PC and note the COM Port.
7) Run the TI Zigbee Network Cloning Tool by clicking on the executable file within the contents of this folder if the application is not running yet.
8) Select the ‘Write’ application option within the tool, and then the corresponding COM Port for the device to be written to. If refreshing the COM
   ports is desired go to Tools -> Scan for Devices. 
9) Within the 'Write Settings' segment choose to 'Write from a File'. Once the popup window appears, select the file content_read.txt file (or file 
   saved from reading from ZC1). If a successful upload was done a notification of green text 'Uploaded' should appear next to the 'Write from File'
   option.
10)Within the tool go to  Tools -> Form Network. This will form a network on ZC2. It is important to form a network first so that ZC2 can have a 
   Network Information Base (NIB) before writing to it. 
11)Press the ‘Start’ button, and watch the output to make sure there are no errors. To view the content that was written to ZC2 check the output 
   display for success or failure status. 
12)Remove ZC1 from the NWK by powering it off.
13) When the process is complete, power cycle or restart ZC2. This is necessary for the ZC to update its NV content with the new content 
   that was written. Once the device restarts, it will take the place of ZC1. *

* If ZC2 was programmed with an XDS110 emulator then the first time the device is reset after programming the reset must be physical. 
For a physical reset, power cycle the device or if using a Launchpad press the reset button. Otherwise, within the tool navigate to 
Tools -> Reset in order to reset the device.