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-EM-CC2745R10-Q1:错误:根本未识别 1 个节点、运行 ble_device_channel_sounding.py 示例时、comport:COM5

Guru**** 2652475 points

Other Parts Discussed in Thread: CC2745R10-Q1, SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1568788/lp-em-cc2745r10-q1-error-1-nodes-not-identified-at-all-comport-com5-when-running-ble_device_channel_sounding-py-example

器件型号:LP-EM-CC2745R10-Q1
Thread:CC2745R10-Q1SysConfig 中讨论的其他器件

工具/软件:

您好:

我尝试在两个 CC2745R10-Q1 电路板之间运行 ble_device_channel_sounding.py 示例、每个电路板都有 BP-EM-CS Booster Pack、并且 XDS110 调试探针使用提供的 USB-A 转 USB-C 电缆连接到笔记本电脑。 运行此示例时、我收到以下错误消息:  

(.venv) PS C:\ti\simplelink_lowpower_f3_sdk_9_12_00_19\tools\ble\ble_agent\examples> python .\ble_device_channel_sounding.py
<RTLSNode(BLE Device, started 26340)> []
None [<RTLSNode(BLE Device, started 26172)>]
Error: 1 nodes not identified at all, comport: COM5
Traceback (most recent call last):
File "C:\ti\simplelink_lowpower_f3_sdk_9_12_00_19\tools\ble\ble_agent\examples\ble_device_channel_sounding.py", line 239, in <module>
main()
File "C:\ti\simplelink_lowpower_f3_sdk_9_12_00_19\tools\ble\ble_agent\examples\ble_device_channel_sounding.py", line 117, in main
reflector_node.peripheral.start_advertising(
AttributeError: 'NoneType' object has no attribute 'start_advertising'

使用 CCS v12.8-1 和 SIMPLELINK-LOWPOWER-F3-SDK v9.12.00:

第一块电路板(我的笔记本电脑上的 COM7)用 car_node 固件进行刷写、其中 SysConfig 中更改了以下设置:

  • 地址模式设置为“公共地址“
  • 配对模式设置为“启动配对请求“
  • 已检查 ECC 调试密钥

第二个电路板(我的笔记本电脑上的 COM5)用 key_node 固件进行刷写、其中 SysConfig 中进行了以下设置更改:

  • 地址模式设置为“公共地址“
  • 配对模式设置为“等待配对请求“
  • 已检查 ECC 调试密钥

我也相应地更改了 python 文件中的 COM 端口。 另请注意、我能够成功运行 ble_device_car_node_with_distance、py 示例、因为反射者节点能够与发起者配对并在终端中显示距离值。

我在尝试调试此错误时注意到的一些事项:

  • COM 端口似乎直接链接到 CC27x 电路板、而不是调试探针
  • 似乎始终是与反射板关联的 COM 端口无法初始化
  • 更改与反射板关联的 COM 端口号不能修复错误


希望得到任何帮助!

谢谢、
Saami