工具与软件:
尊敬的 TI 工程师:
我已成功安装 Beagleplay 操作系统的最新最小映像。 我的安装非常简洁、没有额外的软件堆栈。
然后、我将这一行添加到了标签 eMMC 下的/boot/firmware/extlinux/extlinux.conf (默认):
fdt叠 层/overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
然后关闭我的板。
我从 TI CCS 中构建了适用于 CC1352P7-1的 WiSUN 边界路由器固件。 这适用于 LaunchPad + Rasp Pi。
然后、我发送了这些固件
ns_br_lp_CC1352P7_1_tirtos7_ticlang.hex
ns_br_lp_CC1352P7_1_tirtos7_ticlang.out
ns_br_lp_CC1352P7_1_tirtos7_ticlang.map
通过 SSH 进入 BeaglePlay。
然后、我开始写入板载 CC1352P7、但 ttyS2未响应。 请告诉我如何纠正。
debian@BeagleBone:~$ cc1352_flasher -q -p /dev/ttyS2 Opening port /dev/ttyS2, baud 500000 Connecting to target… ERROR: Timeout waiting for ACK/NACK after ‘Synch (0x55 0x55)’
debian@BeagleBone:~$ cc1352_flasher -v -p /dev/ttyS2
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/cc1352_flasher/cli.py", line 1306, in main
conf['fname'] = args[0]
~~~~^^^
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/cc1352_flasher/cli.py", line 1308, in main
raise Exception('No file path given.')
Exception: No file path given.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/cc1352_flasher", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/dist-packages/cc1352_flasher/cli.py", line 1494, in main
if QUIET >= 10:
^^^^^
UnboundLocalError: cannot access local variable 'QUIET' where it is not associated with a value