CB5654开发板测评4
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">在上一篇(</font><font face="Calibri">https://bbs.eeworld.com.cn/thread-1187579-1-1.html</font><font face="宋体">)已经把环境搭建好了,我们在</font><font face="Calibri">Welcome</font><font face="宋体">中选择“新建工程”,在分辨率比较低的电脑上,可能需要来回拖动滚动条,找到这个链接:</font></span></span></span></span></p><p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">新建工程</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">选择</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">SC5654</font><font face="宋体">芯片,</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">点击下一步,可以建立一个</font><font face="Calibri">IoT</font><font face="宋体">工程,对于</font><font face="Calibri">CB5654</font><font face="宋体">来说,可以有两个例程,先选择“驱动开发示例”,起工程名字叫做“</font><font face="Calibri">test</font><font face="宋体">”,可以看到版本是</font><font face="Calibri">V7.2.2.1</font><font face="宋体">:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">点击</font><font face="Calibri">Finish</font><font face="宋体">,会自动下载到本地盘,可以看到,这个工程的介绍(</font><font face="Calibri">README.md</font><font face="宋体">)中表明了这个例子是用来实现系统</font><font face="Calibri">API</font><font face="宋体">和各种驱动的:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">通过菜单栏</font>“</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">Project->Build Active Project</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”或者快捷按钮“</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">Build Project</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”或者键盘“</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">F7</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”,开始</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">build</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">工程,视电脑性能,可能需要几十秒到几分钟,在下端</font>“</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">OutPut View</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">中可以看到</font>“<font face="Calibri">0 error(s),</font><font face="宋体">……”的字样,根据我的经验,只要动了代码,难免会出些“</font><font face="Calibri">warning</font><font face="宋体">”,可以不去管。可以看到,我这个电脑性能很一般,</font><font face="Calibri">build</font><font face="宋体">这个工程用了</font><font face="Calibri">8</font><font face="宋体">分钟。</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">仔细看看,似乎不太对,上面怎么会是</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">No such</font><font face="宋体">……呢,再看看</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">很明显是没有安装好环境啊。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">把文件夹</font><font face="Calibri">__workspace_pack__\cb5654\v7.2.2\</font><font face="宋体">全部文件拷贝到指定目录</font><font face="Calibri">\test\Boards\cb5654\v7.2.2\</font><font face="宋体">下,再重新执行</font><font face="Calibri">build</font><font face="宋体">。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">可以看到,这次的结果和上次完全不同:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">使用菜单栏</font>“<font face="Calibri">Flash->Download</font><font face="宋体">”或者快捷按钮“</font><font face="Calibri">Flash Download</font><font face="宋体">”把</font><font face="Calibri">build</font><font face="宋体">好的代码下到板子上去。接下来出现了这个:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">很明显,是板子还没接好或者没有设置的原因,使用</font>“</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">Setting->Target Setting</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">点击</font>“<font face="Calibri">OK</font><font face="宋体">”,看到</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">目标芯片已经认出来了:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">在菜单</font>“</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">Control->RunDebuggerServer</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”,将这个服务拉起来,可以看到界面上快捷按钮和状态栏都出现了变化:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">再回到</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">CDK</font><font face="宋体">,尝试下载</font><font face="Calibri">Flash</font><font face="宋体">,终于出现:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">更换板上的</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">usb</font><font face="宋体">接口,使用</font><font face="Calibri">SecureCRT</font><font face="宋体">操作,按下板上的重启按钮后:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">停在上述界面超过</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">5</font><font face="宋体">分钟,依然不进行下一步打印,且</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">输入没有响应,不知道原因。</font></span></span></span></span></p>
另外一个例程也是编译通过,烧写成功,会提示错误 <p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">建一个</font>“<font face="Calibri">test2</font><font face="宋体">”,这次按照文档使用“智能语音终端解决方案”:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">参考文档操作,可以看到这是一个语音的应用,</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">再次</font>“</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">build</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">”这个工程,经过漫长的等待,终于成功。这次有了些告警,可以先忽略掉,如下:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">烧入开发板中,用串口线查看信息,可以看到</font><font face="Calibri">BT_LOG</font><font face="宋体">出现了异常,长时间没有进行下一步:</font></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">看起来:</font></span></span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">BT_HCI command_timed_out hci layer timeout waiting for response to a command. </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">出错了,从备注上看,似乎是等待命令回应。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">试图通过单步执行找到这个错误点,但不太会用</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">CDK</font><font face="宋体">,搜索文件也没找到这个错误打印的位置,实在不知道下一步该怎么做,发贴求助。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-align:justify"> </p>
<p style="text-align:justify"> </p>
<p>已反馈给平头哥,等等他们技术支持</p>
<p>另外,标题最好有个明确的主题,1,2,3,4有点抽象</p>
tobot 发表于 2021-12-2 23:12
另外一个例程也是编译通过,烧写成功,会提示错误
<p>请问具体是哪个例程</p>
<p>这应该是8723ds的蓝牙部分电路没有焊接好,导致软件蓝牙初始化失败,如果有硬件能力可以把RTL8723重新焊下来再焊上去看一下结果。建议联系工作人员直接替换。</p>
未来开发者 发表于 2021-12-3 15:21
这应该是8723ds的蓝牙部分电路没有焊接好,导致软件蓝牙初始化失败,如果有硬件能力可以把RTL8723重新焊下 ...
<p>收到,板卡已寄回,待收到替换件后继续完成测评。</p>
页:
[1]