SWRA671 June 2020 CC1312R , CC1312R , CC1314R10 , CC1314R10 , CC1352P , CC1352P , CC1352R , CC1352R , CC1354P10 , CC1354P10 , CC1354R10 , CC1354R10 , CC2652P , CC2652P , CC2652R , CC2652R , CC2652R7 , CC2652R7 , CC2652RB , CC2652RB , CC2652RSIP , CC2652RSIP
In order to clone the network properties of a ZC, there needs to be a way to communicate with the device. This is similar to a Zigbee Network Processor where the Zigbee device just executes commands specific to the network, but the application is hosted on another MCU. In this case, the coordinator needs to be able to read in MT commands and respond accordingly. To do this the coordinator project that is flashed onto the device needs to include the MT and Network Processor Interface (NPI) APIs. The NPI is needed so that a host microcontroller (MCU) or platform is able to control the CC13xx/CC26xx device by sending serial commands. This section explains the required steps needed in order to use the TI Zigbee Network Properties Cloning Tool. The setup procedure is to be done on a fresh device before installation or network setup.
Refer to the ‘Adding MT to a SimpleLink CC13x2/26x2 SDK Zigbee 3.0 Project’ for detailed steps on incorporating the MT and NPI APIs into an existing Z-Stack Coordinator project. As a modification to the documentation, for the purpose of accomplishing this task the following change is made to step 3, Include Predefined Symbols and Options: along with the already stated predefined symbols the symbols in Table 6 also need to be incorporated. Ensure the project also contains the 'NV_RESTORE' predefine for the NV items to be retained after a reset.
Predefined Symbol | Purpose |
---|---|
FEATURE_NVEXID | Required in order to use the extended MT API commands. |
MT_SYS_KEY_MANAGEMENT | Grants access to the security key data |
After completing step 3, the project is ready to be flashed onto the device. Ensure to erase all of the NVM before flashing projects onto the device to avoid strange behavior based on old stored NV data. To erase the contents in the device use UniFlash. Once the project has been flashed onto the ZC device, start the BDB commissioning process. If using a LaunchPad device, pressing (BTN-1) will automatically start the BDB commissioning process. As soon as the network is formed other ZED/ZR devices may join the newly formed NWK.
In the case that the ZC has fallen off the network and the user wishes to clone it then the tools attached to this application report can be used. Note that the coordinator that will replace the pre-existing coordinator must also have its NVM erased and then have the same project file flashed with the inclusion of the MT and NPI APIs. The TI Zigbee Network Properties Cloning Tool will only detect devices with these APIs included.