High-performance Embedded Workshop Contents
REJ10J1837-0100 Rev.1.00 Nov. 16, 2008
vi
15.5.2 Recordable functions (dependent on the debugger)....................................................................................221
15.6 Playing a macro.....................................................................................................................................................229
15.7 Editing a macro......................................................................................................................................................229
15.8 Assigning a macro.................................................................................................................................................230
15.9 Configuring the Macro tab of the Output window.................................................................................................231
16. Using the Test Support Facility ...............................................................................................232
16.1 Creating a test suite................................................................................................................................................232
16.2 Opening and closing test suites..............................................................................................................................233
16.3 Editing a test suite..................................................................................................................................................233
16.4 Adding tests to the test suite..................................................................................................................................235
16.5 Creating a test image file.......................................................................................................................................236
16.6 Functions that can be saved as test-image data into test-image files.....................................................................237
16.6.1 Functions that can be saved into test-image files (common to all High-performance Embedded Workshop
products) 238
16.6.2 Functions that can be saved into test-image files (dependent on the debugger)..........................................243
16.7 Comparing a test image file...................................................................................................................................255
16.8 Running tests.........................................................................................................................................................256
16.9 Using the test browser............................................................................................................................................257
16.10 Configuring the Test pane of the Workspace window...........................................................................................258
16.11 Configuring the Test tab of the Output window....................................................................................................259
17. Using the Debugger .................................................................................................................261
17.1 Preparations for debugging....................................................................................................................................261
17.1.1 Compiling for debug...................................................................................................................................261
17.1.2 Selecting a debugging platform...................................................................................................................261
17.1.3 Editing project configuration......................................................................................................................272
17.1.4 Configuring the debugging platform...........................................................................................................272
17.1.5 Downloading modules................................................................................................................................278
17.1.6 Debugger sessions.......................................................................................................................................290
17.2 Viewing a program................................................................................................................................................295
17.2.1 Opening the Editor window........................................................................................................................296
17.2.2 Opening the Disassembly window..............................................................................................................302
17.2.3 Looking at the current PC position.............................................................................................................308
17.2.4 Highlighting the line at the PC....................................................................................................................308
17.3 Operating memory.................................................................................................................................................309
17.3.1 Opening the Memory window.....................................................................................................................309
17.3.2 Modifying memory contents.......................................................................................................................311
17.3.3 Selecting a memory range...........................................................................................................................312
17.3.4 Filling an area of memory with constant data.............................................................................................313
17.3.5 Copying an area of memory........................................................................................................................313
17.3.6 Comparing the memory contents................................................................................................................314
17.3.7 Testing an area of memory..........................................................................................................................315
17.3.8 Saving memory contents in a text file.........................................................................................................315
17.3.9 Finding a value in memory.........................................................................................................................316
17.3.10 Changing the display address......................................................................................................................316
17.3.11 Changing the scroll area..............................................................................................................................317
17.3.12 Starting address to value of the register......................................................................................................317
17.3.13 Tracking the stack pointer position.............................................................................................................317
17.3.14 Changing the program display position immediately after downloading....................................................318
17.3.15 Refreshing the Memory window.................................................................................................................318
17.3.16 Disabling refresh of the Memory window..................................................................................................318
17.3.17 Regularly refreshing the Memory window.................................................................................................318
17.3.18 Specifying the refresh interval....................................................................................................................319