Electronic Components Datasheet Search
  English  ▼

X  

UM0434 Datasheet(PDF) 314 Page - STMicroelectronics

Part # UM0434
Description  The primary objective of this user?셲 manual is to describe
PDF  390 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0434 Datasheet(HTML) 314 Page - STMicroelectronics

Back Button UM0434 Datasheet HTML 310Page - STMicroelectronics UM0434 Datasheet HTML 311Page - STMicroelectronics UM0434 Datasheet HTML 312Page - STMicroelectronics UM0434 Datasheet HTML 313Page - STMicroelectronics UM0434 Datasheet HTML 314Page - STMicroelectronics UM0434 Datasheet HTML 315Page - STMicroelectronics UM0434 Datasheet HTML 316Page - STMicroelectronics UM0434 Datasheet HTML 317Page - STMicroelectronics UM0434 Datasheet HTML 318Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 314 / 390 page
background image
UM0434
Debug support
315/391
The OnCE decoder receives as input the 10-bit command from the OCMD and the status
signals from the processor, and generates all the strobes required for reading and writing
the selected OnCE registers.
Single-stepping of instructions is performed by placing the CPU in debug mode, scanning
appropriate information into the CPUSCR, and setting the GO bit (with the EX bit cleared)
with the RS field indicating either the CPUSCR or no register selected. After executing a
single instruction, the CPU re-enters debug mode and awaits further commands. During
single-stepping, exception conditions may occur if not properly masked by debug firmware
(interrupts, machine checks, bus error conditions, and so on) and may prevent the desired
instruction from being successfully executed. The OSR[ERR] bit is set to indicate this
condition. In these cases, values in the CPUSCR correspond to the first instruction of the
exception handler.
Additionally, while single-stepping, to prevent debug events from generating debug
interrupts, DBCR0[EDM] is internally forced to 1. Also, during a debug session, DBSR and
DBCNT are frozen from updates due to debug events regardless of DBCR0[EDM]. They
may still be modified during a debug session through a single-stepped mtspr instruction if
DBCR0[EDM] is cleared, or through OnCE access if DBCR0[EDM] is set.
OnCE control register (OCR)
The OCR, shown in
Table 203, forces the core into debug mode and enables/disables
sections of the OnCE control logic. It also provides control over the MMU during a debug
session. (See
Chapter 11.7: MMU and cache operation during debug on page 327.”) The
control bits are read/write. These bits are effective only while OnCE is enabled (
jd_en_once
set).
Table 204 describes OnCE control register fields.
Table 203.
OnCE control register fields
0
7
8
9 10
11
12
13 14 15
16
17 18 19 20 21 22 23 24 28
29
30
31
Field
—
I_DMDIS — I_DVLE I_DI I_DM I_DE DMDIS
—
DW DI DM DG DE
—
WKUP FDB DR
Reset
0x0000_0000 on
m_por, j_trst_b, or entering test-logic-reset state
Table 204.
OnCE control register bit definitions
Bits
Name
Description
0–7
—
Reserved, should be cleared.
8I_DMDIS
Instruction side debug MMU disable control bit. May be used to control whether the MMU is
enabled or disabled during a debug session for instruction accesses.
0MMU not disabled for debug sessions. The MMU functions normally.
1MMU disabled for debug sessions. For instruction accesses, no address translation is
performed (1:1 address mapping) and the TLB IME bits are taken from the OCR bits I_DI,
I_DM, and I_DE. The SX and UX access permission control bits are set, allowing full access.
When disabled, no TLB miss or TLB exceptions are generated for instruction accesses.
External access errors can still occur.
9–10
—
Reserved, should be cleared.
11
I_DVLE
Instruction side debug TLB VLE attribute bit. Provides the VLE attribute bit for when the MMU is
disabled during a debug session.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com