User manual

Contents UM0036
6/385 Doc ID 7705 Rev 11
7.1.3 Ignoring option bytes (ICC only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
7.1.4 Configuring option byte settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
7.2 Using breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
7.2.1 Software breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
7.2.2 Hardware breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
7.2.3 Setting advanced breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
7.2.4 Advanced breakpoint options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
7.3 Creating a break on trigger input (TRIGIN) . . . . . . . . . . . . . . . . . . . . . . 233
7.4 In-circuit debugging in hot plug mode (SWIM only) . . . . . . . . . . . . . . . . 233
7.5 In-circuit debugging limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
8 DVP and EMU2 (HDS2) emulator features . . . . . . . . . . . . . . . . . . . . . . 237
8.1 Working with output triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
8.2 Using hardware events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
8.2.1 The hardware event window and contextual menu . . . . . . . . . . . . . . . 238
8.2.2 Adding a hardware event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
8.3 Trace recording . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
8.3.1 Trace contextual menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
8.3.2 Viewing trace contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
8.4 Using hardware testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
8.5 Logical analyser (EMU2 emulators only) . . . . . . . . . . . . . . . . . . . . . . . . 248
8.5.1 Defining logical analyser events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
8.5.2 Advanced breaks using the logical analyser . . . . . . . . . . . . . . . . . . . . 251
8.5.3 Trace filtering using the logical analyser . . . . . . . . . . . . . . . . . . . . . . . 252
8.6 Stack control window (DVP emulators) . . . . . . . . . . . . . . . . . . . . . . . . . 254
8.7 Trigger/trace settings (DVP emulators) . . . . . . . . . . . . . . . . . . . . . . . . . . 255
8.7.1 Working with output triggers (DVP) . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
9 STice features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
9.1 Trace recording . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
9.1.1 Trace buffer fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
9.1.2 Trace contextual menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
9.1.3 Emulator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
9.2 Coverage and profiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
9.2.1 Configuring the coverage and profiling settings . . . . . . . . . . . . . . . . . . 267
9.2.2 Running a coverage and profiling session . . . . . . . . . . . . . . . . . . . . . . 271