damiaa 发表于 2021-5-23 10:53

EVK-NINA-B400 评估套件】+开始EKV-NINA-B400编程

<div class='showpostmsg'> 本帖最后由 damiaa 于 2021-5-24 09:43 编辑

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:24px;">开始EKV-NINA-B400编程</span></p>

<p>这标题有点大,搞得有点不好意思。不过加了开始二字,也就将就吧。高手看过就罢,不要当真。</p>

<p><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-family:宋体">玩开发板</span>,<span style="font-family:宋体">编程是少不了的</span>. EKV-NINA-B4XX<span style="font-family:宋体">手册比较多。挑选看吧。</span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">首先我们要看一下<span style="color:#000099;"><strong><span class="fontstyle01" style="font-family:ublox-Bold"><span style="font-weight:bold"><span style="font-style:normal"><span lang="EN-US" style="font-size:12.0pt">EVK-NINA-B4</span></span></span></span> <span class="fontstyle01" style="font-family:ublox-Bold"><span style="font-weight:bold"><span style="font-style:normal"><span lang="EN-US" style="font-size:12.0pt">Evaluation kit for NINA-B4 modules</span></span></span></span> </strong></span><span class="fontstyle01" style="font-family:ublox-Bold"><span style="color:#000099;"><span style="font-weight:bold"><span style="font-style:normal"><span lang="EN-US" style="font-size:12.0pt"><strong>User guide</strong></span></span></span></span><span style="color:#1a1a1a"><span style="font-weight:bold"><span style="font-style:normal"><span lang="EN-US" style="font-size:12.0pt"><span style="color:#9a9a9a"> </span></span></span></span></span></span>对板子有个整体的了解.</span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">然后看看上手册中关于编程的提示:告诉我们这个板要用SDK。 不是B41板,B41板可以用其他单片机通过at命令控制。</span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><st1:chsdate day="30" islunardate="False" isrocdate="False" month="12" w:st="on" year="1899"><b><span lang="EN-US" style="font-size:12.0pt"><span style="font-family:ublox-Bold"><span style="color:black">3.2.2</span></span></span></b></st1:chsdate><b><span lang="EN-US" style="font-size:12.0pt"><span style="font-family:ublox-Bold"><span style="color:black">.1 Nordic Semiconductor SDK</span></span></span></b><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">To use the EVK-NINA-B40x together with <strong>Nordic Semiconductor SDK</strong> it is <strong>necessary</strong> to:</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:SymbolMT"><span style="color:black">&bull; </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">Create your own board file</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:SymbolMT"><span style="color:black">&bull; </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">Adapt the examples in the Nordic Semiconductor SDK to use this board file</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">For more information about performing these tasks, see the Software section of the NINA-B4</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">system integration manual . See also the u-blox short range open CPU github repository .</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:10.0pt"><span style="color:black">下面告诉我们可以看手册</span></span><span style="font-size:10.0pt"><span style="color:black">的地方</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">. </span></span></span><span style="font-size:10.0pt"><span style="color:black">就是下面的</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">4</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span lang="EN-US" style="font-size:20.0pt"><span style="font-family:ublox-Bold"><span style="color:black">Related documents</span></span></span></b><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> Arduino &ndash; </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">https://www.arduino.cc</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> Raspberry Pi - </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">https://www.raspberrypi.org/</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> NINA-B4 data sheet, </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">UBX-19049405</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> NINA-B4 series system integration manual, </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">UBX-19052230</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> u-blox Short range AT commands manual, </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">UBX-14044127</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> SEGGER J-Link software - </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">https://www.segger.com/jlink-software.html</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> u-connectXpress user guide, </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue">UBX-16024251</span></span></span><br />
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> </span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:blue"><a href="https://github.com/u-blox/u-blox-sho-OpenCPU" style="color:blue; text-decoration:underline">https://github.com/u-blox/u-blox-sho-OpenCPU</a></span></span></span></span></span></p>

<p style="text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">我们读一下<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:#2980b9;">NINA-B4 series system integration manual&nbsp;</span><span style="color:blue">UBX-19052230</span></span></span><span style="font-size:10.0pt"><span style="color:black">吧</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">. </span></span></span><span style="font-size:10.0pt"><span style="color:black">手册的连接地址有点问题(新点的电脑在升级,旧的有些问题。这个是电脑问题)</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">.</span></span></span><span style="font-size:10.0pt"><span style="color:black">好在</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">eeowlrd</span></span></span><span style="font-size:10.0pt"><span style="color:black">的网站上有了</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">. </span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:10.0pt"><span style="color:black">手册告诉我们</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">,</span></span></span><span style="font-size:10.0pt"><span style="color:black">板子支持蓝牙</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">5.1 thread zigbee.</span></span></span><span style="font-size:10.0pt"><span style="color:black">这次手上的板子支持</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">open cpu (B40) </span></span></span><span style="font-size:10.0pt"><span style="color:black">不是</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">u-connectXpress (B41. </span></span></span><span style="font-size:10.0pt"><span style="color:black">后面咱们就只关注</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">open cpu. </span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">open cpu</span></span></span><span style="font-size:10.0pt"><span style="color:black">软件体系结构图如下</span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">: 说起open cpu 以本人理解那就是个SDK,咋们调用。还以为是什么新玩意呢。</span></span></span></span></span></p>

<p style="text-align:justify"></p>

