打印

报告STM32F2和F4 RefManual的一个错误

[复制链接]
2856|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mcuisp|  楼主 | 2012-8-8 09:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
33.1 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.
Base address: 0x1FFF 7A10
Address offset: 0x00
Read only = 0xXXXX XXXX where X is factory-programmed

33.2 Flash size
Base address: 0x1FFF 7A10
Address offset: 0x00
Read only = 0xXXXX where X is factory-programmed
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F_SIZE
r r r r r r r r r r r r r r r r
Bits 15:0 F_ID(15:0): Flash memory size
This bitfield indicates the size of the device Flash memory expressed in Kbytes.
As an example, 0x4000 corresponds to 1024 Kbytes.
沙发
mcuisp|  楼主 | 2012-8-8 09:34 | 只看该作者
错误有2个:
1、UniqueID的地址和FlashSize的地址都是0x1FFF 7A10。
2、蛋疼的example: As an example, 0x4000 corresponds to 1024 Kbytes.

使用特权

评论回复
板凳
airwill| | 2012-8-8 14:51 | 只看该作者
是的, F4 里也有这个错误.
之前也有提过: https://bbs.21ic.com/icview-350999-1-1.html

使用特权

评论回复
地板
捡漏王子| | 2012-8-8 15:12 | 只看该作者
看来得更仔细

使用特权

评论回复
5
IJK| | 2012-8-8 15:55 | 只看该作者
STM32的资料有不少低级的错误,LZ提到了其中之一啦

使用特权

评论回复
6
baidudz| | 2012-8-8 18:10 | 只看该作者
STM32的资料有不少低级的错误,LZ提到了其中之一啦
IJK 发表于 2012-8-8 15:55

STM32的资料还需要不断完善

使用特权

评论回复
7
无冕之王| | 2012-8-8 18:27 | 只看该作者
错误有2个:
1、UniqueID的地址和FlashSize的地址都是0x1FFF 7A10。
2、蛋疼的example: As an example, 0x4000 corresponds to 1024 Kbytes.
mcuisp 发表于 2012-8-8 09:34

错误的确是很低级

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:www.mcuisp.com 免费STM32 ISP软件 EP968手持烧录器,现场升级/生产线量产STM32,STM8S/L,FreeScale,LPC2000,LPC9xx,C8051F,AVR,PIC......

341

主题

4986

帖子

22

粉丝