This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1352P: Unable to establish network for the zigbee

Part Number: CC1352P
Other Parts Discussed in Thread: FLASH-PROGRAMMER, UNIFLASH, SYSCONFIG, , Z-STACK

Hello Community,

I am working on the CC352P ZNP device.

I have already posted the question related to getting the 0x00 channel whenever getting the MT_ZDO_EXT_NWK_INFO.

I have made changes in znp.syscfg file to primary channel list with only 0x0B channel enabled & secondary channel list is empty.

Still, I am getting the 0x00 while reading the MT_ZDO_EXT_NWK_INFO.

Will you please help me to know,

How can I debug this that the network forms or not?

What's making trouble to establish the Zigbee network?

Regards,

Shiv Patil.

  • Hello Shiv,

    If the channel shows as 0x00 then you haven't commissioned the device, please use the APP_CNF_BDB_START_COMMISSIONING Monitor and Test API.  You can follow YiKai's blog post if preferred.  You will also know whether the device believes it has started up properly based on the ZDO_STATE_CHANGE_IND, APP_CNF_BDB_COMMISSIONING_NOTIFICATION, and UTIL_GET_DEVICE_INFO.  Also make sure all memory has been erased before programming your device and use a sniffer if you are still unclear regarding the device status.

    Regards,
    Ryan

  • Hello ,

    I have made all the test cases related to YiKai's blog post as per your suggestion. but getting the same results.

    I would like to share the logs for both test cases. 
    I am receiving the ZDO_STATE_CHANGE_IND but the state of the device gets changed.

    I am just receiving the DEV_COORD_STARTING (0x08) instead of DEV_ZB_COORD (0x09).

    SOC IN  <-- LEN :01, SOF :FE, CMD0 :45, CMD1 :C0, Payload :08, FCS :8C

    I am sharing both log files for reference.

    intial_code.txt
    [2021-03-03T17:21:43.759+05:30][DEBUG]-  clear reset pin : 0x0103
    [2021-03-03T17:21:44.76+05:30][DEBUG]-   set reset pin : 0x0303
    [2021-03-03T17:21:45.166+05:30][DEBUG]-  SOC IN  <-- LEN :06, SOF :FE, CMD0 :41, CMD1 :80, Payload :00:02:00:02:07:01, FCS :C1
    [2021-03-03T17:21:45.166+05:30][DEBUG]-  mtSysResetIndCb :
    [2021-03-03T17:21:45.166+05:30][DEBUG]-                  ZNP Version : 2.
    [2021-03-03T17:21:45.166+05:30][DEBUG]-                  ZNP Version : 7.
    [2021-03-03T17:21:45.166+05:30][DEBUG]-                  ZNP Version : 1
    [2021-03-03T17:21:45.168+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :03:00:00:01:00, FCS :2F
    [2021-03-03T17:21:45.169+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T17:21:45.169+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T17:21:45.172+05:30][DEBUG]-  SOC OUT --> LEN :0B, SOF :FE, CMD0 :24, CMD1 :00, Payload :02:04:01:00:01:01:00:01:06:00:00, FCS :2F
    [2021-03-03T17:21:45.172+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :64, CMD1 :00, Payload :00, FCS :65
    [2021-03-03T17:21:45.173+05:30][DEBUG]-  mtAfRegisterSrspCb : Status : 0x00
    [2021-03-03T17:21:45.175+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :8F:00:00:01:01, FCS :A2
    [2021-03-03T17:21:45.179+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T17:21:45.179+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T17:21:45.18+05:30][DEBUG]-   SOC OUT --> LEN :01, SOF :FE, CMD0 :2F, CMD1 :02, Payload :0E, FCS :22
    [2021-03-03T17:21:45.182+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :6F, CMD1 :02, Payload :00, FCS :6C
    [2021-03-03T17:21:45.183+05:30][DEBUG]-  mtEndDeiveTimeoutSrspCb : Status : 0x00
    [2021-03-03T17:21:45.184+05:30][DEBUG]-  SOC OUT --> LEN :02, SOF :FE, CMD0 :25, CMD1 :40, Payload :00:00, FCS :67
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   SOC IN  <-- LEN :01, SOF :FE, CMD0 :65, CMD1 :40, Payload :00, FCS :24
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   SOC IN  <-- LEN :01, SOF :FE, CMD0 :45, CMD1 :C0, Payload :09, FCS :8D
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   SOC IN  <-- LEN :03, SOF :FE, CMD0 :4F, CMD1 :80, Payload :0D:00:04, FCS :C5
    [2021-03-03T17:21:45.58+05:30][INFO]-    configure_znp_device : RESTORED_NETWORK
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   mtZdoInitSrspCb : Status : 0x00
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   Network Started
    [2021-03-03T17:21:45.58+05:30][DEBUG]-   mtZdoStateChangeIndCb: Started as Zigbee Coordinator
    [2021-03-03T17:21:45.582+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :03:00:00:01:00, FCS :2F
    [2021-03-03T17:21:45.583+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T17:21:45.583+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T17:21:45.584+05:30][DEBUG]-  SOC OUT --> LEN :00, SOF :FE, CMD0 :27, CMD1 :00, Payload , FCS :27
    [2021-03-03T17:21:45.587+05:30][DEBUG]-  SOC IN  <-- LEN :0E, SOF :FE, CMD0 :67, CMD1 :00, Payload :00:DB:E0:C0:1C:00:4B:12:00:00:00:07:09:00, FCS :D9
    [2021-03-03T17:21:45.587+05:30][INFO]-  mtUtilGetDeviceInfoSrspCb :
    [2021-03-03T17:21:45.587+05:30][INFO]-                   Status: 0x00
    [2021-03-03T17:21:45.587+05:30][INFO]-                   IeeeAddr: 0x00124B001CC0E0DB
    [2021-03-03T17:21:45.587+05:30][INFO]-                   ShortAddr: 0x0000
    [2021-03-03T17:21:45.587+05:30][INFO]-                   DeviceType: 0x07
    [2021-03-03T17:21:45.587+05:30][INFO]-                   DeviceState: 0x09
    [2021-03-03T17:21:45.587+05:30][INFO]-                   Len: 0x00
    [2021-03-03T17:21:45.588+05:30][DEBUG]-  SOC OUT --> LEN :00, SOF :FE, CMD0 :25, CMD1 :50, Payload , FCS :75
    [2021-03-03T17:21:45.589+05:30][DEBUG]-  SOC IN  <-- LEN :18, SOF :FE, CMD0 :65, CMD1 :50, Payload :00:00:09:3C:5A:00:00:DB:E0:C0:1C:00:4B:12:00:00:00:00:00:00:00:00:00:0B, FCS :F7
    [2021-03-03T17:21:45.589+05:30][INFO]-   mtZdoExtNwkInfoSrspCb :
    [2021-03-03T17:21:45.589+05:30][INFO]-                   NwkAddr : 0x0000
    [2021-03-03T17:21:45.589+05:30][INFO]-                   NwkState : 0x09
    [2021-03-03T17:21:45.589+05:30][INFO]-                   NwkPanId : 0x5A3C
    [2021-03-03T17:21:45.589+05:30][INFO]-                   nwkCoordAddress : 0x0000
    [2021-03-03T17:21:45.589+05:30][INFO]-                   IeeeAddr : 0x00124B001CC0E0DB
    [2021-03-03T17:21:45.589+05:30][INFO]-                   ExtAddress : 0x0000000000000000
    [2021-03-03T17:21:45.589+05:30][INFO]-                   Channel : 0x0B
    [2021-03-03T17:21:45.589+05:30][DEBUG]-  mtZdoInitSrspCb : Status : 0x00
    [2021-03-03T17:21:45.589+05:30][DEBUG]-internal_function success: [0x00090000] from 0x12345678 to 0x12345679
    [2021-03-03T17:21:45.589+05:30][INFO]-   gg_runtime_start : handler started successfully.
    [2021-03-03T17:21:45.589+05:30][DEBUG]-internal_function success: [0x00090000] from 0x12345679 to 0x1234567b
    [2021-03-03T17:21:45.589+05:30][INFO]-internal_function success: C runtime started for 'arn:aws:lambda:ap-south-1:189413457560:function:zigbee:470'
    [2021-03-03T17:21:45.779+05:30][DEBUG]-  SOC IN  <-- LEN :03, SOF :FE, CMD0 :4F, CMD1 :80, Payload :08:02:00, FCS :C6
    

    updated_code.txt
    [2021-03-03T15:06:55.038+05:30][DEBUG]-  clear reset pin : 0x0503
    [2021-03-03T15:06:56.04+05:30][DEBUG]-   set reset pin : 0x0703
    [2021-03-03T15:06:56.433+05:30][DEBUG]-  SOC IN  <-- LEN :06, SOF :FE, CMD0 :41, CMD1 :80, Payload :00:02:00:02:07:01, FCS :C1
    [2021-03-03T15:06:56.433+05:30][DEBUG]-  mtSysResetIndCb :
    [2021-03-03T15:06:56.433+05:30][DEBUG]-                  ZNP Version : 2.
    [2021-03-03T15:06:56.433+05:30][DEBUG]-                  ZNP Version : 7.
    [2021-03-03T15:06:56.433+05:30][DEBUG]-                  ZNP Version : 1
    [2021-03-03T15:06:56.435+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :03:00:00:01:03, FCS :2C
    [2021-03-03T15:06:56.438+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T15:06:56.438+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T15:06:56.441+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :87:00:00:01:00, FCS :AB
    [2021-03-03T15:06:56.446+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T15:06:56.446+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T15:06:56.448+05:30][DEBUG]-  SOC OUT --> LEN :06, SOF :FE, CMD0 :21, CMD1 :09, Payload :83:00:00:02:FF:FF, FCS :AF
    [2021-03-03T15:06:56.454+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T15:06:56.454+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T15:06:56.456+05:30][DEBUG]-  SOC OUT --> LEN :08, SOF :FE, CMD0 :21, CMD1 :09, Payload :84:00:00:04:00:20:00:00, FCS :80
    [2021-03-03T15:06:56.462+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T15:06:56.462+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T15:06:56.464+05:30][DEBUG]-  SOC OUT --> LEN :0B, SOF :FE, CMD0 :24, CMD1 :00, Payload :02:04:01:00:01:01:00:01:06:00:00, FCS :2F
    [2021-03-03T15:06:56.467+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :64, CMD1 :00, Payload :00, FCS :65
    [2021-03-03T15:06:56.467+05:30][DEBUG]-  mtAfRegisterSrspCb : Status : 0x00
    [2021-03-03T15:06:56.468+05:30][DEBUG]-  SOC OUT --> LEN :02, SOF :FE, CMD0 :25, CMD1 :40, Payload :00:00, FCS :67
    [2021-03-03T15:06:57.03+05:30][DEBUG]-   SOC IN  <-- LEN :01, SOF :FE, CMD0 :65, CMD1 :40, Payload :00, FCS :24
    [2021-03-03T15:06:57.03+05:30][DEBUG]-   SOC IN  <-- LEN :03, SOF :FE, CMD0 :4F, CMD1 :80, Payload :01:02:04, FCS :CB
    [2021-03-03T15:06:57.03+05:30][DEBUG]-   mtZdoInitSrspCb : Status : 0x00
    [2021-03-03T15:06:57.03+05:30][INFO]-    configure_znp_device : RESTORED_NETWORK
    [2021-03-03T15:06:57.332+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :45, CMD1 :C0, Payload :08, FCS :8C
    [2021-03-03T15:06:57.332+05:30][DEBUG]-  Network Starting
    [2021-03-03T15:06:57.332+05:30][DEBUG]-  mtZdoStateChangeIndCb: starting network
    [2021-03-03T15:06:58.002+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :03:00:00:01:00, FCS :2F
    [2021-03-03T15:06:58.005+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-03T15:06:58.005+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-03T15:06:58.006+05:30][DEBUG]-  SOC OUT --> LEN :00, SOF :FE, CMD0 :27, CMD1 :00, Payload , FCS :27
    [2021-03-03T15:06:58.012+05:30][DEBUG]-  SOC IN  <-- LEN :0E, SOF :FE, CMD0 :67, CMD1 :00, Payload :00:F8:E0:C0:1C:00:4B:12:00:00:00:07:08:00, FCS :FB
    [2021-03-03T15:06:58.012+05:30][INFO]-  mtUtilGetDeviceInfoSrspCb :
    [2021-03-03T15:06:58.012+05:30][INFO]-                   Status: 0x00
    [2021-03-03T15:06:58.012+05:30][INFO]-                   IeeeAddr: 0x00124B001CC0E0F8
    [2021-03-03T15:06:58.012+05:30][INFO]-                   ShortAddr: 0x0000
    [2021-03-03T15:06:58.012+05:30][INFO]-                   DeviceType: 0x07
    [2021-03-03T15:06:58.012+05:30][INFO]-                   DeviceState: 0x08
    [2021-03-03T15:06:58.012+05:30][INFO]-                   Len: 0x00
    [2021-03-03T15:06:58.014+05:30][DEBUG]-  SOC OUT --> LEN :00, SOF :FE, CMD0 :25, CMD1 :50, Payload , FCS :75
    [2021-03-03T15:06:58.019+05:30][DEBUG]-  SOC IN  <-- LEN :18, SOF :FE, CMD0 :65, CMD1 :50, Payload :00:00:08:0B:C4:00:00:F8:E0:C0:1C:00:4B:12:00:00:00:00:00:00:00:00:00:00, FCS :77
    [2021-03-03T15:06:58.019+05:30][DEBUG]-  mtZdoInitSrspCb : Status : 0x00
    [2021-03-03T15:06:58.019+05:30][INFO]-   mtZdoExtNwkInfoSrspCb :
    [2021-03-03T15:06:58.019+05:30][INFO]-                   NwkAddr : 0x0000
    [2021-03-03T15:06:58.019+05:30][INFO]-                   NwkState : 0x08
    [2021-03-03T15:06:58.019+05:30][INFO]-                   NwkPanId : 0xC40B
    [2021-03-03T15:06:58.019+05:30][INFO]-                   nwkCoordAddress : 0x0000
    [2021-03-03T15:06:58.019+05:30][INFO]-                   IeeeAddr : 0x00124B001CC0E0F8
    [2021-03-03T15:06:58.019+05:30][INFO]-                   ExtAddress : 0x0000000000000000
    [2021-03-03T15:06:58.019+05:30][INFO]-                   Channel : 0x00
    

    Will please help me to know why this is happening?

    & how do I solve this problem?

  • The device appears to fail the Network Formation stage of BDB commissioning.  Please re-import your ZNP project into CCS v10.2 using the v4.40 SIMPLELINK-CC13X2-262-SDK and erase all flash memory using UNIFLASH or FLASH-PROGRAMMER before re-loading the image.  Then clarify what changes you make to the project, SysConfig or otherwise, and consider using APP_CNF_BDB_SET_CHANNEL to change the primary channel mask.

    Regards,
    Ryan

  • Do you use TICC1352P LaunchPad to test and see this issue?

  • Hello  &  

    I am using the ZNP-Host-Framework Application as a reference for communicating with the CC1352P ZNP device.

    I have Reinstalled the CCS & CC1352/CC2652 SDK with the latest version.

    Import the ZNP example & made the following changes.
    1. Changed Tx Power to 20.
    2. Set Primary Channel List for channels 11 to 18. (all are ticked)
    3. Set Primary Channel List for channel 19 to 26. (all are ticked)
    4. Set Baudrate to 1500000.

    On Linux Application Side, the configurations are as same as the cmdline.c example of the ZNP-Host-Framework Application.

    Now I am getting the following results.

    [2021-03-05T19:44:46.424+05:30][DEBUG]-  clear reset pin : 0x0503
    [2021-03-05T19:44:47.427+05:30][DEBUG]-  set reset pin : 0x0703
    [2021-03-05T19:44:47.719+05:30][DEBUG]-  SOC IN  <-- LEN :06, SOF :FE, CMD0 :41, CMD1 :80, Payload :00:02:00:02:07:01, FCS :C1
    [2021-03-05T19:44:47.721+05:30][DEBUG]-  mtSysResetIndCb :
    [2021-03-05T19:44:47.721+05:30][DEBUG]-                  ZNP Version : 2.
    [2021-03-05T19:44:47.721+05:30][DEBUG]-                  ZNP Version : 7.
    [2021-03-05T19:44:47.721+05:30][DEBUG]-                  ZNP Version : 1
    [2021-03-05T19:45:17.723+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :03:00:00:01:03, FCS :2C
    [2021-03-05T19:45:17.729+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-05T19:45:17.729+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-05T19:45:17.73+05:30][DEBUG]-   SOC OUT --> LEN :01, SOF :FE, CMD0 :41, CMD1 :00, Payload :01, FCS :41
    [2021-03-05T19:45:18.274+05:30][DEBUG]-  SOC IN  <-- LEN :06, SOF :FE, CMD0 :41, CMD1 :80, Payload :00:02:00:02:07:01, FCS :C1
    [2021-03-05T19:45:18.274+05:30][DEBUG]-  mtSysResetIndCb :
    [2021-03-05T19:45:18.274+05:30][DEBUG]-                  ZNP Version : 2.
    [2021-03-05T19:45:18.274+05:30][DEBUG]-                  ZNP Version : 7.
    [2021-03-05T19:45:18.274+05:30][DEBUG]-                  ZNP Version : 1
    [2021-03-05T19:45:18.276+05:30][DEBUG]-  SOC OUT --> LEN :05, SOF :FE, CMD0 :21, CMD1 :09, Payload :87:00:00:01:00, FCS :AB
    [2021-03-05T19:45:18.279+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-05T19:45:18.279+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-05T19:45:18.281+05:30][DEBUG]-  SOC OUT --> LEN :06, SOF :FE, CMD0 :21, CMD1 :09, Payload :83:00:00:02:FF:FF, FCS :AF
    [2021-03-05T19:45:18.283+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-05T19:45:18.283+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-05T19:45:18.286+05:30][DEBUG]-  SOC OUT --> LEN :08, SOF :FE, CMD0 :21, CMD1 :09, Payload :84:00:00:04:00:80:00:00, FCS :20
    [2021-03-05T19:45:18.288+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :61, CMD1 :09, Payload :00, FCS :69
    [2021-03-05T19:45:18.288+05:30][DEBUG]-  mtSysOsalNvWriteSrspCb : Status : 0x00
    [2021-03-05T19:45:18.291+05:30][DEBUG]-  SOC OUT --> LEN :0B, SOF :FE, CMD0 :24, CMD1 :00, Payload :02:04:01:00:01:01:00:01:06:00:00, FCS :2F
    [2021-03-05T19:45:18.291+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :64, CMD1 :00, Payload :00, FCS :65
    [2021-03-05T19:45:18.291+05:30][DEBUG]-  mtAfRegisterSrspCb : Status : 0x00
    [2021-03-05T19:45:23.001+05:30][DEBUG]-  SOC OUT --> LEN :02, SOF :FE, CMD0 :25, CMD1 :40, Payload :00:00, FCS :67
    [2021-03-05T19:45:23.595+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :65, CMD1 :40, Payload :00, FCS :24
    [2021-03-05T19:45:23.595+05:30][DEBUG]-  SOC IN  <-- LEN :03, SOF :FE, CMD0 :4F, CMD1 :80, Payload :01:02:04, FCS :CB
    [2021-03-05T19:45:23.595+05:30][DEBUG]-  mtZdoInitSrspCb : Status : 0x00
    [2021-03-05T19:45:23.595+05:30][INFO]-   startNetwork : RESTORED_NETWORK
    [2021-03-05T19:45:23.846+05:30][DEBUG]-  SOC IN  <-- LEN :01, SOF :FE, CMD0 :45, CMD1 :C0, Payload :08, FCS :8C
    [2021-03-05T19:45:23.846+05:30][DEBUG]-  Network Starting
    [2021-03-05T19:45:23.846+05:30][DEBUG]-  mtZdoStateChangeIndCb: Started as Zigbee Coordinator
    

    Here In the logs, 

    You will see that after the ZDO_INIT request I am getting the notification
    SOC IN <-- LEN :03, SOF :FE, CMD0 :4F, CMD1 :80, Payload :01:02:04, FCS :CB
    01 : BDB_COMMISSIONING_IN_PROGRESS
    02 : BDB_COMMISSIONING_FORMATION
    04 : BDB_COMMISSIONING_MODE_NWK_FORMATION

    After that I getting an other notification
    SOC IN <-- LEN :01, SOF :FE, CMD0 :45, CMD1 :C0, Payload :08, FCS :8C
    08 : DEV_COORD_STARTING

    Will you please help me to know why I am getting the device state as a DEV_COORD_STARTING (0x08) instead of the DEV_ZB_COORD (0x09)?

    How do I read the NV Ram Configuration?

    &

    Please suggest any document for the NV RAM Implementation.

    Regards,

    Shiv Patil.

  • Please identify the specific change which breaks your application.  Here are relevant E2E threads:

    https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/949170 
    https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/466797 

    Please review your config.ini settings and perform a full memory erase or factory reset is performed.  Non-volatile memory exists in flash, not RAM.  You can read it with SYS_OSAL_NV_READ Monitor and Test APIs.  But I think you are on the right track about your channel list being mixed between the ZNP and host which causes start-up confusion.

    Regards,
    Ryan

  • Hello  & ,

    I have discarded all the changes & import the default ZNP Application with the latest version 4.40

    Here is the hex file.
    znp_CC1352P_2_LAUNCHXL_tirtos_ccs.zip

    Now, 

    I am using the zigbeeHAgw application from the Zigbee Linux Gateway 3.0 as a reference.

    Here are the logs files for both applications.

    log_files.rar

    Also,

    I am using the same hardware for both Zigbee Linux Gateway 3.0 & our custom application.

    &

    All the steps for configurations are as same as in the Zigbee Linux Gateway 3.0.

    Note: had erased the flash memory before programming using the Using UniFlash Application.

    Now,

    I found that there are few commands used in the Zigbee Linux Gateway 3.0 not mentioned in the Z-stack API Document.

    1. jamming paramter. (cmd0 : 0x21 cmd1 : 0x15)
    2. Table update  (cmd0 : 0x21 cmd1 : 0x07)

    Will you please help me to know,

    1. Why these commands are not mentioned in the documents?

    2. If the Configuration in both applications is the same (except these 2 commands) why I am not able to get the network start indication?

    Regards,

    Shiv Patil.

  • Hi Shiv,

    The jammer feature is no longer supported but not necessary for your network.  The second command you've identified corresponds to SYS_OSAL_NV_ITEM_INIT and is important for network initialization.  If you are able to successfully enable the zigbeeHAgw application from the ZIGBEE-SENSOR-TO-CLOUD solution then I recommend you reference the commands and process is uses for your custom application.

    Regards,
    Ryan