义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版

所需积分/C币:49 2017-12-26 11:04:33 4.88MB PDF
收藏 收藏
举报

这是义隆单片机(MCU)系列的支持汇编和C的调试工具eUIDEII的参考手册。 方便大学参考学习,有问题请联系我。FAE:135 9015 2895
LAW 1.1 Overview 1.2 Introduction to CUIDEII Program 1. 2.1 EUIDElI Main user Interface ……2 1.2.2 BUDEll Sub- Windows,……3 1.2.2.1 Project Wind 1.2.2.2 Editor window 1. 2.2.3 Special Register Window 10 2. 2.4 Call Stack window 1. 2.2.5 RAM Bank(General Registers)Window 14 1. 2.2.6 Watch Window 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 番音番音4番音番垂 25 1. 2. 3 CUDEII 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 垂音音番 9 1.2.4.3 Status bar 30 2.1 eUIDEII Menu bar and its menu commands 2.1.1 File menu 31 2.1.2 Edit menu …2 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 21.4 Project menu.............. 音。;看看垂 35 2. 1.4.1 Executing Dump code over 64K to sram?"Command 36 LAW 2. 1.5 Debug Menu....... .36 2. 1.5.1Run 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 Gcncratc 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 de Generated 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.74Environmentsetting.wwwwwwwwwwwwwww.56 2. 1.7.5 Customize 57 2. 1. 8 Window menu 59 2.1.9 Help menu……… ,垂垂看音;司垂,即垂垂,·垂看·非。·4垂 60 3.1 Overview 3.1.1 Systcm Rcquircmcnts 61 3.1.2 Software Installation 3.1.3 ANSI Compatibility….……….……………………………82 3.2 Hardware Power-up 62 3.3 Starting the eUIDEII Program..... 62 3.3.1 Connect Dialog…………… 62 3.3.1.1 Reconnection 3.3.2 Code Option dialog …64 3.3.3 Accelerate Reading registers D 64 3.4 Create a New projec 64 3.4.1 Using the Project Wizard(Project Project Wizard )......... 64 34.2 Using the New Command(File/ Project> New.)…………68 LAW 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. 3.6上 diting Source Files from Folder/ Project.….….….….….….….….….….…..7 3.6. 1 Open Source File from Folder for Editing 2 3.6.2 Open Source File from Project for Editing 3.7 Compile the project...,………… 3 3.8 Dumping the Compiled Program to ICE……… 75 3.9 Debugging a Project …75 3.9.1 Breakpoints Sctting 77 4.1 Assembler and Linker process Flow 9 4.2 Statement Syntax......,..................80 4.2.1 How to define label 4.3 Number Typc · 82 4.4 Assembler Arithmetic Operation 82 4.5 Program Directives 83 4.6 Conditional Assembly 90 4.7 Reserved Word 4.7.1 Directives, Operators......... 4.7.2 Instructions mnemonics 223 4.8Pseudoinstruction,wwwwww..N.G..93 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 9 LAW 5.4 Literal constants……………9 5.4.1 Numeric Constant 5.4.2 Charactcr Constant 5.4.3 String Constant 100 5.5 Data Type…………,…,, …………101 5.6 Enumeration 102 5.7 Structurc and Union 102 5.8 Array ················:·················· 103 5.9 Pointer∴ 104 5.10 Operators 104 5.10.1 Types of Supported Operators 104 5.10.2 Prefix of Operators. 106 5.llIf- else statement……… ·.·.············ 106 5.12 Switch Statement 107 5.13 While statement 107 5.14 Do-while statement 108 5.15 For statement..……,…………108 5.16 Break and Continue statements 109 5.17 Goto statement 109 5.18 Function… 110 5.18.1 Function Prototype 110 5.18.2 Function definiti 110 6.1 Register Page(rpage) 6.2 10 Control Page(iopage) 113 6. 3 Ram bank 114 6. 4 Bit Data Type......... 115 6.5 Data/LCD RAM Indirect Addressing 116 6.6 Allocating C Function to Program ROM 117 6.7 Putting Data in ROM………….….….….…….……,…,……,……………………118 LAW 6.8 Inline assembler .119 6.8.1 Reserved word 19 6.8.2 Use of c variable in the inline assembly 120 6.9 USing Macro 121 6. 10 Interrupt Routine.... 22 6.10.1 Interrupt Save Procedure 122 6. 10.2 Interrupt service routine 122 6.10.3 Reserved Common Registers Operation …123 7. 1 Introduction 127 7.2 Create a New project …127 7.3 Add a new“C” File to the project.. 128 7.4 Add a Second file or a New Header file to the Project. 129 7.5 The Main(, Interrupt Save, and Service Routine Functions 130 7.6 Project Development with Interrupt 131 7.7 Tips on C Compiler Debugging …133 7.7.1 Speed up Debugging…..… 133 7.7.2 iew Corresponding Assembly Code in C Environment……………………133 7.7.3 Viewing Defined Variables in Register Window 134 7.7. 4 Reducing Codcs Sizc in Somc Cascs 134 LAW A1 Introduction ………135 A.2 Class m: Main Program Errors Messages………,…,…,,…135 A3 Class A: Assembler Errors/Warnings Messages 137 A 4 Class L: Linker Error messages 142 A.5 Class D: Debugger Error Messages ∴143 B-1 Conversion between C and Assembly Codes 147 C I FAQ on Assembly 157 C 2 FAQ on Tiny C Compiler C 4 Contacting ELAN FAE............ 161 D I UICE (USB)and its Major Components/Functions …163 D 2 Special Note on eUIDElI Software and uit660N 164 EI C library D章看垂 ··..····.·:·:;·· …165 E.2 Assembly Library…...…,………… 垂,垂··。音··,音·····垂垂 165 F1 Character Class Tests: ctype.h 167 F 2 String Functions: string h 167 F,3 Mathematical functions:“math.h”, 168 F.4 Utility Functions:“ stdlib. h” 168 F5 Others 169 F.5.1 Variable argument Lists:“ stdarg. h… 169 F.5,2 Limits:"“ limits.hand“ float h, 169 LAW F 6 Manual of functions 170 F.6. 1 Character Classification Routines- isalnum, isalpha, iscntrl, isdigit isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit....... 170 F.6.2 Convert Letter to Upper or Lower Case-tolower, toupper 172 F.6.3 Copy a string- strcpy, strncpy…… 172 F.6.4 Link two Strings- strcat, strncat….…..….….….….…….…,…….….….………,173 F.6.5 Compare Two Strings- strcmp, strncmp 173 F.6.6 Locate Charactcr in String -strchr, strrchr 174 F6.7 Search a String of a Specified Set of Characters- strspn, strcspn…………174 F.6.8 Search a String of Any Set of Characters-strpbrk.. 175 F.6.9 Locate a Substring-strstr 175 F.6. 10 Calculate the Length of a String-strlen 176 F611 Extract Tokens from Strings-strtok 176 F.6. 12 Copy Memory Area-memcpy 177 F615 Scan Memory for a Spccificd Character-mcmchr F.6.13 Copy memory area- memmove.…… 177 F.6. 14 Compare Memory Areas-memcmp 178 178 F616 Fill Memory with a Constant byte-memset 9 F.6.l17 Sine function-sin..………,…………179 F.6.18Cυ sine function-cos……… 179 F.6.19 Tangent Function -tan 180 F.6.20 Arcsine function -asin 180 F.6.21 Arccosine Function -acos 181 F622 Arctangent Function-atan............... 181 F623 Arctangent Function of Two variables-atan2 182 F.6.24 Hyperbolic Sinc Function-sinh 182 F625 Hyperbolic Cosine Function-cosh 18 F626 Hyperbolic Tangent Function-tanh...... 183 F.6.27 Exponential, Logarithmic, and Power Functions exp,10g, 10g 10, pow. 183 F.6.28 Square Root Function-sqrt 184 F 6.29 Ceiling Function: Smallest Integral value Not less than argument - ceil 垂垂·垂·看;垂垂垂 184 F.6.30 Largest Integral value Not Greater than Argument-floor.......185 F.6.31 Absolute Valuc of Floating-Point Numbcr-fabs 185 F.6.32 Multiply Floating-Point Number by Integral Power of 2-ldexp 186 LAW F.6.33 Convert Floating-Point Number to fractional and Integral Components- frexp 186 F.6.34 Extract Signed Integral and Fractional valucs from Floating-Point Number-modf ·································· 187 F.6.35 Convert a String to a Float-atof 垂着垂音,垂番垂音···垂垂。垂音·看看·垂 187 F.6.36 Convert a String to an Integer-atoi, atol..... …188 F.6.37 Random Number Generator rand. srand 188 F.6.38 Compute the absolute valuc of an Intcger- abs, labs 189 F,7 Application Notes………… 189

...展开详情
试读 127P 义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版
立即下载 低至0.43元/次 身份认证VIP会员低至7折
抢沙发
一个资源只可评论一次,评论内容不能少于5个字
关注 私信 TA的资源
上传资源赚积分,得勋章
最新推荐
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版 49积分/C币 立即下载
1/127
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第1页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第2页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第3页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第4页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第5页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第6页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第7页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第8页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第9页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第10页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第11页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第12页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第13页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第14页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第15页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第16页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第17页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第18页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第19页
义隆单片机汇编和C语言的调试工具eUIDEII的参考手册 低分版第20页

试读结束, 可继续阅读

49积分/C币 立即下载 >