环境如下:mcu运行的是znp-host-framework,cc2630上运行的是zstack_home_1_02_02a_44539 ZNP固件,两者通过UART连接,当执行cmdline时,提示超时,
log如下:
# ./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
请问:超时原因是因为rpcWaitMqClientMsg设置的超时时间有问题吗 还是其他方面的原因
Viki Shi:
请问搭配使用的MCU是什么芯片?
Viki Shi:
请问搭配使用的MCU是什么芯片?
user6274145:
回复 Viki Shi:
你好 mcu是iMX6
YiKai Chen:
建議你用scope看一下UART接線上有沒有訊號在跑,另外建議cc2630上运行的是zstack_home_1_02_02a_44539 ZNP固件先接到PC透過Ztool看看能否成功運作