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.

[参考译文] CC1312R:oad_write_bin.py Raspberry PI uart0的性能非常慢(&'serial0')

Guru**** 2482225 points


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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1215030/cc1312r-oad_write_bin-py-very-slow-performance-on-raspberry-pi-uart0-serial0

器件型号:CC1312R

CC1312R1中,是否有人遇到了 python 脚本 oad_write_bin.py 以分块将.bin 文件上传到 CC 的性能非常慢的情况?

我正在 Raspberry PI 4 uart0端口(serial0->/dev/ttyS0)上运行脚本

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

    Michael、您好!  

    这似乎 是 Raspberry PI 上的性能问题。 您还可以尝试他们的论坛来检查那里的串行问题。  

    此致、
    SID

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

    问题在于该 python 脚本中对 flush 函数的多次频繁调用。 我删除了呼叫、现在它运行正常