没有合适的资源?快使用搜索试试~ 我知道了~
首页RH850_SOFTWARE_USERMANUAL
资源详情
资源评论
资源推荐
User’s Manual
RH850 Family
User’s Manual: Software
32
Renesas microcontroller
RH850 Family
Preliminary
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).
www.renesas.com
Rev.0.10 Sep, 2012
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. 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 of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: "Standard", "High Quality", and
"Specific". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as "Specific" without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as "Specific" or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is "Standard" unless otherwise
expressly specified in a Renesas Electronics data sheets or data books, etc.
"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.
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
"Specific": Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its 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 be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, 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. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
11. This document may not be 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, or if you have any other inquiries.
(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.
How to Use This Manual
Readers This manual is intended for users who wish to understand the RH850 family software
(V850E3v5 architecture) and design application systems using these products.
Purpose This manual is intended to give users an understanding of the Organization below.
Organization This manual is divided into two parts: Software (this manual) and Hardware.
Hardware Architecture
Pin functions Overview
CPU function Processor Model
On-chip peripheral functions Register Reference
Flash memory programming CPU Virtualization Support Function
Electrical specifications (Target) Hardware Multithreading Function
Exceptions and Interrupts
Memory Management
Coprocessor
Instruction Reference
Reset
Appendix
Conventions Data significance: Higher digits on the left and lower digits on the right
Active low representation: xxx (overscore over pin or signal name)
Memory map address: Higher addresses on the top and lower addresses on the
bottom
Note: Footnote for item marked with Note in the text
Caution: Information requiring particular attention
Remark: Supplementary information
Numeric representation: Binary ... xxxx or xxxxB
Decimal ... xxxx
Hexadecimal ... xxxxH
Prefix indicating power of 2 (address space, memory capacity):
K (kilo): 2
10
= 1,024
M (mega): 2
20
= 1,024
2
G (giga): 2
30
= 1,024
3
The V850E3v5 architecture provides the following architecture classes:
V850E3v5-F: Prioritizes functionality
V850E3v5-V: Provides a balance between functionality and cost
V850E3v5-S: Prioritizes cost
The symbols shown in the following table are appended to each section title to show the
concerned architecture class.
Architecture Class Symbol
V850E3v5-F
-F
V850E3v5-F, V850E3v5-V
-V
-F
V850E3v5-F, V850E3v5-V, V850E3v5-S None
Table of Contents
V850E3v5-F V850E3v5-
V
V850E3v5-S
CHAPTER 1 OVERVIEW ...............................................................................................................1
1.1 V850E3v5 Architecture Features ...........................................................................................1
1.1.1 Multi-processing environment .....................................................................................2
1.1.2 Virtual machines...........................................................................................................2
1.1.3 Hardware multithreading..............................................................................................2
1.2 V850E3v5 Architecture Class ................................................................................................3
1.3 Changes from the V850E2v3 Architecture ............................................................................4
CHAPTER 2 PROCESSOR MODEL ................................................................................................5
2.1 Resource Management ...........................................................................................................5
(1) 3-layer control system..................................................................................................6
(2) 2-layer control system..................................................................................................7
2.2 CPU Operating Modes............................................................................................................8
2.2.1 Definition of CPU operating modes.............................................................................9
(1) Native mode (NM).......................................................................................................9
(2) Virtual machine mode (VM) .......................................................................................9
(3) Supervisor mode (SV) .................................................................................................9
(4) User mode (UM)..........................................................................................................9
2.2.2 CPU operating mode transition .................................................................................... 10
(1) Change due to acknowledging an exception ...............................................................10
(2) Change due to a return instruction...............................................................................10
(3) Change due to a system register instruction ................................................................10
2.2.3 CPU operating modes and privileges...........................................................................11
(1) Hypervisor privilege (HV privilege) ...........................................................................12
(2) Supervisor privilege (SV privilege).............................................................................12
(3) Coprocessor use permissions.......................................................................................12
(4) Operation when there is a privilege violation .............................................................13
2.3 Hardware Thread ....................................................................................................................14
2.3.1 Thread status.................................................................................................................14
(1) Enabled/disabled..........................................................................................................14
(2) Stopped/running...........................................................................................................14
2.3.2 Stopping a thread by executing the HALT instruction ................................................15
2.3.3 Pausing a thread by executing the SNOOZE instruction.............................................15
2.4 Instruction Execution..............................................................................................................16
2.5 Exceptions and Interrupts .......................................................................................................17
2.5.1 Types of exceptions......................................................................................................17
(1) Terminating exceptions ...............................................................................................17
(2) Resumable exceptions .................................................................................................17
(3) Pending exceptions ......................................................................................................17
2.5.2 Exception level ................................................................................................................18
2.6 Coprocessors..............................................................................................................................18
2.6.1 Coprocessor use permissions...........................................................................................18
2.6.2 Correspondences between coprocessor use permissions and coprocessors ...................19
2.6.3 Coprocessor unusable exceptions....................................................................................19
2.6.4 System registers...............................................................................................................19
2.7 Registers.....................................................................................................................................20
2.7.1 Program registers.............................................................................................................20
2.7.2 System registers...............................................................................................................20
2.7.3 Register updating.............................................................................................................22
(1) LDSR and STSR..........................................................................................................22
(2) LDTC and STTC .........................................................................................................25
剩余810页未读,继续阅读
再好一点儿
- 粉丝: 20
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的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直接复制
信息提交成功
评论2