OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 7015|回复: 0

如何高效率地完成NRF51822烧录

[复制链接]

1

主题

2

帖子

0

精华

新手入门

积分
36
金钱
36
注册时间
2015-8-10
在线时间
3 小时
发表于 2015-8-10 15:20:55 | 显示全部楼层 |阅读模式
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">各位nrf51822开发者你们好,小弟今天再次分享一个nrf51822不太多人讨论的问题--芯片烧录问题。</span><br />
<br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">关于NRF51822,其在蓝牙4.0的开发领域占的地位不用说,功耗和稳定都是首屈一指。但关于NRF51822的芯片烧录问题,却也一直是一个让很多开发者困惑的问题。NRF51822仅支持SWD协议对FLASH读写,这对烧录方法便有了很大的限制,传统的做法有两种:第一,芯片贴片前交给烧录公司烧录。有两个缺点,1.价格昂贵(差不多6分钱一片),2.代码需要给到别人,我想这一点是大部分公司都不愿意的。第二,自己用电脑一个个板子烧录,缺点不用说就是效率低。本团队以往便是第二种做法的,大大影响了我们的生产速度,如果是上万片的批量,还怎么生产下去?</span><br />
<br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">说到主题了,本着解决这个问题的心态,我们团队自己研发了一款脱机烧录器 NRF-FLY。请大家容我介绍一下这款烧录器的功能:</span><br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">仍然基于SWD协议,NRF-FLY只是做到了脱机和多个烧录的功能。如下:</span><br />
<br />
<p class="MsoNormal" style="margin-left:36pt;color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-indent:-18pt;">
        <span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">■<span style="font-size:7pt;line-height:normal;font-family:'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">烧录速度<span>5</span>秒<span></span></span>
</p>
<p class="MsoNormal" style="margin-left:36pt;color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-indent:-18pt;">
        <span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">■<span style="font-size:7pt;line-height:normal;font-family:'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">烧录个数<span>16</span>个<span></span></span>
</p>
<p class="MsoNormal" style="margin-left:36pt;color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-indent:-18pt;">
        <span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">■<span style="font-size:7pt;line-height:normal;font-family:'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">兼容各种<span>softdevice</span>版本(<span>s110_5</span>、<span>s110_6</span>、<span>s110_7</span>、<span>s110_8</span>、<span>s120</span>、<span>s130</span>)<span></span></span>
</p>
<p class="MsoNormal" style="margin-left:36pt;color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-indent:-18pt;">
        <span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">■<span style="font-size:7pt;line-height:normal;font-family:'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">允许限制烧录次数,超出烧录次数后烧录器自动上锁,用于控制工厂烧录<span></span></span>
</p>
<p class="MsoNormal" style="margin-left:36pt;color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-indent:-18pt;">
        <span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">■<span style="font-size:7pt;line-height:normal;font-family:'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span style="font-size:12pt;line-height:19.200000762939453px;font-family:微软雅黑, sans-serif;">代码保护措施:<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">1</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)上位机与硬件之间的通信,采用基于随机数的双向握手过程。<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">2</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)脱机烧录器自身程序已开启读写保护功能。<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">3</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)利用器件唯一器件<span>ID</span>号加密了脱机烧录器的程序。<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">4</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)每个脱机烧录器有固定唯一设备密码。<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">5</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)脱机烧录器对<span>51822</span>的程序内容的存储采用特殊地址存储加密,即使程序内容被读出也难以破解。<span></span></span>
</p>
<p class="MsoListParagraph" style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;text-align:justify;">
        <span style="font-size:12pt;font-family:微软雅黑, sans-serif;">6</span><span style="font-size:12pt;font-family:微软雅黑, sans-serif;">)代码放入目标板后设置读写保护<span></span></span>
</p>
<br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">CB:</span><br />
<img src="http://www.eeboard.com/bbs/forum.php?mod=image&amp;aid=105872&amp;size=300x300&amp;key=f2aa991187b198f44b48d82e3dd2c107&amp;nocache=yes&amp;type=fixnone" border="0" alt="" /><br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">上位机:</span><br />
<img src="http://www.eeboard.com/bbs/forum.php?mod=image&amp;aid=105873&amp;size=300x300&amp;key=d218b68ee7694418205560dcf47c6345&amp;nocache=yes&amp;type=fixnone" border="0" alt="" /><br />
<br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">广告就打到这里了,相信广大的NRF51822开发者能看到它的价值所在,其中代码保护这一部分我个人认为是NRF-FLY的核心价值。本团队也不是抱着追求利益的心态去研发这个烧录器,只是希望在业内分享这项技术解决烧录问题的同时作为额外的副业。</span><br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">我们的产品说明书下载链接:http://pan.baidu.com/s/1kTnHQpp</span><br />
<span style="color:#444444;font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:#FFFFFF;">希望有需求的朋友可以和我联系,也希望高手们在此作出评价,我们会虚心接受!</span>
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-23 12:04

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表