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.

LP-CC2652RSIP: Z-Stack Linux Gateway (ZIGBEE-LINUX-SENSOR-TO-CLOUD)

Part Number: LP-CC2652RSIP
Other Parts Discussed in Thread: UNIFLASH, , CC2652RSIP, LAUNCHXL-CC26X2R1, CODECOMPOSER, SIMPLELINK-CC13XX-CC26XX-SDK

Hi, colleagues!

I faced the issue during ZIGBEE-LINUX-SENSOR-TO-CLOUD evaluating. 

I followed all the notes here

https://software-dl.ti.com/simplelink/esd/zigbee_3_0_Linux/1.0.1/exports/Documents/Z-Stack%20Linux%20Gateway%20-%20Quick%20Start%20Guide.html

And managed to start the ./zigbeeHAgw.

Nonetheless, Zstack Server failed. Please, kindly check logs in attachement. They are repeatable, ofcurse, that's why I placed only first attempt. During continious restarts nothing changed.

LinuxGatewayFailedToStart.txt
Platform type selected automatically as x86.
To override this selection, please stop this script, and then run it again,
specifying the desired platform type at the command line:
  ./zigbeeHAgw [help | bbb | x86 ]

running ./zigbeeHAgw on an x86
done processing arguments, board type x86, target x86
NPI                 is 'NPI_lnx_x86_server'
Zstack linux server is 'ZLSZNP_x86'
gateway server      is 'GATEWAY_SRVR_x86'
network manager     is 'NWKMGR_SRVR_x86'
OTA server     	  is 'OTA_SRVR_x86'
Starting the ZigBee gateway subsystem
making sure there are no lingering servers...
there are 0 NPI servers
there are 0 ZLS servers
there are 0 GATEWAY servers
there are 0 NWKMGR servers
there are 0 OTA servers
(total 0)
done
Executing reset from external scripts
===================================================
starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg ' on Чт ноя 25 11:17:29 MSK 2021
[11:17:29.685,633] [NPISRVR/MAIN] UNMSKBL: 
[11:17:29.685,686] [NPISRVR/MAIN] UNMSKBL:  ************************************************
[11:17:29.685,690] [NPISRVR/MAIN] UNMSKBL:  *  NPI Server v1.0.2d                          *
[11:17:29.685,693] [NPISRVR/MAIN] UNMSKBL:  ************************************************
[11:17:29.685,696] [NPISRVR/MAIN] UNMSKBL: 
Startup phase 1 completed successfully, server started (NPI_PID=14332) on Чт ноя 25 11:17:29 MSK 2021
===================================================
starting ZLSZNP, cmd ' ./ZLSZNP_x86 127.0.0.1:2533 config.ini ' on Чт ноя 25 11:17:29 MSK 2021
[11:17:29.690,234] [Z_STACK/MAIN] UNMSKBL: 
[11:17:29.690,292] [Z_STACK/MAIN] UNMSKBL:  ************************************************
[11:17:29.690,299] [Z_STACK/MAIN] UNMSKBL:  *  ZStack Server for ZNP v1.0.2d               *
[11:17:29.690,306] [Z_STACK/MAIN] UNMSKBL:  ************************************************
[11:17:29.690,311] [Z_STACK/MAIN] UNMSKBL: 
[11:17:31.690,440] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:31.690,475] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:33.690,587] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:33.690,618] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:35.690,735] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:35.690,758] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:37.690,867] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:37.690,893] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:39.691,001] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:39.691,025] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:41.691,125] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:41.691,154] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:43.691,281] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:43.691,319] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:45.691,649] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:45.691,688] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:47.691,827] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:47.691,852] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
Startup phase 2 completed successfully, server started (ZLSZNP_PID=14338) on Чт ноя 25 11:17:47 MSK 2021
===================================================
starting NETWORK_MGR, cmd ' ./NWKMGR_SRVR_x86 127.0.0.1:2536 ' on Чт ноя 25 11:17:47 MSK 2021
[11:17:47.696,742] [NWK_MGR/MAIN] UNMSKBL: 
[11:17:47.696,812] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
[11:17:47.696,821] [NWK_MGR/MAIN] UNMSKBL:  *  Network Manager Server v1.0.2d              *
[11:17:47.696,827] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
[11:17:47.696,833] [NWK_MGR/MAIN] UNMSKBL: 
[11:17:49.692,362] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:49.692,386] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:49.697,723] [NWK_MGR/MAIN] ERROR  : SRSP Cond Wait timed out!
[11:17:49.697,739] [NWK_MGR/MAIN] ERROR  : apicSendSynchData() failed getting response
[11:17:49.697,944] [NWK_MGR/MAIN] ERROR  : Reading Local Network Information Failed
[11:17:49.697,953] [NWK_MGR/MAIN] UNMSKBL: Initialization failed. Quitting now.

Startup phase 3 failed
waiting for Zstack linux to exit
waiting for NPI to exit
making sure there are no lingering servers...
there are 0 NPI servers
there are 0 ZLS servers
there are 0 GATEWAY servers
there are 0 NWKMGR servers
there are 0 OTA servers
(total 0)
done
Executing reset from external scripts
===================================================
starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg ' on Чт ноя 25 11:17:53 MSK 2021
[11:17:53.843,451] [NPISRVR/MAIN] UNMSKBL: 

Can you kindly help me to run it?

Additional info:

=====

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

================

Burning Tool:

Uniflash Cloud.

=================

ZNP Binary

Taken from source as from the QuickStartGuide

(Zigbee_3_0_Linux_Gateway_1_0_1/Firmware/znp/CC2652R1LP_GW_ZNP_UART.hex)

===================

Platfrom for servers to be built:

x86 (as from the QuickStartGuide)

P.S. Long time ago I so such an issue with elder servers, related to the HA1.2 ZStack. The key was the timings between server's startup...

May be it is issue with TWO ttys I have during session?

[ 7411.878046] usb 1-3: new high-speed USB device number 14 using xhci_hcd
[ 7412.026458] usb 1-3: New USB device found, idVendor=0451, idProduct=bef3
[ 7412.026459] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7412.026460] usb 1-3: Product: XDS110 (03.00.00.18) Embed with CMSIS-DAP
[ 7412.026461] usb 1-3: Manufacturer: Texas Instruments
[ 7412.026462] usb 1-3: SerialNumber: LSPR0023
[ 7412.027281] cdc_acm 1-3:1.0: ttyACM0: USB ACM device
[ 7412.127922] cdc_acm 1-3:1.3: ttyACM1: USB ACM device
[ 7412.229092] hid-generic 0003:0451:BEF3.000A: hiddev2,hidraw7: USB HID v1.11 Device [Texas Instruments XDS110 (03.00.00.18) Embed with CMSIS-DAP] on usb-0000:00:14.0-3/input5

Since I am suing LP-CC2652RSIP, may it be the servers are confused which of one to use?

You can see. that NPI has been started...

starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg ' on Чт ноя 25 11:28:21 MSK 2021
[11:28:21.990,472] [NPISRVR/MAIN] UNMSKBL:
[11:28:21.990,529] [NPISRVR/MAIN] UNMSKBL: ************************************************
[11:28:21.990,534] [NPISRVR/MAIN] UNMSKBL: * NPI Server v1.0.2d *
[11:28:21.990,537] [NPISRVR/MAIN] UNMSKBL: ************************************************
[11:28:21.990,539] [NPISRVR/MAIN] UNMSKBL:
Startup phase 1 completed successfully, server started (NPI_PID=16509) on Чт ноя 25 11:28:21 MSK 2021

But as far as I know,  It's only open the port at start-up....

Maxim Uvarenkov