Sign In
Upload
Manuals
Brands
Epson Manuals
Computer Hardware
S5U1C17001C
Epson S5U1C17001C Manuals
Manuals and User Guides for Epson S5U1C17001C. We have
3
Epson S5U1C17001C manuals available for free PDF download: Manual
Epson S5U1C17001C Manual (742 pages)
CMOS 16-BIT SINGLE CHIP MICROCOMPUTER, C Compiler Package for S1C17 Family
Brand:
Epson
| Category:
Computer Hardware
| Size: 13.48 MB
Table of Contents
Table of Contents
9
1 General
17
Features
19
Outline of Software Tools
20
2 Installation
21
Working Environment
23
Installation Method
24
3 Software Development Procedures
29
Software Development Flow
31
Software Development Using the IDE
34
Tutorial 1 (Basic Operations, from Project Creation to ROM Mask Data)
38
Starting the IDE
38
Creating a Project
40
Creating, Adding, and Editing a Source File
44
Editing the Build Options and the Linker Script
50
Building a Program
58
Debugging a Program
59
Creating ROM Data
73
Tutorial 2 (Using the User Makefiles)
75
Creating a Project
75
Importing Source Files
77
Disabling the GNU17 File Builder
79
Setting and Correcting the Makefile
80
Building a Project
81
Starting the Debugger
81
Tutorial 3 (Importing an IDE Project)
83
Tutorial 4 (How to Use ES-Sim17)
86
Settings Required for Launching ES-Sim17
86
How to Launch ES-Sim17 in the Existing Project
89
Debugging Environment
96
Sections and Linkage
97
4 Source Files
103
File Format and File Name
105
Grammar of C Source
106
Data Type
106
Library Functions and Header Files
107
In-Line Assemble
108
Prototype Declarations
108
Grammar of Assembly Source
109
Statements
109
Notations of Operands
113
Extended Instructions
115
Preprocessor Directives
116
Precautions for Creation of Sources
117
5 Gnu17 Ide
123
Overview
123
Features
123
Some Notes on Use of the IDE
123
Starting and Quitting the IDE
124
Starting the IDE
124
Quitting the IDE
125
IDE Window
126
Menu Bar
127
Window Toolbar
135
Editor Area
136
C/C++ Projects] View
139
Navigator] View
142
Outline] View
145
Console] View
147
Problems] View
148
Properties] View
149
Make Targets] View
150
Search] View
151
Bookmarks] View
154
Tasks] View
155
View Manipulation
157
Perspectives
160
Projects
161
What Is a Project
161
Creating a New Project
161
Opening and Closing a Project
164
Switching Workspaces
165
Importing an Existing Project
166
Deleting a Project
170
Changing the Project Name
171
Resource Manipulation in a Project
172
File Filter
190
Working Set
191
Project Properties
195
The Editor and Editing Source Files
197
Starting the Editor
197
Basic Editing Facilities
199
Editing Functions for C Source Files
200
Outline] View
207
Navigation History
208
Bookmarks
209
Tasks
214
Customizing the Editor
220
Using an External Editor
222
Search
224
Text Search
224
File Search
224
C Search
226
C Search from Context Menu
227
Canceling a Search
227
Search Results
228
Building a Program
230
Setting the Memory Model
230
Setting the Build Goal
232
Setting Compiler Options
233
Setting Assembler Options
240
Setting Linker Options
242
Setting the Vector Checker
246
Generated Makefile
248
Editing a Linker Script
252
Executing a Build Process
276
Clean and Rebuild
278
Using an Original Makefile
280
Starting the Debugger
282
Generating a Parameter File
282
Setting the Debugger Startup Commands
289
Starting up the Debugger
292
Customizing the IDE (Preferences)
294
Additional Description on Dialog Boxes
325
Properties for Project
325
Save Resources
357
Import > File System
358
Export > File System
360
Filters
362
Files Generated in a Project by the IDE
364
6 Compiler
365
Functions
367
Input/Output Files
367
Input File
367
Output Files
367
Starting Method
368
Startup Format
368
Command-Line Options
368
Compiler Output
374
Output Contents
374
Data Representation
375
Method of Using Registers
377
Function Call
378
Stack Frame
378
Grammar of C Source
379
Compiler Implementation Definition
379
Filter Function for Shift JIS Code
380
Functions of Xgcc and Usage Precautions
381
Known Issues
382
7 Library
385
Library Overview
387
Library Files
387
Precautions to be Taken When Adding a Library
388
Emulation Library
389
Overview
389
Floating-Point Calculation Functions
390
Floating-Point Number Processing Implementation Definition
392
Integral Calculation Functions
393
Long Long Type Calculation Functions
393
Compatibility with Coprocessor Instructions
394
ANSI Library
395
Overview
395
ANSI Library Function List
395
Declaring and Initializing Global Variables
401
Lower-Level Functions
402
8 Assembler
405
Functions
407
Input/Output Files
407
Input Files
407
Output File
408
Starting Method
409
Startup Format
409
Command-Line Options
409
Scope
410
Assembler Directives
411
Text Section Defining Directive (.Text)
411
Data Section Defining Directives (.Rodata, .Data)
412
Bss Section Defining Directive (.Bss)
413
Data Defining Directives (.Long, .Short, .Byte, .Ascii, .Space)
414
Area Securing Directive (.Zero)
415
Alignment Directive (.Align)
416
Global Declaring Directive (.Global)
417
Symbol Defining Directive (.Set)
418
Extended Instructions
419
Comparison Instructions
421
Logic Operation Instructions
422
Data Transfer Instructions (between Stack and Register)
423
Data Transfer Instructions (between Memory and Register)
424
Immediate Data Load Instructions
425
Branch Instructions
427
Coprocessor Instructions
430
Xext Instructions
431
Optimization of Extended Instructions
432
Error/Warning Messages
436
Precautions
437
9 Linker
439
Functions
441
Input/Output Files
441
Input Files
441
Output Files
442
Starting Method
442
Startup Format
442
Command-Line Options
442
Linkage
443
Default Linker Script
443
Examples of Linkage
444
Error Messages
446
Precautions
447
10 Debugger
449
Features
451
Input/Output Files
451
Output Files
453
Starting the Debugger
455
Startup Format
455
Startup Options
455
Quitting the Debugger
456
Windows
457
Basic Window Configuration
457
Source] Window
458
Console] Window
470
Registers] Window
471
Memory] Window
474
Breakpoints] Window
477
Watch Expressions] Window
479
Local Variables] Window
482
Simulated I/O] Window
484
Trace] Window
485
Method of Executing Commands
486
Entering Commands from the Keyboard
486
Parameter Input Format
487
Using Menus and Toolbar to Execute Commands
488
Using a Command File to Execute Commands
490
Log Files
491
Debugging Functions
492
Connect Modes
492
Loading a File
493
Source-Level Debugging Function
494
Manipulating Memory, Variables, and Registers
495
Executing the Program
498
Break Functions
502
Trace Functions
506
Simulated I/O
507
Flash Memory Operation
509
Support for Big Endian
512
Command Reference
513
List of Commands
513
Detailed Description of Commands
514
Command Name (Operation of Command)[Supported Modes]
514
Memory Manipulation Commands
515
C17 Fb (Fill Area, in Bytes)
515
C17 Fh (Fill Area, in 16 Bits)
515
C17 Fw (Fill Area, in 32 Bits)[ICD Mini / SIM]
515
Memory Dump)[ICD Mini / SIM]
517
C17 Mvb (Copy Area, in Bytes)
520
C17 Mvh (Copy Area, in 16 Bits)
520
C17 Mvw (Copy Area, in 32 Bits)[ICD Mini / SIM]
520
C17 Df (Save Memory Contents)[ICD Mini / SIM]
522
C17 Readmd (Memory Read Mode)[ICD Mini]
524
Register Manipulation Commands
525
Info Reg (Display Register)[ICD Mini / SIM]
525
Program Execution Commands
527
Continue (Execute Continuously)[ICD Mini / SIM]
527
Until (Execute Continuously with Temporary Break) [ICD Mini / SIM]
529
Step (Single-Step, Every Line)
531
Stepi (Single-Step, Every Mnemonic)[ICD Mini / SIM]
531
Finish (Finish Function)[ICD Mini / SIM]
535
C17 Callmd (Set User Function Call Mode)[ICD Mini / SIM]
536
CPU Reset Commands
539
C17 Rst (Reset)[ICD Mini / SIM]
539
C17 Rstt (Reset Target)[ICD Mini]
540
Interrupt Commands
541
C17 Intclear (Clear Interrupt)[Sim]
542
C17 Int_Load (Load Interrupt Event File)[Sim]
543
Break Setup Commands
544
Break(Set Software PC Break)
544
Tbreak(Set Temporary Software PC Break)[ICD Mini / SIM]
544
Hbreak(Set Hardware PC Break)
547
Thbreak(Set Temporary Hardware PC Break)[ICD Mini / SIM]
547
Delete (Clear Break by Break Number)[ICD Mini / SIM]
550
Clear (Clear Break by Break Position)[ICD Mini / SIM]
552
Enable(Enable Breakpoint)
554
Disable(Disable Breakpoint)[ICD Mini / SIM]
554
Ignore (Disable Breakpoint with Ignore Counts)[ICD Mini / SIM]
556
Info Breakpoints (Display Breakpoint List)[ICD Mini / SIM]
557
C17 Timebrk (Set Lapse of Time Break)[ICD Mini]
558
C17 Hbreakmd (Change Mouse Left-Click Break Setting Mode) [ICD Mini/Sim]
559
C17 Savebreak (Save Set Breakpoints)[ICD Mini/Sim]
560
C17 Loadbreak (Restore Saved Breakpoints)[ICD Mini/Sim]
561
Commands (Setting a Command to Execute after Break) [ICD Mini/Sim]
562
Symbol Information Display Commands
563
Print (Alter Symbol Value)[ICD Mini / SIM]
564
File Loading Commands
565
File (Load Debugging Information)[ICD Mini / SIM]
565
Load (Load Program)[ICD Mini / SIM]
566
C17 Loadmd (Set Program Load Mode)[ICD Mini]
567
Map Information Commands
568
C17 Rpf (Set Map Information)[Sim]
568
C17 Map (Display Map Information)[Sim]
569
Flash Memory Manipulation Commands
570
C17 Fls (Set Flash Memory)[ICD Mini]
570
C17 Fle (Erase Flash Memory)[ICD Mini]
571
Trace Command
572
Simulated I/O Commands
575
C17 Stdin (Data Input Simulation)[ICD Mini / SIM]
575
C17 Stdout (Data Output Simulation)[ICD Mini / SIM]
576
Flash Writer Commands
577
C17 Fwe (Erase Program/Data)[ICD Mini]
577
C17 Fwlp (Load Program)[ICD Mini]
578
C17 Fwld (Load Data)[ICD Mini]
579
C17 Fwdc (Copy Target Memory)[ICD Mini]
580
C17 Fwd (Display Flash Writer Information)[ICD Mini]
581
C17 Profilemd (Profile/Coverage Mode Setting)[Sim]
582
C17 Profile (Launching of Profiler Window)[Sim]
583
C17 Coverage (Launching of Coverage Window)[Sim]
584
Other Commands
585
Set Output-Radix (Change of Variable Display Format)[ICD Mini/Sim]
585
C17 Log (Logging)[ICD Mini / SIM]
586
Source (Execute Command File)[ICD Mini / SIM]
587
C17 Clockmd(Set Execution Counter Mode)
588
C17 Clock(Display Execution Counter)[ICD Mini / SIM]
588
Target (Connect Target)[ICD Mini / SIM]
590
Detach (Disconnect Target)[ICD Mini / SIM]
591
Pwd (Display Current Directory)
592
CD (Changecurrent Directory)[ICD Mini / SIM]
592
C17 Firmupdate (Update Firmware)[ICD Mini]
593
C17 Ttbr (Set TTBR)[SIM]
594
C17 Help (Help)[ICD Mini / SIM]
595
C17 Savewatch (Store Symbols Registered in Watch Window) [ICD Mini /Sim]
597
C17 Loadwatch (Re-Register Stored Symbols in Watch Window) [ICD Mini /Sim]
598
Quit (Quit Debugger)[ICD Mini / SIM]
599
Profiler and Coverage Functions
600
Overview of Functions
600
List of Functions
601
Detailed Description of Functions
602
Parameter Files
610
Status and Error Messages
613
Status Messages
613
Error Messages
613
Embedded System Simulator (ES-Sim17)
615
Input/Output Files
616
Starting and Terminating ES-Sim17
618
Menus
619
Simulating I/O Ports
620
Simulating SVD
622
Simulating an LCD Panel
623
ES-Sim17 Error Massages
624
Restrictions
624
11 Other Tools
626
Make.exe
628
Functional Outline
628
Input File
628
Starting Method
629
Make Files
630
Macro Definition and Reference
634
Dependency List
635
Suffix Definitions
638
Clean
640
Invocation by Sh.exe
640
Messages
641
Precautions
641
Ccap.exe
642
Function
642
Output File
642
Method for Using Ccap
642
Error Messages
643
Objdump.exe
644
Function
644
Input Files
644
Method for Using Objdump
644
Dump Format
645
Error Message
648
Precautions
648
Objcopy.exe
649
Function
649
Input/Output Files
649
Method for Using Objcopy
650
Creating HEX Files
651
Function
652
Input/Output Files
652
Method for Using Ar
653
Moto2Ff.exe
655
Function
655
Input/Output Files
655
Startup Format
655
Error/Warning Messages
656
Creating ROM Area Data
656
Sconv32.Exe
657
Function
657
Input/Output Files
657
Startup Format
657
Error Messages
657
Outline of the Development Tools
658
Winfog17.Exe
659
Outline of Winfog17
659
Input/Output Files
659
Starting up
660
Window
662
Menus and Toolbar Buttons
663
Operation Procedure
664
Error/Warning Messages
667
Sample Output File
668
Winmdc17.Exe
669
Outline of Winmdc17
669
Input/Output Files
669
Starting up
671
Menus and Toolbar Buttons
672
Operation Procedure
673
Error Messages
676
Sample Output File
677
Lcdutil17 (LCD Panel Customizing Tool)
678
Overview
678
Input/Output Files
678
Starting and Closing Lcdutil17
679
Window
679
Menus and Toolbar
680
Producing an LCD File
683
Shortcut Key List
690
Warning Messages and Error Messages
691
Stand-Alone Flash Writer
693
Overview
693
Procedures for Stand-Alone Flash Write
693
Advertisement
Epson S5U1C17001C Manual (289 pages)
CMOS 16-BIT SINGLE CHIP MICROCONTROLLER (C Compiler Package for S1C17 Family) (Ver. 3.2)
Brand:
Epson
| Category:
Microcontrollers
| Size: 4.14 MB
Table of Contents
Table of Contents
6
1 General
12
Features
12
Outline of Software Tools
13
2 Source Files
14
File Format and File Name
14
Grammar of C Source
15
Data Type
15
Library Functions and Header Files
16
In-Line Assemble
17
Prototype Declarations
17
Grammar of Assembly Source
18
Statements
18
Notations of Operands
22
Extended Instructions
24
Preprocessor Directives
25
Precautions for Creation of Sources
26
3 Gnu17 Ide
29
Overview
29
Features
29
Some Notes on Use of the IDE
29
Starting and Quitting the IDE
30
Starting the IDE
30
Quitting the IDE
30
Projects
31
What Is a Project
31
Creating a New Project
31
Creating and Adding a Source File
32
Interrupt Vector and Boot Processing Descriptions
33
Importing an Existing Project
34
Importing a GNU17 Version 2 Project
35
Setting Project Properties
36
Setting GNU17 Project Properties
36
Setting Environment Variables
37
Setting Compiler Path
39
Setting Compiler Options
39
Setting Linker Options
40
Setting Assembler Options
40
Building a Program
42
Editing a Linker Script
42
Executing a Build Process
43
Clean and Rebuild
43
Static Stack Usage Analysis Function
44
Debugging the Program
45
GDB Command File
45
Setting Standard Input/Output
46
Using the Debugger
47
Setting the Debug Configuration
48
Files Generated in a Project by the IDE
49
4 Compiler
50
Functions
50
Input/Output File
50
Input File
50
Output Files
50
Starting Method
51
Startup Format
51
Command-Line Options
51
Compiler Output
56
Output Contents
56
Data Representation
57
Method of Using Registers
59
Function Call
60
Stack Frame
61
Grammar of C Source
62
Compiler Implementation Definition
62
Correspond to Shift JIS Code
63
Functions of Xgcc and Usage Precautions
64
5 Library
65
Library Overview
65
Library Files
65
Precautions to be Taken When Adding a Library
66
Startup Processing Library
67
Overview
67
Vector Tables
67
Stack Pointer Initial Values
67
Startup Processing
68
Emulation Library
69
Overview
69
Floating-Point Calculation Functions
70
Floating-Point Number Processing Implementation Definition
72
Integral Calculation Functions
73
Long Long Type Calculation Functions
73
Compatibility with Coprocessor Instructions
74
ANSI Library
75
Overview
75
ANSI Library Function List
75
Declaring and Initializing Global Variables
81
Lower-Level Functions
82
6 Assembler
84
Functions
84
Input/Output Files
84
Input File
85
Output File
85
Starting Method
86
Startup Format
86
Command-Line Options
86
Scope
87
Assembler Directives
88
Text Section Defining Directive (.Text
88
Data Section Defining Directives(.Rodata, .Data
89
Bss Section Defining Directive (.Bss
90
Data Defining Directives (.Long, .Short, .Byte, .Ascii, .Space
91
Area Securing Directive (.Zero
92
Alignment Directive (.Align
93
Global Declaring Directive (.Global
94
Symbol Defining Directive(.Set
95
Extended Instructions
96
Arithmetic Operation Instructions
96
Comparison Instructions
98
Logic Operation Instructions
99
Data Transfer Instructions (between Stack and Register)
100
Data Transfer Instructions (between Memory and Register)
101
Immediate Data Load Instructions
102
Branch Instructions
104
Coprocessor Instructions
108
Xext Instructions
109
Error/Warning Messages
110
Precautions
111
7 Linker
112
Functions
112
Input/Output Files
112
Input Files
113
Output Files
113
Starting Method
114
Startup Format
114
Command-Line Options
114
Linkage
115
Default Linker Script
115
Examples of Linkage
117
Link Maps
119
Error/Warning Messages
122
Linker Script Generation Wizard
123
Output File
123
Starting and Terminating the Linker Script Generation Wizard
123
Menu
124
Precautions
126
8 Debugger
127
Features
127
Input/Output Files
127
Input Files
127
Output File
128
Starting the Debugger
129
Startup Format
129
Startup Options
130
Executing Command Files
131
Quitting the Debugger
132
Method of Executing Commands
133
Entering Commands from the Keyboard
133
Parameter Input Format
134
Command Reference
135
List of Commands
135
Detailed Description of Commands
136
Command Name (Operation of Command) [Supported Modes]
136
Memory Manipulation Commands
137
C17 Fb (Fill Area, in Bytes)
137
C17 Fh (Fill Area, in 16 Bits)
137
C17 Fw (Fill Area, in 32 Bits) [ICD Mini / SIM]
137
Memory Dump) [ICD Mini / SIM]
139
C17 Mvb (Copy Area, in Bytes)
142
C17 Mvh (Copy Area, in 16 Bits)
142
C17 Mvw (Copy Area, in 32 Bits) [ICD Mini / SIM]
142
C17 Df (Save Memory Contents) [ICD Mini / SIM]
143
Register Manipulation Commands
145
Info Reg (Display Register) [ICD Mini / SIM]
145
Program Execution Commands
147
Continue (Execute Continuously) [ICD Mini / SIM]
147
Until (Execute Continuously with Temporary Break) [ICD Mini / SIM]
148
Step (Single-Step, Every Line)
150
Stepi (Single-Step, Every Mnemonic) [ICD Mini / SIM]
150
Next (Single-Step with Skip, Every Line)
151
Nexti (Single-Step with Skip, Every Mnemonic) [ICD Mini / SIM]
151
Finish (Finish Function) [ICD Mini / SIM]
152
CPU Reset Commands
153
C17 Rst (Reset) [ICD Mini / SIM]
153
C17 Rstt (Reset Target) [ICD Mini]
154
Interrupt Commands
155
C17 Int (Interrupt) [SIM]
155
C17 Intclear (Clear Interrupt) [SIM]
156
Break Setup Commands
157
Break (Set Software PC Break)
157
Tbreak (Set Temporary Software PC Break) [ICD Mini / SIM]
157
Hbreak (Set Hardware PC Break)
160
Thbreak (Set Temporary Hardware PC Break) [ICD Mini / SIM]
160
Delete (Clear Break by Break Number) [ICD Mini / SIM]
162
Clear (Clear Break by Break Position) [ICD Mini / SIM]
163
Enable (Enable Breakpoint)
164
Disable (Disable Breakpoint) [ICD Mini / SIM]
164
Ignore (Disable Breakpoint with Ignore Counts) [ICD Mini / SIM]
165
Info Breakpoints (Display Breakpoint List) [ICD Mini / SIM]
166
Commands (Setting a Command to Execute after Break) [ICD Mini / SIM]
167
Symbol Information Display Commands
168
Info Locals (Display Local Symbol)
168
Info Var (Display Global Symbol) [ICD Mini / SIM]
168
File Loading Commands
170
File (Load Debugging Information) [ICD Mini / SIM]
170
Load (Load Program) [ICD Mini / SIM]
171
Trace Command
172
C17 Tm (Set Trace Mode) [SIM]
172
Other Commands
175
Set Output-Radix (Change of Variable Display Format) [ICD Mini / SIM]
175
Set Logging (Log Output Setting) [ICD Mini / SIM]
176
Source (Execute Command File) [ICD Mini / SIM]
177
Target (Connect Target MCU) [ICD Mini / SIM]
178
Detach (Disconnect Target MCU) [ICD Mini / SIM]
179
Pwd (Display Current Directory)
180
C17 Ttbr (Set TTBR) [SIM]
181
C17 Cpu (Set CPU Type) [SIM]
182
C17 Chgclkmd (DCLK Change Mode) [ICD Mini]
183
C17 Pwul (Unlock Flash Security Password) [ICD Mini]
184
C17 Help (Help) [ICD Mini / SIM]
185
C17 Model_Path (Model-Specific Information File Directory Setting) [ICD Mini / SIM]
185
C17 Model (MCU Model Name Setting) [ICD Mini / SIM]
188
C17 Flv (Flash Programming Power Setting) [ICD Mini]
190
C17 Flvs (Flash Programming Power Setting Cancellation) [ICD Mini]
191
C17 Stdin (Input of Data Using Input/Output Functions) [ICD Mini / SIM]
192
C17 Stdout (Output of Data Using Input/Output Functions) [ICD Mini / SIM]
193
C17 Lcdsim (LCD Panel Simulator Setting/Cancellation) [ICD Mini]
194
Quit (Quit Debugger) [ICD Mini / SIM]
195
Status and Error Messages
196
Status Messages
196
Error Messages
196
Run Time Measurement
197
Display Method
197
Restrictions
197
Peripheral Circuit Simulator (ES-Sim17)
198
Input/Output Files
199
Starting and Terminating ES-Sim17
200
Menus
201
Simulating I/O Ports
202
Simulating SVD
204
Simulating an LCD Driver
205
ES-Sim17 Error Massages
206
Restrictions
206
LCD Panel Simulator
207
Input Files
208
Starting and Terminating the LCD Panel Simulator
209
Procedure for Modifying the Program
210
Restrictions
211
Profiler Coverage
212
Input/Output Files
212
Starting and Terminating the Profiler Coverage
213
Preparation
214
Coverage Function
215
Profiler Function
216
Restrictions
216
9 Creating Data to be Submitted
217
Outline of Tools for Creating Data to be Submitted
217
Procedure for Creating Data to be Submitted
218
Creating FDC Files (Function Option Documents) Using Winfog17
218
Creating PSA Files (ROM Data)
221
Creating PA Files (Data to be Submitted) Using Windmc17
221
PA File (Data to be Submitted) Separation Procedure
222
Error Messages for Submitted Data Creation Tools
225
Winfog17 Error Messages
225
Winmdc17 Error Messages
226
Sample Output for Submitted Data Creation Tools
227
Epson S5U1C17001C Manual (303 pages)
CMOS 16-BIT SINGLE CHIP MICROCONTROLLER (C Compiler Package for S1C17 Family) (Ver. 3.1)
Brand:
Epson
| Category:
Microcontrollers
| Size: 2.78 MB
Table of Contents
Table of Contents
11
1 General
17
Features
19
Outline of Software Tools
20
2 Source Files
21
File Format and File Name
23
Grammar of C Source
24
Data Type
24
Library Functions and Header Files
25
In-Line Assemble
26
Prototype Declarations
26
Grammar of Assembly Source
27
Statements
27
Notations of Operands
31
Extended Instructions
33
Preprocessor Directives
34
Precautions for Creation of Sources
35
3 Gnu17 Ide
39
Overview
41
Features
41
Some Notes on Use of the IDE
41
Starting and Quitting the IDE
42
Starting the IDE
42
Quitting the IDE
42
Projects
43
What Is a Project
43
Creating a New Project
43
Creating and Adding a Source File
44
Interrupt Vector and Boot Processing Descriptions
45
Importing an Existing Project
46
Importing a GNU17 Version 2 Project
47
Setting Project Properties
48
Setting GNU17 Project Properties
48
Setting Environment Variables
49
Setting Compiler Path
51
Setting Compiler Options
51
Setting Linker Options
52
Setting Assembler Options
53
Building a Program
54
Editing a Linker Script
54
Executing a Build Process
55
Clean and Rebuild
55
Debugging the Program
57
GDB Command File
57
Setting Standard Output
58
Using the Debugger
59
Setting the Debug Configuration
60
Files Generated in a Project by the IDE
61
4 Compiler
63
Functions
65
Input/Output File
65
Input File
65
Output Files
65
Starting Method
66
Startup Format
66
Command-Line Options
66
Compiler Output
72
Output Contents
72
Data Representation
73
Method of Using Registers
76
Function Call
77
Stack Frame
78
Grammar of C Source
79
Compiler Implementation Definition
79
Filter Function for Shift JIS Code
80
Functions of Xgcc and Usage Precautions
81
5 Library
83
Library Overview
85
Library Files
85
Precautions to be Taken When Adding a Library
86
Startup Processing Library
87
Overview
87
Vector Tables
87
Stack Pointer Initial Values
87
Startup Processing
88
Emulation Library
89
Overview
89
Floating-Point Calculation Functions
90
Floating-Point Number Processing Implementation Definition
92
Integral Calculation Functions
93
Long Long Type Calculation Functions
94
Compatibility with Coprocessor Instructions
95
ANSI Library
96
Overview
96
ANSI Library Function List
96
Declaring and Initializing Global Variables
102
Lower-Level Functions
103
6 Assembler
105
Functions
107
Input/Output Files
107
Input File
108
Output File
108
Starting Method
109
Startup Format
109
Command-Line Options
109
Scope
110
Assembler Directives
111
Text Section Defining Directive (.Text
111
Data Section Defining Directives(.Rodata, .Data
112
Bss Section Defining Directive (.Bss
113
Data Defining Directives (.Long, .Short, .Byte, .Ascii, .Space
114
Area Securing Directive (.Zero
115
Alignment Directive (.Align
116
Global Declaring Directive (.Global
117
Symbol Defining Directive(.Set
118
Extended Instructions
119
Arithmetic Operation Instructions
119
Comparison Instructions
121
Logic Operation Instructions
122
Data Transfer Instructions (between Stack and Register)
123
Data Transfer Instructions (between Memory and Register)
124
Immediate Data Load Instructions
125
Branch Instructions
127
Coprocessor Instructions
131
Xext Instructions
132
Error/Warning Messages
133
Precautions
134
7 Linker
135
Functions
137
Input/Output Files
137
Input Files
138
Output Files
138
Starting Method
139
Startup Format
139
Command-Line Options
139
Linkage
140
Default Linker Script
140
Examples of Linkage
142
Link Maps
144
Error/Warning Messages
147
Precautions
148
8 Debugger
149
Features
151
Input/Output Files
151
Input Files
151
Output File
152
Starting the Debugger
153
Startup Format
153
Startup Options
154
Executing Command Files
155
Quitting the Debugger
156
Method of Executing Commands
157
Entering Commands from the Keyboard
157
Parameter Input Format
158
Command Reference
159
List of Commands
159
Detailed Description of Commands
160
Command Name (Operation of Command) [Supported Modes]
160
Command Details
161
Memory Manipulation Commands
161
C17 Fb (Fill Area, in Bytes)
161
C17 Fh (Fill Area, in 16 Bits)
161
C17 Fw (Fill Area, in 32 Bits) [ICD Mini / SIM]
161
Memory Dump) [ICD Mini / SIM]
163
C17 Mvb (Copy Area, in Bytes)
166
C17 Mvh (Copy Area, in 16 Bits)
166
C17 Mvw (Copy Area, in 32 Bits) [ICD Mini / SIM]
166
C17 Df (Save Memory Contents) [ICD Mini / SIM]
167
Register Manipulation Commands
169
Info Reg (Display Register) [ICD Mini / SIM]
169
Program Execution Commands
171
Continue (Execute Continuously) [ICD Mini / SIM]
171
Until (Execute Continuously with Temporary Break) [ICD Mini / SIM]
172
Step (Single-Step, Every Line)
174
Stepi (Single-Step, Every Mnemonic) [ICD Mini / SIM]
174
Next (Single-Step with Skip, Every Line)
175
Nexti (Single-Step with Skip, Every Mnemonic) [ICD Mini / SIM]
175
Finish (Finish Function) [ICD Mini / SIM]
176
CPU Reset Commands
177
C17 Rst (Reset) [ICD Mini / SIM]
177
C17 Rstt (Reset Target) [ICD Mini]
178
Interrupt Commands
179
C17 Int (Interrupt) [SIM]
179
C17 Intclear (Clear Interrupt) [SIM]
180
Break Setup Commands
181
Break (Set Software PC Break)
181
Tbreak (Set Temporary Software PC Break) [ICD Mini / SIM]
181
Hbreak (Set Hardware PC Break)
184
Thbreak (Set Temporary Hardware PC Break) [ICD Mini / SIM]
184
Delete (Clear Break by Break Number) [ICD Mini / SIM]
186
Clear (Clear Break by Break Position) [ICD Mini / SIM]
187
Enable (Enable Breakpoint)
188
Disable (Disable Breakpoint) [ICD Mini / SIM]
188
Ignore (Disable Breakpoint with Ignore Counts) [ICD Mini / SIM]
189
Info Breakpoints (Display Breakpoint List) [ICD Mini / SIM]
190
Commands (Setting a Command to Execute after Break) [ICD Mini / SIM]
191
Symbol Information Display Commands
192
Info Locals (Display Local Symbol)
192
Info Var (Display Global Symbol) [ICD Mini / SIM]
192
Print (Alter Symbol Value) [ICD Mini / SIM]
193
File Loading Commands
194
File (Load Debugging Information) [ICD Mini / SIM]
194
Load (Load Program) [ICD Mini / SIM]
195
Trace Command
196
C17 Tm (Set Trace Mode) [SIM]
196
Other Commands
199
Set Output-Radix (Change of Variable Display Format) [ICD Mini / SIM]
199
Set Logging (Log Output Setting) [ICD Mini / SIM]
200
Source (Execute Command File) [ICD Mini / SIM]
201
Target (Connect Target) [ICD Mini / SIM]
202
Detach (Disconnect Target) [ICD Mini / SIM]
203
Pwd (Display Current Directory)
204
C17 Ttbr (Set TTBR) [SIM]
205
C17 Cpu (Set CPU Type) [SIM]
206
C17 Chgclkmd (DCLK Change Mode) [ICD Mini]
207
C17 Pwul (Unlock Flash Security Password) [ICD Mini]
208
C17 Help (Help) [ICD Mini / SIM]
209
C17 Model_Path (Model-Specific Information File Directory Setting) [ICD Mini / SIM]
209
C17 Model (MCU Model Name Setting) [ICD Mini / SIM]
212
Quit (Quit Debugger) [ICD Mini / SIM]
213
Status and Error Messages
214
Status Messages
214
Error Messages
214
Peripheral Circuit Simulator (ES-Sim17)
215
Input/Output Files
216
Starting and Terminating ES-Sim17
218
Menus
219
Simulating I/O Ports
220
Simulating SVD
222
Simulating an LCD Panel
223
ES-Sim17 Error Massages
224
Restrictions
224
9 Creating Data to be Submitted
225
Outline of Tools for Creating Data to be Submitted
227
Procedure for Creating Data to be Submitted
228
Creating FDC Files (Function Option Documents) Using Winfog17
228
Creating PSA Files (ROM Data)
231
Creating PA Files (Data to be Submitted) Using Windmc17
231
PA File (Data to be Submitted) Separation Procedure
232
Error Messages for Submitted Data Creation Tools
235
Winfog17 Error Messages
235
Winmdc17 Error Messages
236
Sample Output for Submitted Data Creation Tools
237
Advertisement
Advertisement
Related Products
Epson S5U1C17801T1100
Epson S5U1C17001H
Epson S5U1C63000H2
Epson S5U1C63000A
Epson S5U1C330M2S
Epson S5U1C63000P
Epson S5U1C88000P
Epson S5U1C63000H6
Epson S5U1C60N08E
Epson S5U1C62N51E1
Epson Categories
Printer
Projector
All in One Printer
Scanner
Printer Accessories
More Epson Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL