没有合适的资源?快使用搜索试试~ 我知道了~
首页Rh850_Code Flash Library
资源详情
资源评论
资源推荐
R01US0078ED0212
Dec 25, 2017
www.renesas.com
User´s Manual
32
RH850 Family
Code Flash Library, Type T01
Installer: RENESAS_FCL_RH850_T01_V2.xx (xx>=10)
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corp. without notice. Please review the latest information published by
Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
website (http://www.renesas.com).
RENESAS MCU RH850 Family
Notice
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor
products and application examples. You are fully responsible for the incorporation or any other use of the circuits,
software, and information in the design of your product or system. Renesas Electronics disclaims any and all liability for any losses and
damages incurred by you or third parties arising from the use of these circuits, software, or
information.
2.
Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other disputes
involving
patents,
copyrights, or other intellectual property rights of third parties, by or arising from the use of Renesas Electronics products o
r
technical
information described in this document, including but not limited to, the product data, drawing, chart, program, algorithm,
application examples.
3.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas
Electronics or othe
rs.
4.
You shall not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. R
enesas
Electronics
disclaims any and all liability for any losses or damages incurred by you or third parties arising from such alteration,
modification, copy or otherwise misappropriation of Renesas Ele
ctronics products.
5.
Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The
intended
applications for e
ach Renesas Electronics product depends on the product’s quality grade, as indicated below
.
"Standard":
Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment;
home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc.
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale com
munication
equipment;
key financial terminal systems; safety control equipment; etc.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life
or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (space and
undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas
Electronics disclaims any and all liability for any damages or losses incurred by you or third parties arising from the use of any Renesas
Electronics product for which the product is not intended by Renesas
Electronics.
6.
When using the Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application
notes,
"General
Notes for Handling and Using Semiconductor Devices" in the reliability handbook, etc.), and ensure that usage conditions are
within the ranges specified by Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat r
adiation
characteristics, installation, etc. Renesas Electronics disclaims any and all liability for any malfunctions or failure or accident arising out
of the use
of Renesas Electronics products beyond such specified rang
es.
7.
Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products
have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please ensure to implement safety measures to guard them
against the possibility of bodily injury, injury or damage caused by fire, and social damage in the event of failure or malfunction
of
Renesas
Electronics products, such as safety design for hardware and software including but not limited to redundancy, fire control
and
malfunction
prevention, appropriate treatment for aging degradation or any other appropriate measures by your own responsibility a
s
warranty
for your products/system. Because the evaluation of microcomputer software alone is very difficult and not practical, please
evaluate the safety of the final products or systems manufactured by yo
u.
8.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each
Renesas Electronics product. Please investigate applicable laws and regulations that regulate the inclusion or use of controlled
substances, including without limitation, the EU RoHS Directive carefully and sufficiently and use Renesas Electronics products in
compliance with all these applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses
occurring as a result of your noncompliance with applicable laws an
d regulations.
9.
Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, u
se,
or
sale is prohibited under any applicable domestic or foreign laws or regulations. You shall not use Renesas Electronics products o
r
technologies
for (1) any purpose relating to the development, design, manufacture, use, stockpiling, etc., of weapons of mass destruction,
such as nuclear weapons, chemical weapons, or biological weapons, or missiles (including unmanned aerial vehicles (UAVs))
for
delivering
such weapons, (2) any purpose relating to the development, design, manufacture, or use of conventional weapons, or (3) any
other purpose of disturbing international peace and security, and you shall not sell, export, lease, transfer, or release Renesas Electronics
products or technologies to any third party whether directly or indirectly with knowledge or reason to know that the third party or
any
other
party will engage in the activities described above. When exporting, selling, transferring, etc., Renesas Electronics products o
r
technologies,
you shall comply with any applicable export control laws and regulations promulgated and administered by the governments
of the countries asserting jurisdiction over the parties or tra
nsactions.
10.
Please acknowledge and agree that you shall bear all the losses and damages which are incurred from the misuse or violation of the t
erms
and con
ditions described in this document, including this notice, and hold Renesas Electronics harmless, if such misuse or violation results
from your resale or making Renesas Electronics products available any third party.
11.
This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12.
Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or
Renesas Electronics products.
(Note 1)
"Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned
subsidiaries.
(Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
(Rev.3.0-1 November 2016)
How to use this document
(
1) Purpose and Target Readers
This manual is designed to provide the user with an understanding of the functions and characteristics of
the Self-Programming Library. It is intended for users designing application systems incorporating the
library. A basic knowledge of embedded systems is necessary in order to use this manual. The manual
comprises an overview of the library, API description, usage notes and cautions.
Particular attention should be paid to the precautionary notes when using the manual. These notes occur
within the body of the text, at the end of each section, and in the Cautions section.
The revision history summarizes the locations of revisions and additions. It does not list all revisions.
Refer to the text of the manual for details.
(2) List of Abbreviations and Acronyms
Abbreviation Full form
API Application Programming Interface
Code Flash
Embedded Flash where the application code or
constant data is stored.
Data Flash
Embedded Flash where mainly the data of the
EEPROM emulation are stored.
Dual Operation
Dual operation is the capability to access flash memory
during reprogramming another flash memory range.
Between different Code Flash macros dual operation
depends on the device implementation
ECC Error Correction Code
Flash
Electrically erasable and programmable nonvolatile
memory. Different to ROM this type of memory can be
re-programmed several times.
Flash Area Area of Flash consists of several coherent Flash Blocks
Flash Block
A flash block is the smallest erasable unit of the flash
memory.
FCL Code Flash Library (Code Flash access layer)
FDL Data Flash Library (Data Flash access layer)
OPB Option Bytes used to define device behaviour at startup
OTP One Time Programmable
RAM
“Random access memory” - volatile memory with
random access
ROM
“Read only memory” - nonvolatile memory. The content
of that memory cannot be changed during normal
operation.
Self-Programming
Capability to reprogram the embedded flash without
external programming tool only via control code running
on the microcontroller.
Serial programming
The onboard programming mode is used to program
the device with an external programmer tool.
User area (or user memory)
Code flash area that is available for usual user
program. This is where most of the user code resides.
Abbreviation
Full form
User boot area (or extended user memory)
Code flash area designed for storing a bootloader
application.
A
ll trademarks and registered trademarks are the property of their respective owners.
Table of Contents
Chapter 1 Introduction ......................................................................... 7
1.1 Flash Infrastructure ......................................................................................... 7
1.1.1 Dual Operation ......................................................................................... 8
1.1.2 Flash Granularity ..................................................................................... 8
Chapter 2 Architecture ......................................................................... 9
2.1 Library representation ................................................................................... 10
Chapter 3 FCL Functional Specifications ......................................... 11
3.1 Code execution in RAM ................................................................................. 11
3.2 Operating modes ............................................................................................ 11
3.3 Request oriented operation .......................................................................... 13
3.4 Suspend / Resume mechanism .................................................................... 13
3.5 Cancel mechanism ......................................................................................... 15
3.6 Loop supervision ........................................................................................... 15
3.7 Internal error ................................................................................................... 15
Chapter 4 User Interface (API) ........................................................... 17
4.1 Library compile-time configuration .............................................................. 17
4.2 Data types ....................................................................................................... 20
4.2.1 Simple type definitions .......................................................................... 20
4.2.2 r_fcl_command_t ................................................................................... 21
4.2.3 r_fcl_status_t ......................................................................................... 22
4.2.4 r_fcl_request_t ....................................................................................... 24
4.2.5 r_fcl_descriptor_t .................................................................................. 25
4.3 Functions ........................................................................................................ 26
4.3.1 Initialization ............................................................................................ 26
4.3.2 Operation ................................................................................................ 29
4.4 Library commands ......................................................................................... 39
4.4.1 R_FCL_CMD_PREPARE_ENV .............................................................. 40
4.4.2 R_FCL_CMD_ERASE ............................................................................. 42
4.4.3 R_FCL_CMD_WRITE.............................................................................. 44
4.4.4 R_FCL_CMD_SET_LOCKBIT ................................................................ 46
4.4.5 R_FCL_CMD_GET_LOCKBIT ................................................................ 47
4.4.6 R_FCL_CMD_ENABLE_LOCKBITS ...................................................... 49
4.4.7 R_FCL_CMD_DISABLE_LOCKBITS ..................................................... 49
4.4.8 R_FCL_CMD_SET_OTP ......................................................................... 50
4.4.9 R_FCL_CMD_GET_OTP ........................................................................ 52
4.4.10 R_FCL_CMD_SET_OPB ...................................................................... 53
剩余88页未读,继续阅读
tianlixin1981
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3