【GD32E503评测】+ 上手初体验
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">我非常有幸的成为兆易创新科技公司的GD32E503V-EVAL开发板的评测人员。</span></span></p><p style="text-indent:21.0pt; text-align:justify"> </p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">因为我本人从事的是智能家居产品的软硬件设计开发,工作中接触到的网络、RF通讯比较多,所以我的总测评流程计划如下:</span></span></p>
<ol>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">移植网络</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">W5500 </span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">(实现基本的网络通讯框架以及</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">Tftp</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">下载,实现远程固件更新和文件下载到</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">SpiFlash</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">,文件系统采用</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">Littlefs</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">)</span></span></span></li>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">移植</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">Lora sx1278</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">模块</span> <span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">(实现基本的</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">RF</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">模块初始化配置和通讯)</span></span></span></li>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">测试</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">QSPI</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">接口解析</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">JSON</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">速度</span> <span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">(基于</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">QSPI</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">接口的</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">SpiFlash</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">的</span><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">JSON</span></span><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">文件的解析)</span></span></span></li>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线"><span data-darkreader-inline-color="" style="color: black; --darkreader-inline-color:#e8e6e3;">对外设接口的驱动</span></span></span></li>
</ol>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">收到开发板有些时日了,因为年尾了,手头上的项目有点紧,赶紧抽空对开发板来一个第一轮的简单开箱上电评测。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"> </p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">开发板的外包装档次还是比较高的,值得永久珍藏。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">再来看主角的全貌,PCB布板干净整洁,自带仿真器,资源丰富,有LED、按键、Nand Flash(一开始没找到,原来藏在LCD下面)、LCD、USB、EEPROM、数字音频模块等,还引出了所有的IO口,作为一块开发板,物尽其用。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">首先打开兆易官网的链接找到GD32E5的资料</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线"><a data-darkreader-inline-color="" href="http://www.gd32mcu.com/cn/download/0?kw=GD32E5" style="color: rgb(5, 99, 193); text-decoration: underline; --darkreader-inline-color:#59b2fb;">http://www.gd32mcu.com/cn/download/0?kw=GD32E5</a></span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">把这些资料全部下载到电脑。MDK的包管理器里还找不到GD32E50x的包,所以先安装GD32E50x ADD-ON文件夹里的DFP文件。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">然后就可以打开下载好的GD32E50x-Demo_Suites目录的例程</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">这里我选择了第一个GPIO_Running_LED来进行开箱测试。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">看原理图,四个LED等分别对应的IO口是PC0、PC2、PE0、PE1</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">打开MDK的工程文件</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">可以看到工程中初始化的LED就是对应的原理图中的四个IO口,看来例程的代码都是完全匹配开发板的。然后编译运行…… 哎呀,怎么仿真出错了,噢,对了,还没有选仿真器呢!打开仿真器设置界面,怎么没有GD-LINK呢?难道是驱动没有装,但是没看到官网有提供驱动下载啊!</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">看了GD-Link的文档说明,才发现就是基于CMSIS-DAP的仿真器接口</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">仿真器上选择了CMSIS-DAP,运行,开发板上的4个LED逐个点亮然后灭掉</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:等线">至此,第一轮的上电开箱评测结束,后续的会陆陆续续补上来。</span></span></p>
<p style="text-indent:21.0pt; text-align:justify"> </p>
<p>这个开发板挺好的,还带个屏幕,好好参与测评哈!期待你后续的测评帖子~</p>
<p>谢谢分享!期待后续!</p>
<p>keil提示找不到sarmv8m.dll,是版本太老的原因?请问楼主用的是什么版本的keil</p>
页:
[1]