没有合适的资源?快使用搜索试试~ 我知道了~
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版
需积分: 50 9 下载量 144 浏览量
2017-12-26
11:04:33
上传
评论
收藏 4.88MB PDF 举报
温馨提示
试读
200页
这是义隆单片机(MCU)系列的支持汇编和C的调试工具eUIDEII的参考手册。 方便大学参考学习,有问题请联系我。FAE:135 9015 2895
资源推荐
资源详情
资源评论
eUIDEII
C & Assembly
for
EM78 Series
Microcontrollers
USER’S GUIDE
Doc. Version 1.2
(Applicable to eUIDEII Version 2.0 & later)
ELAN
MICROELECTRONICS
CORP.
May 2011
FAE:135 9015 2895
Trademark Acknowledgments
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation.
Copyright
© 2009 ~ 2011 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this User’s Guide (publication) are subject to change without further notice. ELAN Microelec-
tronics assumes no responsibility concerning the accuracy, adequacy, or completeness of this publication. ELAN
Microelectronics makes no commitment to update, or to keep current the information and material contained in
this publication. Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the information or material contained in this publication. ELAN Microelectronics shall not
be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information
or material.
The software (eUIDEII) described in this publication is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PART OF THIS PUBLICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY
ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
No. 12, Innovation 1
st
Road
Hsinchu Science Park
Hsinchu, TAIWAN 30076
Tel: +886 3 563-9977
Fax: +886 3 563-9966
webmaster@emc.com.tw
http://www.emc.com.tw
Hong Kong:
Elan (HK) Microelectronics
Corporation, Ltd.
Flat A, 19F., World Tech Centre 95
How Ming Street, Kwun Tong
Kowloon, HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
USA:
Elan Information Technology
Group (U.S.A.)
PO Box 601
Cupertino, CA 95015
U.S.A.
Tel: +1 408 366-8225
Fax: +1 408 366-8225
Shenzhen:
Korea: Shanghai:
Elan Microelectronics
Shenzhen, Ltd.
Elan Korea Electronics
Company, Ltd.
Elan Microelectronics
Shanghai, Ltd.
3F, SSMEC Bldg., Gaoxin S. Ave. I
301 Dong-A Building
632 Kojan-Dong, Namdong-ku
Rm101, #3 Lane 289, Bisheng Rd.
,
Zhangjiang Hi-Tech Park
Shenzhen Hi-tech Industrial Park
(South Area), Shenzhen
Incheon City, KOREA
Pudong New Area, Shanghai,
CHINA 201204
Tel: +82 32 814-7730
CHINA 518057
Tel: +86 755 2601-0565
Fax: +82 32 813-7730
Tel: +86 21 5080-3866
Fax: +86 755 2601-0500
Fax: +86 21 5080-0273
elan-sz@elanic.com.cn elan-sh@elanic.com.cn
FAE:135 9015 2895
Contents
EM78 Series eUIDEII User’s Guide
• iii
Contents
1 Introduction 1
1.1 Overview....................................................................................................................1
1.2 Introduction to eUIDEII Program..............................................................................1
1.2.1 eUIDEII Main User Interface .........................................................................2
1.2.2 eUIDEII Sub-Windows...................................................................................3
1.2.2.1 Project Window ...............................................................................3
1.2.2.2 Editor Window.................................................................................5
1.2.2.3 Special Register Window ..............................................................10
1.2.2.4 Call Stack Window ........................................................................12
1.2.2.5 RAM Bank (General Registers) Window......................................14
1.2.2.6 Watch Window ..............................................................................15
1.2.2.7 Data RAM Window.......................................................................20
1.2.2.8 LCD RAM Window ......................................................................20
1.2.2.9 EEPROM Window .......................................................................24
1.2.2.10 Output Window ............................................................................25
1.2.3 eUIDEII Menu Bar .......................................................................................27
1.2.4 ToolBar .........................................................................................................27
1.2.4.1 Toolbar Icons and its Functions and Hotkeys................................27
1.2.4.2 Document Bar................................................................................29
1.2.4.3 Status Bar.......................................................................................30
2 The eUIDEII Commands 31
2.1 eUIDEII Menu Bar and its Menu Commands .........................................................31
2.1.1 File Menu......................................................................................................31
2.1.2 Edit Menu......................................................................................................32
2.1.2.1 Executing Find Command from Edit Menu..................................33
2.1.2.2 Executing Find Command with Shortcut Hotkeys........................34
2.1.3 View Menu....................................................................................................34
2.1.4 Project Menu.................................................................................................35
2.1.4.1 Executing “Dump code over 64K to sram” Command .................36
FAE:135 9015 2895
Contents
iv • EM78 Series eUIDEII User’s Guide
2.1.5 Debug Menu..................................................................................................36
2.1.5.1 “Run From” Command Sub-Menu Function Description.............38
2.1.5.2 “Address Breakpoint” Dialog Function Description.....................38
2.1.6 Tool Menu.....................................................................................................44
2.1.6.1 Computing Execution Time...........................................................45
2.1.6.2 Moving Data from File to SRAM
(Applicable to EM78815 only)......................................................46
2.1.6.3 How to Generate an Approval Form .............................................48
2.1.6.4 How to Redefine the TP Values by Dialog....................................50
2.1.6.5 How to Redefine the TP Values from eSense IDE
Generated eSense File ...................................................................51
2.1.7 Option Menu .................................................................................................52
2.1.7.1 Debug Option Setting....................................................................52
2.1.7.2 Accelerate Reading Registers........................................................54
2.1.7.3 View Setting ..................................................................................54
2.1.7.4 Environment Setting......................................................................56
2.1.7.5 Customize…..................................................................................57
2.1.8 Window Menu...............................................................................................59
2.1.9 Help Menu ....................................................................................................60
3 Getting Started 61
3.1 Overview..................................................................................................................61
3.1.1 System Requirements....................................................................................61
3.1.2 Software Installation .....................................................................................61
3.1.3 ANSI Compatibility ......................................................................................62
3.2 Hardware Power-up .................................................................................................62
3.3 Starting the eUIDEII Program .................................................................................62
3.3.1 Connect Dialog .............................................................................................62
3.3.1.1 Reconnection .................................................................................63
3.3.2 Code Option Dialog ......................................................................................64
3.3.3 Accelerate Reading Registers Dialog ...........................................................64
3.4 Create a New Project ...............................................................................................64
3.4.1 Using the Project Wizard (Project Æ Project Wizard) .................................64
3.4.2 Using the New Command (File/Project Æ New…) .....................................68
FAE:135 9015 2895
Contents
EM78 Series eUIDEII User’s Guide
• v
3.5 Add and Remove Source Files from/to Project .......................................................70
3.5.1 Create and Add a New Source File for the Project .......................................70
3.5.2 Add Existing Source Files to the New Project..............................................71
3.5.3 Deleting Source Files from Project...............................................................72
3.6 Editing Source Files from Folder/Project ................................................................72
3.6.1 Open Source File from Folder for Editing....................................................72
3.6.2 Open Source File from Project for Editing...................................................73
3.7 Compile the Project..................................................................................................73
3.8 Dumping the Compiled Program to ICE .................................................................75
3.9 Debugging a Project.................................................................................................75
3.9.1 Breakpoints Setting.......................................................................................77
4 Assembler and Linker 79
4.1 Assembler and Linker Process Flow........................................................................79
4.2 Statement Syntax .....................................................................................................80
4.2.1 How to Define Label......................................................................................80
4.3 Number Type............................................................................................................82
4.4 Assembler Arithmetic Operation .............................................................................82
4.5 Program Directives ..................................................................................................83
4.6 Conditional Assembly..............................................................................................90
4.7 Reserved Word.........................................................................................................92
4.7.1 Directives, Operators .....................................................................................92
4.7.2 Instructions Mnemonics.................................................................................92
4.8 Pseudo Instruction....................................................................................................93
5 C Fundamental Elements 95
5.1 Comments ................................................................................................................95
5.2 Reserved Words .......................................................................................................96
5.3 Preprocessor Directives ...........................................................................................96
5.3.1 #include.........................................................................................................96
5.3.2 #define...........................................................................................................98
5.3.3 #if, #else, #elif, #endif ..................................................................................98
5.3.4 #ifdef, #ifndef ...............................................................................................99
FAE:135 9015 2895
剩余199页未读,继续阅读
资源评论
jdbug
- 粉丝: 1
- 资源: 38
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功