
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 5
4.1.3 boot.asm .....................................................................................................................90
4.1.4 main.asm/main.c.........................................................................................................90
4.1.5 PSoCConfig.asm.........................................................................................................90
4.1.6 Additional Generated Files..........................................................................................90
4.2 Working in Code Editor...........................................................................................................92
4.2.1 Modifying Files ............................................................................................................92
4.2.2 Adding New Files ........................................................................................................93
4.2.3 Adding Existing Files...................................................................................................93
4.2.4 Removing Files ...........................................................................................................93
4.2.5 Searching Files ...........................................................................................................94
5. Assembler 95
5.1 Accessing the Assembler .......................................................................................................95
5.2 The M8C Microprocessor (MCU)............................................................................................95
5.2.1 Address Spaces ..........................................................................................................96
5.2.2 Instruction Format .......................................................................................................96
5.2.3 Addressing Modes ......................................................................................................96
5.2.4 Destination of Instruction Results................................................................................97
5.3 Assembly File Syntax .............................................................................................................97
5.4 List File Format.......................................................................................................................97
5.5 Assembler Directives ..............................................................................................................98
5.6 Instruction Set ........................................................................................................................99
5.7 Compile and Assemble Files ..................................................................................................99
5.8 Calling Assembly Functions From C.....................................................................................100
6. Build Manager 103
6.1 Building a Project..................................................................................................................103
6.2 C Compiler............................................................................................................................104
6.2.1 ImageCraft Compiler Options....................................................................................104
6.2.2 HI-TECH Compliler Options......................................................................................105
6.3 Linker....................................................................................................................................105
6.3.1 ImageCraft Specific Linker Options...........................................................................106
6.3.2 HI-TECH Specific Linker Configuration Options........................................................106
6.3.3 Customizing Linker Actions.......................................................................................106
6.4 Librarian................................................................................................................................107
7. Debugger 109
7.1 Debugger Components.........................................................................................................109
7.2 Menu Options .......................................................................................................................111
7.3 Connecting to the ICE...........................................................................................................112
7.4 Downloading to the Pod........................................................................................................113
7.5 Debug Strategies..................................................................................................................114
7.5.1 Trace .........................................................................................................................115
7.5.2 Break Points..............................................................................................................116
7.5.3 CPU and Register Views...........................................................................................117
7.5.4 Watch Variables ........................................................................................................118
7.5.5 Dynamic Event Points...............................................................................................119
7.5.6 End Point Data..........................................................................................................123
7.6 I
2
C Debugger........................................................................................................................124
7.6.1 Connecting to the ICE...............................................................................................124
7.6.2 Enable Debug Mode .................................................................................................124
7.6.3 Downloading to the Device .......................................................................................125
Kommentare zu diesen Handbüchern