没有合适的资源?快使用搜索试试~ 我知道了~
AN4507 Security FlashProtection.pdf
需积分: 9 4 下载量 15 浏览量
2021-07-20
22:30:36
上传
评论
收藏 231KB PDF 举报
温馨提示
The Kinetis family of microcontrollers include system security and flash protection features that can be used to protect code and data from unauthorized access or modification. This application note discusses usage of the security and flash protection features available on the Kinetis family processors. The chip security and flash protection features controlled using the flash configuration field will be covered in this application note.
资源推荐
资源详情
资源评论
1 Introduction
The Kinetis family of microcontrollers include system security
and flash protection features that can be used to protect code
and data from unauthorized access or modification. This
application note discusses usage of the security and flash
protection features available on the Kinetis family processors.
The chip security and flash protection features controlled
using the flash configuration field will be covered in this
application note.
The default security options are configured at reset based on
the application image. All flash application images need to
include configuration of the security and protection options.
Configuration is required in all cases. Even if the required
setting is to have the flash and security options disabled, the
application image must configure the setting for those desired
values. Therefore, anyone writing an application must be
aware of the security and protection options and how to
correctly configure them.
2 Security vs. protection
The Kinetis security features are system-level options that are
designed to prevent unauthorized access to the processor and
the code and data within the processor. Software intellectual
Freescale Semiconductor
Document Number:AN4507
Application Note
Rev. 1, 6/2012
Using the Kinetis Security and
Flash Protection Features
by:
Melissa Hunter
Automotive and Industrial Solutions Group
© 2012 Freescale Semiconductor, Inc.
General Business Information
Contents
1 Introduction................................................................1
2 Security vs. protection...............................................1
2.1 Security options.............................................2
3 Flash protection.......................................................10
3.1 Flash protection regions...............................10
3.2 Configuring flash protection
settings.........................................................11
3.3 Changing flash protection
settings.........................................................11
4 Tamper detection and cryptography........................12
property (IP) is a very valuable investment and the security features protect that investment, prevent cloning, and secure
sensitive data that might be stored in the memory.
• Security feature: Although the security on Kinetis is controlled by the settings that reside within the flash, it is not a
flash-level feature. The flash provides the security options to the chip system logic, and the chip system logic takes
action based on the settings. So, even though the user interacts with the flash to use the security settings, it must be
considered as a processor mode selection because the decisions made by the user will affect the entire processor. In
fact, the option to enable or disable security has very little impact on the flash itself. Even when the security is enabled,
the flash is still fully operational. This means that firmware residing in the flash that enables security can still modify
the flash because read, erase, and program operations to the flash itself are not changed (with the possible exception of
mass erase).
• Flash protection feature: By comparison, the flash protection features only affect the flash itself. The flash protection is
designed to prevent accidental erasure or programming of areas of the flash. This option only affects the ability to
modify selected flash regions; there is no effect on the rest of the processor.
2.1 Security options
The following sections will show the security options that are available on Kinetis. Initially, look at the actual register and
field descriptions from the Kinetis reference manual available on http://www.freescale.com, then go into more detail on how
each option works and how to configure them.
2.1.1 FSEC register and field settings
The Flash Security (FSEC) register contains several fields that are used to enable/disable security and also select a few
features that come into effect when security is enabled. Figure 1 shows the FSEC register fields, and Table 1 shows the bit
settings for each of the fields. The following sections discuss all of the options available in the FSEC register in more detail
including impact on the system and recommended usage.
Figure 1. Flash Security register
Table 1. FSEC field description
Field Description
7–6
KEYEN
Backdoor Key Security Enable.
This field enables and disables backdoor key access to
the flash memory module.
00 Backdoor key access is disabled.
01 Backdoor key access is disabled (preferred
KEYEN state to disable backdoor key access)
10 Backdoor key access is enabled.
11 Backdoor key access is disabled.
Table continues on the next page...
Security vs. protection
Using the Kinetis Security and Flash Protection Features, Rev. 1, 6/2012
2 Freescale Semiconductor, Inc.
General Business Information
剩余12页未读,继续阅读
资源评论
JoeZhou8888
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- springboot项目志同道合交友网站.zip
- springboot项目在线考试系统.zip
- springboot项目在线互动学习网站设计.zip
- springboot项目制造装备物联及生产管理ERP系统.zip
- springboot项目智慧校园之家长子系统.zip
- springboot项目中国陕西民俗网.zip
- RISCV GD32VF103 中断向量模式以及非向量模式
- 基于Rust语言的快速异步与多路复用Redis驱动设计源码
- 基于Vue的教程:学生课业帮扶系统前端设计源码
- 基于JavaScript的在线中国象棋对战平台设计源码
- 基于Lua语言的ESP32嵌入式系统开源设计源码
- 基于Vue的云盘前端设计源码
- 自动驾驶控制-车辆三自由度动力学MPC跟踪双移线 matlab和simulink联合仿真,基于车辆三自由度动力学模型的mpc跟踪双移线
- 分布式驱动汽车稳定性控制 采用分层式直接横摆力矩控制,上层滑模控制,下层基于轮胎滑移率最优分配 滑模控制跟踪横摆角速度和质心侧偏角误差 七自由度整车模型输出实际质心侧偏角和横摆角速度,二自由度模
- 基于Vue.js框架的旅游舆情分析项目设计源码
- 基于TypeScript的轻量级JavaScript点阵库设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功