搜索
bottom↓
回复: 11

STM32芯片内有唯一的只读序列号吗?

[复制链接]

出0入0汤圆

发表于 2008-8-19 16:14:21 | 显示全部楼层 |阅读模式
是否能起到有效控制拷贝的作用?

出0入0汤圆

发表于 2008-8-19 16:14:47 | 显示全部楼层
可以啊。

出0入0汤圆

发表于 2008-8-19 16:27:30 | 显示全部楼层
??1楼的回答,跟楼顶的主要问题有关系么?

出0入0汤圆

发表于 2008-8-19 17:01:38 | 显示全部楼层
有的,可以通过序列号计算出一个密钥,每份产品的密钥都不同。如果有人读出你的程序并且抄袭若干份,则这些赝品的密钥都是被抄的。只要密钥算法合理,就能查出密钥与序列号不符。这也是电脑上的软件利用硬盘序列号加密的思路

出0入0汤圆

 楼主| 发表于 2008-8-19 17:24:13 | 显示全部楼层
谢谢!^_^

出0入0汤圆

发表于 2008-8-24 20:00:51 | 显示全部楼层
问题是,现在ARM指令的反编译软将发展到什么水平了?

出0入0汤圆

发表于 2008-8-24 21:19:08 | 显示全部楼层
我在一楼的发言是指:可以根据唯一序列号来加密程序。

程序第一次执行时根据序列号来算出密码,写入存储器。
以后执行时判断序列号和密码是否匹配。

出0入0汤圆

发表于 2008-8-24 22:06:04 | 显示全部楼层
楼上朋友,我在想,有什么好的软件或工具把截获的加密程序的二进制码反编译成我可以看懂得公式。

出0入0汤圆

发表于 2008-8-25 01:07:13 | 显示全部楼层
奇怪……到底STM32F哪本资料的哪个地方说过STM32F有设备唯一ID了?

出0入0汤圆

发表于 2008-8-25 09:32:47 | 显示全部楼层
这个讨论有意思啊,看最后结果

出0入0汤圆

发表于 2008-8-25 11:33:58 | 显示全部楼层
STM32F有设备唯一ID

STM32F10X内含96位的唯一的只读性序列号

Unique device ID register (96 bits)
The unique device identifier is ideally suited:
● for use as serial numbers (for example USB string serial numbers or other end
applications)
● for use as security keys in order to increase the security of code in Flash memory while
using and combining this unique ID with software cryptographic primitives and
protocols before programming the internal Flash memory
● to activate secure boot processes, etc.
The 96-bit unique device identifier provides a reference number which is unique for any
device and in any context. These bits can never be altered by the user.
The 96-bit unique device identifier can also be read in single bytes/half-words/words in
different ways and then be concatenated using a custom algorithm.


具体可以看这里 http://www.stmfans.com/bbs/viewthread.php?tid=317&page=1&extra=page%3D1

出0入8汤圆

发表于 2008-8-25 16:04:09 | 显示全部楼层
请下载STM32的用户手册英文Rev5  Page642

25.2 Unique device ID register (96 bits)
The unique device identifier is ideally suited:
● for use as serial numbers (for example USB string serial numbers or other end
applications)
● for use as security keys in order to increase the security of code in Flash memory while
using and combining this unique ID with software cryptographic primitives and
protocols before programming the internal Flash memory
● to activate secure boot processes, etc.
The 96-bit unique device identifier provides a reference number which is unique for any
device and in any context. These bits can never be altered by the user.
The 96-bit unique device identifier can also be read in single bytes/half-words/words in
different ways and then be concatenated using a custom algorithm.
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-5 10:13

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

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