littleshrimp 发表于 2021-11-21 18:02

使用 Visual Studio 开发 ST BlueNRG-LP 项目

<p style="border:0px; padding:0px; text-align:start; margin-bottom:15px"><span style="font-size:15px"><span style="font-variant-ligatures:normal"><span style="font-variant-numeric:inherit"><span style="font-variant-east-asian:inherit"><span style="font-stretch:inherit"><span style="1.6"><span style="font-family:&quot;Open Sans&quot;, serif"><span style="font-style:normal"><span style="font-weight:400"><span style="outline:0px"><span style="vertical-align:baseline"><span style="color:#444444"><span style="white-space:normal"><span style="background-color:#ffffff"><span style="text-decoration-thickness:initial"><span style="text-decoration-style:initial"><span style="text-decoration-color:initial"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">本教程展示了如何将 Visual Studio 与 VisualGDB 结合使用,以针对</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">具有 BlueNRG-LP 设备</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">的</font></font><a href="https://www.st.com/en/evaluation-tools/steval-idb011v1.html" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">STEVAL-IDB011V1</font></font></a><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">板。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:15px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">我们将展示如何从 BlueNRG SDK 快速克隆示例、编辑它们并在 Visual Studio 中调试它们。</font></font></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>

<ol style="border:0px; font-variant-ligatures:normal; font-variant-numeric:inherit; font-variant-east-asian:inherit; font-stretch:inherit; inherit; font-family:&quot;Open Sans&quot;, serif; font-size:16px; font-style:normal; font-weight:400; outline:0px; padding:0px 0px 0px 35px; vertical-align:baseline; list-style:decimal; color:#444444; text-align:start; white-space:normal; background-color:#ffffff; text-decoration-thickness:initial; text-decoration-style:initial; text-decoration-color:initial; margin-bottom:30px">
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">启动 Visual Studio 并打开 VisualGDB 嵌入式项目向导:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/01-newprj.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">输入项目的名称和位置,然后按&ldquo;创建&rdquo;:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/02-name.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">在向导的 VisualGDB 特定部分的第一页上,选择&ldquo;</font></font><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">创建新项目 -&gt; 应用程序 -&gt; 高级 CMake</font></font></strong><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">&nbsp;&rdquo;:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/03-prjtype.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">在下一页上选择 ARM 工具链并选择 BlueNRG-LP 设备。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">如果您还没有安装 BlueNRG-LP BSP,请点击&ldquo;安装&rdquo;自动下载安装:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/04-install.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">安装 BSP 后,VisualGDB 将允许选择 BlueNRG-LP 设备并为其显示各种配置选项:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/05-selected.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">下一页允许选择要克隆的项目样本。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">基本示例和 BlueNRG SDK 示例均使用嵌入式框架系统,以后可以轻松重新配置。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">因此,您可以选择其中之一:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/06-example.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">在本教程中,我们</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">将从 BlueNRG SDK 示例中</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">选择</font></font><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">BLE_Beacon</font></font></strong><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">示例:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/07-beacon.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">向导的最后一页允许配置调试设置。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">与 ST 的大多数开发板不同,BlueNRG-LP 板具有板载 CMSIS-DAP 而不是 ST-Link。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">将其连接到 USB 端口并确保 VisualGDB 识别它:</font><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">警告!</font></strong><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">许多 BlueNRG-LP 示例将设备置于不可调试的低功耗模式。</font></strong><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">如果发生这种情况,除非您在调试设置中启用&ldquo;重置下连接&rdquo;复选框,否则您将无法连接到设备。</font></strong></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/08-debug.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">按&ldquo;完成&rdquo;生成项目。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">生成后,按&ldquo;Ctrl-Shift-B&rdquo;构建它:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/09-built.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">右键单击解决方案资源管理器中的项目并转到嵌入式框架页面。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">VisualGDB 将显示 SDK 中的各种框架,允许您引用它们或更改它们的配置。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">示例使用的框架将已经被选中:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/10-frameworks.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">在 main() 中设置断点并按 F5 开始调试。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">断点将命中:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/11-bkpt.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">请注意,如果您现在继续执行,OpenOCD 将显示&ldquo;</font></font><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">错误连接 DP:无法读取 IDR</font></font></strong><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">&nbsp;&rdquo;错误:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/12-idr.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">发生这种情况是因为设备已进入低功耗模式。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">您可以注释掉对</font></font><strong style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:bold; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">HAL_PWR_MNGR_Request()</font></font></strong><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">的调用</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">以防止这种情况发生。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">现在您将能够无中断地调试程序:</font></font><a href="https://visualgdb.com/w/wp-content/uploads/2021/06/13-tick.png" style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline; color:#1e73be; text-decoration:none"></a></li>
        <li style="border:0px; font-variant:inherit; font-stretch:inherit; 1.3; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:baseline"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit"><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">截至 2021 年 6 月,板载 CMSIS-DAP 探针有时在启动后无法立即连接到目标。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">VisualGDB 然后会显示一条消息,表明 OpenOCD 已退出。</font><font style="border:0px; font-variant:inherit; font-stretch:inherit; inherit; font-family:inherit; font-size:16px; font-style:inherit; font-weight:inherit; outline:0px; padding:0px; vertical-align:inherit">在大多数情况下,只需再次启动调试会话即可解决问题。</font></font></li>
</ol>

<p>原文:https://visualgdb.com/tutorials/arm/stm32/bluenrg-lp/&nbsp;</p>

大秦正声 发表于 2021-11-23 08:33

<p>iar,keil已经非常好了。</p>

大秦正声 发表于 2021-11-23 08:38

<p>蓝牙芯片已经饱和了!aoa,mesh现在依旧不实用!</p>

littleshrimp 发表于 2021-11-23 10:24

大秦正声 发表于 2021-11-23 08:33
iar,keil已经非常好了。

<p>毕竟这些是收费的</p>

littleshrimp 发表于 2021-11-23 10:24

大秦正声 发表于 2021-11-23 08:38
蓝牙芯片已经饱和了!aoa,mesh现在依旧不实用!

<p>确实还有一段路要走</p>

wangerxian 发表于 2021-11-23 11:04

littleshrimp 发表于 2021-11-23 10:24
毕竟这些是收费的

<p>Visual Studio也是收费的呀</p>

littleshrimp 发表于 2021-11-23 11:25

wangerxian 发表于 2021-11-23 11:04
Visual Studio也是收费的呀

<p>对啊,我看还能编点什么理由,对,假如你们公司有写软件的买过visual studio,这样用不用买IAR了<img src="https://img1.baidu.com/it/u=266766814,1640675782&amp;fm=26&amp;fmt=auto" /></p>

大秦正声 发表于 2021-11-23 17:37

<p>cc26x2的蓝牙aoa,mesh就是个笑话!更不要说香水的无线芯片了。这才是重点。</p>

damiaa 发表于 2021-11-25 09:37

littleshrimp 发表于 2021-11-23 10:24
毕竟这些是收费的

<p>确实 收费的不好</p>
页: [1]
查看完整版本: 使用 Visual Studio 开发 ST BlueNRG-LP 项目