
CONTENTS
8.2.20 CPU Feature Configuration Register ............................................................................ 96
8.2.21 Bus Exception Control Register.................................................................................... 97
8.3 Usage.................................................................................................................................... 98
8.3.1 The Configuration of CCU............................................................................................. 98
9EJTAG Debug Support.................................................................... 99
9.1 Overview............................................................................................................................... 99
9.2 Detecting Debug Mode....................................................................................................... 100
9.3 Ways of Entering Debug Mode........................................................................................... 100
9.4 Exiting Debug Mode............................................................................................................ 100
9.5 Hardware Breakpoints ........................................................................................................ 100
9.5.1 Instruction Breakpoints................................................................................................ 101
9.5.2 Data Breakpoints......................................................................................................... 101
9.5.3 Overview of Instruction Breakpoint Registers............................................................. 101
9.5.4 Overview of Data Breakpoint Registers...................................................................... 101
9.6 Conditions for Matching Breakpoints.................................................................................. 102
9.6.1 Conditions for Matching Instruction Breakpoints......................................................... 102
9.6.2 Conditions for Matching Data Breakpoints.................................................................. 102
9.6.3 SIMD Load/Store Handling.......................................................................................... 103
9.7 Debug Exceptions from Breakpoints .................................................................................. 103
9.7.1 Debug Exception by Instruction Breakpoint................................................................ 104
9.7.2 Debug Exception by Data Breakpoint......................................................................... 104
9.7.3 Breakpoint Used as Triggerpoint................................................................................. 104
9.8 Test Access Port (TAP) ....................................................................................................... 104
9.8.1 EJTAG Internal and External Interfaces...................................................................... 105
9.8.2 Test Access Port Operation......................................................................................... 105
9.8.3 Test Access Port (TAP) Instructions............................................................................ 109
9.8.4 TAP Processor Accesses .............................................................................................111
9.9 EJTAG Registers .................................................................................................................113
9.9.1 General Purpose Control and Status...........................................................................113
9.9.2 Instruction Breakpoint Registers..................................................................................114
9.9.3 Data Breakpoint Registers ...........................................................................................117
9.9.4 EJTAG TAP Registers................................................................................................. 122
9.10 Debug Exception................................................................................................................. 130
9.10.1 Debug Exception Priorities.......................................................................................... 130
9.10.2 Debug Exception Vector Location............................................................................... 131
9.10.3 General Debug Exception Processing........................................................................ 131
9.10.4 Debug Single Step Exception ..................................................................................... 132
9.10.5 Debug Interrupt Exception........................................................................................... 133
9.10.6 Debug Instruction Break Exception............................................................................. 133
9.10.7 Debug Breakpoint Exception....................................................................................... 133
9.10.8 Debug Data Break on Load/Store Exception.............................................................. 134
9.11 Debug Mode Exceptions..................................................................................................... 134
XBurst®2 CPU Core Programming Manual
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
iii