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.

CC2630: Timeout of znp-host-framework in linux

Part Number: CC2630
Other Parts Discussed in Thread: EK-TM4C1294XL, CC1352R, SIMPLELINK-CC13X2-26X2-SDK, CC2652R

Hi Team,

A customer is working on the znp-host-framework application using the CC2630 znp device interfaced with the UART protocol.

Background information: iMX6 is running znp-host-framework, CC2630 is running ZNP firmware of zstack_home_1_02_02a_44539. He gets timeout error when executing cmdline.Please check the log information:

# ./cmdLine.bin /dev/ttymxc1
./cmdLine.bin -- Mar 17 2020 11:22:37
rpcWaitMqClientMsg: timeout=10
rpcWaitMqClientMsg: waiting on queue 10:1583395833:10000000
rpcWaitMqClientMsg: Timed out [-1] - Connection timed out
flushed 0 message from msg queue
creating RPC thread
creating example thread
rpcWaitMqClientMsg: timeout=50
rpcWaitMqClientMsg: waiting on queue 50:1583395833:50000000
rpcWaitMqClientMsg: Timed out [-1] - Connection timed out
Do you wish to start/join a new network? (y/n)
y
rpcSendFrame: Blocking on RPC sem
rpcSendFrame: Sending RPC
rpcTransportWrite : len = 10
writing 8 bytes (offset = 0, remain = 10)
writing 2 bytes (offset = 8, remain = 2)
SOC OUT --> 10 Bytes: SOF:FE, Len:05, CMD0:21, CMD1:09, Payload:03:00:00:01:03, FCS:2C
rpcSendFrame: waiting for SRSP [01]
rpcSendFrame: SRSP Error - CMD0: 0x21 CMD1: 0x09

NV Write Startup Option cmd sent[1]...
network start failed
Network Error

rpcSendFrame: Blocking on RPC sem
rpcSendFrame: Sending RPC
rpcTransportWrite : len = 5
writing 5 bytes (offset = 0, remain = 5)
SOC OUT --> 5 Bytes: SOF:FE, Len:00, CMD0:21, CMD1:04, Payload: FCS:25
rpcSendFrame: waiting for SRSP [01]
rpcSendFrame: SRSP Error - CMD0: 0x21 CMD1: 0x04
rpcSendFrame: Blocking on RPC sem
rpcSendFrame: Sending RPC
rpcTransportWrite : len = 10
writing 8 bytes (offset = 0, remain = 10)
writing 2 bytes (offset = 8, remain = 2)
SOC OUT --> 10 Bytes: SOF:FE, Len:05, CMD0:21, CMD1:09, Payload:8F:00:00:01:01, FCS:A2
rpcSendFrame: waiting for SRSP [01]
rpcSendFrame: SRSP Error - CMD0: 0x21 CMD1: 0x09
Enter CMD

Is this caused by wrong setting of rpcWaitMqClientMsg? Thanks

BR,

Viki