你好,感谢您上面的答复: 我已经购买了telink支持linux烧写的烧录器,在ubunutu下试了一下可以烧录B91成功,然后我按照Burning and Debugging Tools for TLSR9 Series (Linux) - Telink wiki (telink-semi.cn)指导,想使用riscv32-elf-gdb去调试提供的gdb_example.zip filedemo,报以下错误:
error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
之后,我将该库拷贝到系统/usr/lib下,重新执行调试命令,又报以下错误:
-elf/bin/riscv32-elf-gdb main.elf
Could not find platform independent libraries
Could not find platform dependent libraries
Consider setting $PYTHONHOME to
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0xf78db9c0 (most recent call first):
已放弃 (核心已转储)
可能是你的环境没有配置正确,请按照zephyr网址的的手册配置测试。https://docs.zephyrproject.org/latest/boards/riscv/tlsr9518adk80d/doc/index.html
好的,谢谢。
B91输出串口的协议是?RS232、RS485、还是TTL?