<p><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">NINA-B4 series system integration manual&nbsp;</span><span style="color:blue">UBX-19052230 告诉我们如何下载安装必要的</span></span></span></span></span>软件</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span lang="EN-US" style="font-size:12.0pt"><span style="font-family:ublox-Bold"><span style="color:black">Open CPU </span></span></span></b><b><span style="font-size:12.0pt"><span style="font-family:宋体"><span style="color:black">软件</span></span></span></b></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">接下来就只要关注</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">ordic nRF SDK</span></span></span><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">的下载</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">,</span></span></span><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">安装</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">.</span></span></span><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">开发环境的安装</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">.</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">The SDK </span></span></span><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">支持</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black"> for the SEGGER Embedded Studio, </span></span></span></span></span></p>

<p style="text-indent:70.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">Keil microcontroller development kit, </span></span></span></span></span></p>

<p style="text-indent:70.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">IAR embedded workbench IDE</span></span></span></span></span></p>

<p style="text-indent:70.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">GCC compiler that supports many platforms and languages.</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">NINA-B4 series system integration manual 3.11.</span></span></span><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">中告诉了我们</span></span></span><span lang="EN-US" style="font-size:12.0pt">SDK</span><span style="font-size:12.0pt"><span style="font-family:宋体">下载地址。软件工具地址等。</span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:10.0pt"><span style="font-family:宋体"><span style="color:black">下载安装</span></span></span><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">nRF Conncet v3.61</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">如是准备:</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">1,keil5.3X 新点的。</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">2,下载安装nRF Conncet v3.61 :nrfconnectsetup361ia32 这里会安装jink驱动。 会自动配置到keil。</span></span></span></span></span></p>

<p style="text-align:justify"></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">3,也可以安装nRF-Command-Line-Tools_10_12_1_Installer_64&nbsp;不过我这里没成功安装 估计要自己安装VS2017 暂时放下。这里也会安装jink驱动。&nbsp;会自动配置到keil。 </span></span></span></span></span></p>

<p style="text-align:justify"></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">4,下载解压nRF5SDK &nbsp; nRF5SDK1702d674dde。</span></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">5,打开nRF5SDK 一个文件,发现要安装nrf的pack。还自动安装失败。网速问题?。但迅雷可以。</span></span></span></span></span></p>

<p style="text-align:justify">如是拷贝那个提示的网址到迅雷下下来手动安装。</p>

<p style="text-align:justify">但不知怎么搞的,开始提示8.38.后来又不行,提示8.35。 只好又下个8.35就好了&nbsp;</p>

<p style="text-align:justify">后面就打开一个<span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:ublox-Regular"><span style="color:black">nRF5SDK</span></span></span></span></span>点灯程序。正好PC10100的LED1点灯和这个板的RGB红灯一样</p>

<p style="text-align:justify"></p>

<p style="text-align:justify">&nbsp;</p>

<p></p>

<p><span style="color:#0000ff;">不尽人意,见谅。 &nbsp;周末快乐。</span></p>
</div><script>                                        var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;"   style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
                                       
                                        if(parseInt(discuz_uid)==0){
                                                                                                (function($){
                                                        var postHeight = getTextHeight(400);
                                                        $(".showpostmsg").html($(".showpostmsg").html());
                                                        $(".showpostmsg").after(loginstr);
                                                        $(".showpostmsg").css({height:postHeight,overflow:"hidden"});
                                                })(jQuery);
                                        }                </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script>

annysky2012 发表于 2021-5-24 08:53

感谢分享,期待后续作品

damiaa 发表于 2021-5-24 10:03

annysky2012 发表于 2021-5-24 08:53
感谢分享,期待后续作品

<p>谢谢关注</p>

w494143467 发表于 2021-5-25 10:34

<p>这芯片是Nordic的?</p>

damiaa 发表于 2021-5-26 14:20

w494143467 发表于 2021-5-25 10:34
这芯片是Nordic的?

<p>nRF52833</p>

damiaa 发表于 2021-5-27 14:14

本帖最后由 damiaa 于 2021-5-27 14:19 编辑

<p>nRF5 SDK v17.0.2 ------------------------ Release Date: September, 2020 This SDK release is a bug fix release replacing nRF5 SDK v17.0.0. This version contains the latest<span style="font-size:24px;"><strong><span style="color:#0000cc;"> </span></strong></span>MDK (v8.35.0) with a bug fix that properly handles errata on future devices with unknown HW ID. If you are using v17.0.0 for development, <span style="font-size:20px;"><strong>it is strongly recommended to switch to v17.0.2.</strong></span></p>

<p>&nbsp;</p>

<pre xml:space="preserve">
Highlights:

- Added support for<strong> <span style="font-size:16px;">version 7.2.0 of SoftDevices S112, S113, S132, and S140.</span></strong>
- Added workarounds for anomalies 211 and 223.
- Added new nrfx v1.8.6 with a new MDK.
See &#39;Compatibility of SES projects&#39;.

The following toolchains/devices have been used for testing and verification:

- ARM: <span style="color:#0000cc;"><span style="font-size:20px;"><strong>MDK-ARM version 5.25 </strong></span></span><span style="color:#ecf0f1;"><span style="font-size:20px;"><strong> </strong></span> </span>
- GCC: GCC ARM Embedded 9.2019q4.major
- IAR: IAR Workbench 7.80.4
- SES: SES 4.50
</pre>

<p>&nbsp;</p>

<p>&nbsp;</p>
页: [1]
查看完整版本: EVK-NINA-B400 评估套件】+开始EKV-NINA-B400编程