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.

LAUNCHXL-CC26X2R1: I am getting SRSP Cond Wait timed out in the ./zigbeeHAgw x86

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: UNIFLASH

I am running ./zigbeeHAgw x86 and the ./start_application as well.I am sending commands to devices to on and off and Lock and unlock etc.Before geting this SRSP Cond Wait timed out! when i send the commands it works fine.But suddenly it is getting stopped while sending commnad i am getting this Error:

ERROR  : SRSP Cond Wait timed out!
ERROR  : apicSendSynchData() failed getting respon.

I don't know why it is getting ,can you please explian at what cases this error will come and why it is getting?

Thankyou.

  • Hi,

    Please refer to this related post: https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/p/788119/3000657#pi320995=1

    How fast are you sending commands? I would recommend not sending too frequently.

    Regards,
    Toby

  • Hai Toby,
    I am getting the SRSP Timeout at starting only without sending any commands.


    And I had gone to the above link which you had referred I tried by changing the Baudrate in the zigbeeHAgw and checked by sending the commands then also i can reproduce the SRSP Timeout.


    Exactly where I need to do change the Baudrate in the zigbeeHAgw? and Is it needed to change the Baudrate in the Znp firmware as well?
    Is it the SRSP Timeout is resolved by changing the Baudrate?


    Regards,
    Murali

  • Try modifying NPI_UART_BR to change baudrate on ZNP.

  • Hai Toby,


    I had modified the NPI_UART_BR from 115200 to the 921600.In the ZNP firmware the following files baudrate is changed.


    1.Application/npi/npi_tl_uart.h:70:#define NPI_UART_BR 92160
    2.Application/ui/zcl_sampleapps_ui.c:2194: uartParams.baudRate = 921600;
    3.CC26X2R1_LAUNCHXL.c:503: .baudRate = 921600
    4.Stack/Config/znp_cnf.opts:61:-DZNP_UART_BAUD=HAL_UART_BR_921600


     And In the Gateway server i had Modified at ---NPI_Gateway.cfg. file i.e as shown bellow.
    ([UART]
    speed=921600; // 115200;
    flowcontrol=0 ; 1=enabled 0=disable

    Then I had compiled ZNP firmware by using the CCS studio and generated the hex file And that hex file is loaded on the cc26x2r1 Launchpad by using the UniFlash.


    Then I tried to run the ./zigbeeHAgw but I am getting the SRSP TIMEOUT at the starting only. please check the bellow attached log file.


    And my question is does it solves the SRSP Timeout issue by changing the Baudrate?

    Executing reset from external scripts
    ===================================================
    starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg debugAll -v 0x0000010E ' on Tue Dec 3 16:05:19 IST 2019
    [16:05:19.697,307] [NPISRVR/MAIN] UNMSKBL: 
    [16:05:19.719,803] [NPISRVR/MAIN] UNMSKBL:  ************************************************
    [16:05:19.719,815] [NPISRVR/MAIN] UNMSKBL:  *  NPI Server v1.0.2d                          *
    [16:05:19.719,824] [NPISRVR/MAIN] UNMSKBL:  ************************************************
    [16:05:19.719,848] [NPISRVR/MAIN] UNMSKBL: 
    gpioCfg 				0x56584034
    gpioCfg[0] 				0x57477460
    gpioCfg[0].gpio 			0x57477470
    gpioCfg[0].levelshifter 		0x574775f1
    gpioCfg[1] 				0x57477464
    gpioCfg[1].gpio 			0x57477780
    gpioCfg[1].levelshifter 		0x57477901
    gpioCfg[2] 				0x57477468
    gpioCfg[2].gpio 			0x57477a90
    gpioCfg[2].levelshifter 		0x57477c11
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	TRACE
    - 	Key: 		TRACE_LAYER_NAME_CHAR_COUNT
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	TRACE
    - 	Key: 		TRACE_ARROW_CHAR_COUNT
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	DEVICE
    - 	Key: 		deviceKey
    Found section [PORT]es
    Found section [DEVICE]
    Found wanted section!
    Line to process deviceKey=0 ; UART (strlen=18)
    Found key 	'deviceKey' in 	'deviceKey=0 ; UART'
    Found value '0 '
    Found value2 '0 '
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	DEVICE
    - 	Key: 		devPath
    Found section [PORT]es
    Found section [DEVICE]
    Found wanted section!
    Line to process deviceKey=0 ; UART (strlen=18)
    Line to process #deviceKey=1 ; SPI (strlen=18)
    Line to process #deviceKey=2 ; I2C (strlen=18)
    Line to process  (strlen=0)
    Line to process #devPath="/dev/ttyUSB2"; (strlen=24)
    Line to process #devPath="/dev/ttyO4" ; UART/CDC (strlen=32)
    Line to process #devPath="/dev/ttyO4" ; SPI (strlen=27)
    Line to process devPath="/dev/ttyACM0" (strlen=22)
    Found key 	'devPath' in 	'devPath="/dev/ttyACM0"'
    Found value '/dev/ttyACM0'
    Found value2 '/dev/ttyACM0'
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	LOG
    - 	Key: 		log
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    Found wanted section!
    Line to process log="./NpiLnxLog.txt" ; file to log all event/error (strlen=51)
    Found key 	'log' in 	'log="./NpiLnxLog.txt" ; file to log all event/error'
    Found value './NpiLnxLog.txt'
    Found value2 './NpiLnxLog.txt'
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	UART
    - 	Key: 		speed
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found wanted section!
    Line to process speed=921600; //57600 115200; speed (strlen=35)
    Found key 	'speed' in 	'speed=921600; //57600 115200; speed'
    Found value '921600'
    Found value2 '921600'
    [UART] Opening device111 921600
    [UART] Opening device 0
    [UART] Opening device /dev/ttyACM0
    open device /dev/ttyACM0 failed
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	PORT
    - 	Key: 		port
    Found section [PORT]es
    Found wanted section!
    Line to process port=2533 (strlen=9)
    Found key 	'port' in 	'port=2533'
    Found value '2533'
    Found value2 '2533'
    ... freeing memory (ret -1)
    [16:05:19.731,688] [NPISRVR/MAIN] ERROR  : Could not initialize SoC... exiting
    Startup phase 1 failed
    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 debugAll -v 0x0000010E ' on Tue Dec 3 16:05:24 IST 2019
    [16:05:24.812,595] [NPISRVR/MAIN] UNMSKBL: 
    [16:05:24.812,743] [NPISRVR/MAIN] UNMSKBL:  ************************************************
    [16:05:24.812,758] [NPISRVR/MAIN] UNMSKBL:  *  NPI Server v1.0.2d                          *
    [16:05:24.812,769] [NPISRVR/MAIN] UNMSKBL:  ************************************************
    [16:05:24.812,779] [NPISRVR/MAIN] UNMSKBL: 
    gpioCfg 				0x5663e034
    gpioCfg[0] 				0x569e7460
    gpioCfg[0].gpio 			0x569e7470
    gpioCfg[0].levelshifter 		0x569e75f1
    gpioCfg[1] 				0x569e7464
    gpioCfg[1].gpio 			0x569e7780
    gpioCfg[1].levelshifter 		0x569e7901
    gpioCfg[2] 				0x569e7468
    gpioCfg[2].gpio 			0x569e7a90
    gpioCfg[2].levelshifter 		0x569e7c11
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	TRACE
    - 	Key: 		TRACE_LAYER_NAME_CHAR_COUNT
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	TRACE
    - 	Key: 		TRACE_ARROW_CHAR_COUNT
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	DEVICE
    - 	Key: 		deviceKey
    Found section [PORT]es
    Found section [DEVICE]
    Found wanted section!
    Line to process deviceKey=0 ; UART (strlen=18)
    Found key 	'deviceKey' in 	'deviceKey=0 ; UART'
    Found value '0 '
    Found value2 '0 '
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	DEVICE
    - 	Key: 		devPath
    Found section [PORT]es
    Found section [DEVICE]
    Found wanted section!
    Line to process deviceKey=0 ; UART (strlen=18)
    Line to process #deviceKey=1 ; SPI (strlen=18)
    Line to process #deviceKey=2 ; I2C (strlen=18)
    Line to process  (strlen=0)
    Line to process #devPath="/dev/ttyUSB2"; (strlen=24)
    Line to process #devPath="/dev/ttyO4" ; UART/CDC (strlen=32)
    Line to process #devPath="/dev/ttyO4" ; SPI (strlen=27)
    Line to process devPath="/dev/ttyACM0" (strlen=22)
    Found key 	'devPath' in 	'devPath="/dev/ttyACM0"'
    Found value '/dev/ttyACM0'
    Found value2 '/dev/ttyACM0'
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	LOG
    - 	Key: 		log
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found section [SPI]tes
    Found section [LOG]tes
    Found wanted section!
    Line to process log="./NpiLnxLog.txt" ; file to log all event/error (strlen=51)
    Found key 	'log' in 	'log="./NpiLnxLog.txt" ; file to log all event/error'
    Found value './NpiLnxLog.txt'
    Found value2 './NpiLnxLog.txt'
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	UART
    - 	Key: 		speed
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found wanted section!
    Line to process speed=921600; //57600 115200; speed (strlen=35)
    Found key 	'speed' in 	'speed=921600; //57600 115200; speed'
    Found value '921600'
    Found value2 '921600'
    [UART] Opening device111 921600
    [UART] Opening device 0
    [UART] Opening device /dev/ttyACM0
    [UART] Install IO signal handler 
    [UART] Baud rate set to 921600 (0x001002)
    [UART] c_cflag set to 0x0018B2
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	UART
    - 	Key: 		flowcontrol
    [UART] Wait for mutex in rx entry:
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found wanted section!
    Line to process speed=921600; //57600 115200; speed (strlen=35)
    Line to process flowcontrol=0 ; 1=enabled 0=disable (strlen=35)
    Found key 	'flowcontrol' in 	'flowcontrol=0 ; 1=enabled 0=disable'
    Found value '0 '
    Found value2 '0 '
    ------------------------------------------------------
    Serial Config Parsing:
    - 	Section: 	PORT
    - 	Key: 		port
    Found section [PORT]es
    Found wanted section!
    Startup phase 1 completed successfully, server started (NPI_PID=20192) on Tue Dec 3 16:05:24 IST 2019
    ===================================================
    starting ZLSZNP, cmd ' ./ZLSZNP_x86 127.0.0.1:2533 config.ini -v 0x0000460E ' on Tue Dec 3 16:05:25 IST 2019
    [16:05:25.869,045] [Z_STACK/MAIN] UNMSKBL: 
    [16:05:25.869,097] [Z_STACK/MAIN] UNMSKBL:  ************************************************
    [16:05:25.869,104] [Z_STACK/MAIN] UNMSKBL:  *  ZStack Server for ZNP v1.0.2d               *
    [16:05:25.869,108] [Z_STACK/MAIN] UNMSKBL:  ************************************************
    [16:05:25.869,112] [Z_STACK/MAIN] UNMSKBL: 
    [16:05:25.869,126] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [AREQ] 08:5F:00:02:5A:5F:53:54:41:43:4B
    [16:05:25.869,172] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 02:25:3E:FF:FF
    Line to process port=2533 (strlen=9)
    Found key 	'port' in 	'port=2533'
    Found value '2533'
    Found value2 '2533'
    ... freeing memory (ret 0)
    Receive message...
    [16:05:25.869,181] [NPISRVR/MAIN] PKT_HEX: New incoming connection from client Z_STACK (connection # 5)
    [<-- 000:00:00.869197 (+1575369325.869197)] 08 bytes, subSys 0x5F, cmdId 0x00, pData:    0x02 0x5A 0x5F 0x53 0x54 0x41 0x43 0x4B
    !Done
    Receive message...
    [<-- 000:00:00.869208 (+0.    11)] 02 bytes, subSys 0x25, cmdId 0x3E, pData:    0xFF 0xFF
    NPI SREQ:  (len 5) 0x02 0x25 0x3E 0xFF 0xFF
    --In the NPI SREQ: ---1
    [<-- 000:00:00.869213 (+0.     5)] [UART] write 7 bytes to 4
    [16:05:25.869,222] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 02:25:3E:FF:FF
    [16:05:27.869,285] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:27.869,343] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:27.869,378] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:09:00
    [16:05:29.869,543] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:29.869,592] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:29.869,623] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:06:00
    [<-- 000:00:00.869238 (+0.    25)] [UART] result: 7
    [<-- 000:00:00.869240 (+0.     2)] [UART] (synch data) Conditional wait 6 s
    [UART] Send synch data timed out
    [ERR] SRSP: npi_ipc_errno 0x02040100
    !Done
    Synchronous Request Timeout...
    Receive message...
    [<-- 000:00:06.869486 (+6.   246)] 01 bytes, subSys 0x2F, cmdId 0x09, pData:    0x00
    NPI SREQ:  (len 4) 0x01 0x2F 0x09 0x00
    --In the NPI SREQ: ---1
    [<-- 000:00:06.869503 (+0.    17)] [UART] write 6 bytes to 4
    [16:05:31.869,524] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 01:2F:09:00
    [16:05:31.869,798] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:31.869,851] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:31.869,886] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:02:08
    [16:05:33.870,123] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:33.870,166] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:33.870,194] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 05:2F:08:00:00:00:00:00
    [16:05:35.870,385] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:35.870,442] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:35.870,480] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 05:2F:08:01:00:00:00:02
    [<-- 000:00:06.869575 (+0.    72)] [UART] result: 6
    [<-- 000:00:06.869581 (+0.     6)] [UART] (synch data) Conditional wait 6 s
    [UART] Send synch data timed out
    [ERR] SRSP: npi_ipc_errno 0x02040100
    !Done
    Synchronous Request Timeout...
    Receive message...
    [<-- 000:00:12.869789 (+6.   208)] 01 bytes, subSys 0x2F, cmdId 0x06, pData:    0x00
    NPI SREQ:  (len 4) 0x01 0x2F 0x06 0x00
    --In the NPI SREQ: ---1
    [<-- 000:00:12.869802 (+0.    13)] [UART] write 6 bytes to 4
    [16:05:37.869,817] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 01:2F:06:00
    [16:05:37.870,671] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:37.870,706] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:37.870,735] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 06:21:09:83:00:00:02:FF:FF
    [16:05:39.870,881] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:39.870,924] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:39.870,955] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 05:21:09:87:00:00:01:00
    [16:05:41.871,132] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:41.871,186] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:41.871,225] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 07:21:15:96:00:C4:64:00:00:00
    [<-- 000:00:12.869854 (+0.    52)] [UART] result: 6
    [<-- 000:00:12.869857 (+0.     3)] [UART] (synch data) Conditional wait 6 s
    [UART] Send synch data timed out
    [ERR] SRSP: npi_ipc_errno 0x02040100
    !Done
    Synchronous Request Timeout...
    Receive message...
    [<-- 000:00:18.870126 (+6.   269)] 01 bytes, subSys 0x2F, cmdId 0x02, pData:    0x08
    NPI SREQ:  (len 4) 0x01 0x2F 0x02 0x08
    --In the NPI SREQ: ---1
    [<-- 000:00:18.870143 (+0.    17)] [UART] write 6 bytes to 4
    [16:05:43.870,164] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 01:2F:02:08
    [16:05:43.871,411] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:43.871,458] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:43.872,126] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:05:04
    Startup phase 2 completed successfully, server started (ZLSZNP_PID=20199) on Tue Dec 3 16:05:43 IST 2019
    ===================================================
    starting NETWORK_MGR, cmd ' ./NWKMGR_SRVR_x86 127.0.0.1:2536 -v 0x0000460E ' on Tue Dec 3 16:05:44 IST 2019
    [16:05:44.913,754] [Z_STACK/LSTN] CONNECT: Connected to new client, connection # 5
    [16:05:44.913,758] [NWK_MGR/MAIN] UNMSKBL: 
    [16:05:44.913,807] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
    [16:05:44.913,811] [NWK_MGR/MAIN] UNMSKBL:  *  Network Manager Server v1.0.2d              *
    [16:05:44.913,814] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
    [16:05:44.913,816] [NWK_MGR/MAIN] UNMSKBL: 
    [16:05:44.913,828] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] [AREQ] 08:00:5F:00:03:4E:57:4B:5F:4D:47:52
    [16:05:44.913,862] [Z_STACK/LSTN] CONNECT: Client at connection # 5 identified itself as NWK_MGR
    [16:05:44.913,904] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] devZDOCBReq
    [16:05:44.913,984] [Z_STACK/LSTN] PKTTYPE: [                  Z_STACK>>NWK_MGR                  ] zstackDefaultRsp
    [16:05:44.914,092] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] sysNwkInfoReadReq
    [16:05:45.872,329] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:45.872,386] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:45.872,444] [Z_STACK/LSTN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 00:25:50
    [16:05:46.914,196] [NWK_MGR/MAIN] ERROR  : SRSP Cond Wait timed out!
    [16:05:46.914,224] [NWK_MGR/MAIN] ERROR  : apicSendSynchData() failed getting response
    [16:05:46.931,900] [NWK_MGR/MAIN] ERROR  : Reading Local Network Information Failed
    [16:05:46.931,934] [NWK_MGR/MAIN] UNMSKBL: Initialization failed. Quitting now.
    
    Startup phase 3 failed
    [16:05:47.872,619] [Z_STACK/LSTN] ERROR  : SRSP Cond Wait timed out!
    [16:05:47.872,650] [Z_STACK/LSTN] ERROR  : apicSendSynchData() failed getting response
    [16:05:47.872,668] [Z_STACK/LSTN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 03:21:08:01:00:00
    waiting for Zstack linux to exit
    
    

  • Did you try hitting the reset on the launchpad after the zigbeeHAgw?

    How often are you sending commands? Does this happen if you send commands less often?

  • Hi Toby,

    I had tried by doing reset on the launchpad after running the zigbeeHAgw.BUt then also i am getting SRSP Timeout.

    And I am unable to send commands.The SRSP Timeout issue is getting at starting level only.Now the baudrate is set to 921600.Getting Startup phase 3 failed and SRSP getting as shown bellow.

    ===================================================
    starting NETWORK_MGR, cmd ' ./NWKMGR_SRVR_x86 127.0.0.1:2536 -v 0x0000460E ' on Mon Dec 9 10:24:18 IST 2019
    [10:24:18.456,753] [Z_STACK/LSTN] CONNECT: Connected to new client, connection # 5
    [10:24:18.456,795] [NWK_MGR/MAIN] UNMSKBL:
    [10:24:18.457,068] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
    [10:24:18.457,084] [NWK_MGR/MAIN] UNMSKBL:  *  Network Manager Server v1.0.2d              *
    [10:24:18.457,095] [NWK_MGR/MAIN] UNMSKBL:  ************************************************
    [10:24:18.457,105] [NWK_MGR/MAIN] UNMSKBL:
    [10:24:18.457,155] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] [AREQ] 08:00:5F:00:03:4E:57:4B:5F:4D:47:52
    [10:24:18.457,240] [Z_STACK/LSTN] CONNECT: Client at connection # 5 identified itself as NWK_MGR
    [10:24:18.457,250] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] devZDOCBReq
    In sendDefaultRsp--zstackpb.c
    The sendDefaultRsp::connection:5,cmdId is :0x14,status:0
    ----In the APIS_SendData--fun---in api_server
    --In apisSendData--api_server.c
    [10:24:18.457,392] [Z_STACK/LSTN] PKTTYPE: [                  Z_STACK>>NWK_MGR                  ] zstackDefaultRsp
    [10:24:18.457,618] [NWK_MGR/MAIN] PKTTYPE: [                  Z_STACK<<NWK_MGR                  ] sysNwkInfoReadReq
    [10:24:19.448,169] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [10:24:19.448,276] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [10:24:19.448,321] [Z_STACK/LSTN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 00:25:50
    [10:24:20.457,830] [NWK_MGR/MAIN] ERROR  : SRSP Cond Wait timed out!
    [10:24:20.457,879] [NWK_MGR/MAIN] ERROR  : apicSendSynchData() failed getting response
    [10:24:20.458,333] [NWK_MGR/MAIN] ERROR  : Reading Local Network Information Failed
    [10:24:20.458,357] [NWK_MGR/MAIN] UNMSKBL: Initialization failed. Quitting now.

    Startup phase 3 failed
    [10:24:21.448,546] [Z_STACK/LSTN] ERROR  : SRSP Cond Wait timed out!
    [10:24:21.448,606] [Z_STACK/LSTN] ERROR  : apicSendSynchData() failed getting response
    [10:24:21.448,640] [Z_STACK/LSTN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 03:21:08:01:00:00
    waiting for Zstack linux to exit
    waiting for NPI to exit
    making sure there are no lingering servers...

    what shall i do ?

  • Hi Muralikrishna,

    Press the HW reset button on the top of the Launchpad, next to the USB cable.  https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/850677

    Regards,
    Ryan

  • Hi Ryan

    After pressing the HW reset button the led is getting turned off.And then after some time i had pressed again then it led is ON on the board.

    Still after doing the reset i am getting SRSP at the starting level itself.what shall i do.In the znp firmware and the NPI_Gateway.cfg speed is changed as a 921600.

    Please find the bellow logs

    Found value2 '921600'
    [UART] Opening device111 921600
    [UART] Opening device 0
    [UART] Opening device /dev/ttyACM0
    [UART] Install IO signal handler
    [UART] Baud rate set to 921600 (0x001002)
    [UART] c_cflag set to 0x0018B2
    ------------------------------------------------------
    Serial Config Parsing:
    -     Section:     UART
    -     Key:         flowcontrol
    [UART] Wait for mutex in rx entry:
    Found section [PORT]es
    Found section [DEVICE]
    Found section [GPIO_SRDY.GPIO]
    Found section [GPIO_SRDY.LEVEL_SHIFTER]
    Found section [GPIO_MRDY.GPIO]
    Found section [GPIO_MRDY.LEVEL_SHIFTER]
    Found section [GPIO_RESET.GPIO]
    Found section [GPIO_RESET.LEVEL_SHIFTER]
    Found section [UART]es
    Found wanted section!
    Line to process speed=921600; //57600 115200; speed (strlen=35)
    Line to process flowcontrol=0 ; 1=enabled 0=disable (strlen=35)
    Found key     'flowcontrol' in     'flowcontrol=0 ; 1=enabled 0=disable'
    Found value '0 '
    Found value2 '0 '
    ------------------------------------------------------
    Serial Config Parsing:
    -     Section:     PORT
    -     Key:         port
    Found section [PORT]es
    Found wanted section!
    Startup phase 1 completed successfully, server started (NPI_PID=23048) on Mon Dec 9 19:41:55 IST 2019
    ===================================================
    starting ZLSZNP, cmd ' ./ZLSZNP_x86 127.0.0.1:2533 config.ini -v 0x0000460E ' on Mon Dec 9 19:41:56 IST 2019
    [19:41:56.557,179] [Z_STACK/MAIN] UNMSKBL:
    [19:41:56.557,360] [Z_STACK/MAIN] UNMSKBL:  ************************************************
    [19:41:56.557,377] [Z_STACK/MAIN] UNMSKBL:  *  ZStack Server for ZNP v1.0.2d               *
    [19:41:56.557,388] [Z_STACK/MAIN] UNMSKBL:  ************************************************
    [19:41:56.557,399] [Z_STACK/MAIN] UNMSKBL:
    [19:41:56.557,433] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [AREQ] 08:5F:00:02:5A:5F:53:54:41:43:4B
    Line to process port=2533 (strlen=9)
    Found key     'port' in     'port=2533'
    Found value '2533'
    Found value2 '2533'
    ... freeing memory (ret 0)
    Receive message...
    [19:41:56.557,555] [NPISRVR/MAIN] PKT_HEX: New incoming connection from client Z_STACK (connection # 5)
    [19:41:56.557,664] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 02:25:3E:FF:FF
    [<-- 000:00:00.557598 (+1575900716.557598)] 08 bytes, subSys 0x5F, cmdId 0x00, pData:    0x02 0x5A 0x5F 0x53 0x54 0x41 0x43 0x4B
    !Done
    Receive message...
    [<-- 000:00:00.557777 (+0.   179)] 02 bytes, subSys 0x25, cmdId 0x3E, pData:    0xFF 0xFF
    NPI SREQ:  (len 5) 0x02 0x25 0x3E 0xFF 0xFF
    --In the NPI SREQ: ---1
    ---In the else if not send SREQ command to server
    ---In NPI_UART_SendSynchData---npi_lnx_uart.c
    ---In npi_write--at npi_lnx_uart.c
    [<-- 000:00:00.557799 (+0.    22)] [UART] write 7 bytes to 4
    [19:41:56.557,819] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 02:25:3E:FF:FF
    [19:41:58.557,813] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [19:41:58.557,867] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [19:41:58.557,901] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:09:00
    [19:42:00.558,099] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [19:42:00.558,155] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [19:42:00.558,189] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:06:00
    [<-- 000:00:00.557867 (+0.    68)] [UART] result: 7
    ---in ret== NPI_LNX_SUCCESS---npi_lnx_uart.c
    [<-- 000:00:00.557873 (+0.     6)] [UART] (synch data) Conditional wait 6 s
    [UART] Send synch data timed out
    ----Capture incoherent SRSP, check type and subsystem----
    [ERR] SRSP: npi_ipc_errno 0x02040100
    !Done
    Synchronous Request Timeout...
    Receive message...
    [<-- 000:00:06.558137 (+6.   264)] 01 bytes, subSys 0x2F, cmdId 0x09, pData:    0x00
    NPI SREQ:  (len 4) 0x01 0x2F 0x09 0x00
    --In the NPI SREQ: ---1
    ---In the else if not send SREQ command to server
    ---In NPI_UART_SendSynchData---npi_lnx_uart.c
    ---In npi_write--at npi_lnx_uart.c
    [<-- 000:00:06.558155 (+0.    18)] [UART] write 6 bytes to 4
    [19:42:02.558,174] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR                                    ] [send] 01:2F:09:00
    [19:42:02.558,361] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [19:42:02.558,409] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [19:42:02.558,441] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 01:2F:02:08
    [19:42:04.558,648] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [19:42:04.558,706] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [19:42:04.558,742] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 05:2F:08:00:00:00:00:00
    [19:42:06.558,953] [Z_STACK/MAIN] ERROR  : SRSP Cond Wait timed out!
    [19:42:06.559,008] [Z_STACK/MAIN] ERROR  : apicSendSynchData() failed getting response
    [19:42:06.559,045] [Z_STACK/MAIN] PKTTYPE: [         NPISRVR<<Z_STACK                           ] [SREQ] 05:2F:08:01:00:00:00:02

    Regards

    Murali.

  • Hi

    To the above issue i didn't get any reply.can any one help.

  • Did you follow the other modifications for building the ZNP (to use with the gateway)?

    They are located in <gateway>/Firmware/README.html

  • Hi

    Yeah, i ihad follwed all the steps to modifications for building the ZNP.

  • Which SDK are you using?

  • HI

    We are using simplelink_cc13x2_26x2_sdk_3_30_00_03.This is for the ZNP firmware.

    And about which SDK are you asking ? Is it Znp or LinuxGateway.

    Regards

    Murali

  • I was asking for the ZNP (you've answered with 3.30 SDK).

    In a previous post, you mentioned that you set the ZNP baudrate as follows:

    1.Application/npi/npi_tl_uart.h:70:#define NPI_UART_BR 92160
    2.Application/ui/zcl_sampleapps_ui.c:2194: uartParams.baudRate = 921600;
    3.CC26X2R1_LAUNCHXL.c:503: .baudRate = 921600
    4.Stack/Config/znp_cnf.opts:61:-DZNP_UART_BAUD=HAL_UART_BR_921600


    Please try changing:

    1.Application/npi/npi_tl_uart.h:70:#define NPI_UART_BR 921600