Electronic Components Datasheet Search
  English  ▼

X  

UM0434 Datasheet(PDF) 326 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) 326 Page - STMicroelectronics

Back Button UM0434 Datasheet HTML 322Page - STMicroelectronics UM0434 Datasheet HTML 323Page - STMicroelectronics UM0434 Datasheet HTML 324Page - STMicroelectronics UM0434 Datasheet HTML 325Page - STMicroelectronics UM0434 Datasheet HTML 326Page - STMicroelectronics UM0434 Datasheet HTML 327Page - STMicroelectronics UM0434 Datasheet HTML 328Page - STMicroelectronics UM0434 Datasheet HTML 329Page - STMicroelectronics UM0434 Datasheet HTML 330Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 326 / 390 page
background image
UM0434
Debug support
327/391
11.7
MMU and cache operation during debug
Normal operation of the MMU may be modified during a debug session using the OnCE
OCR. A debug session begins when the CPU initially enters debug mode and ends when a
OnCE command with Go+Exit is executed, releasing the CPU for normal operation. If
desired during a debug session, the debug firmware may disable the translation process
and may substitute default values for the access protection (UX, UR, UW, SX, SR, SW) bits,
and values obtained from the OnCE control register and page attribute (VLE, W, I, M, G, E)
bits normally provided by a matching TLB entry. In addition, no address translation is
performed; instead, a 1:1 mapping of effective-to-real addresses is performed.
When disabled during a debug session, TLB miss or TLB-related DSI conditions cannot
occur. If the debugger desires to use the normal translation process, the MMU may be left
enabled in the OnCE OCR, and normal translation (including the possibility of a TLB miss or
DSI) remains in effect.
The OCRDMDIS, DW, DI, DM, DG, and DE control bits are used when debug mode is
entered. Refer to the bit definitions in the OCR (See
Chapter : OnCE control register (OCR)
on page 315,” for more detail). These substituted page attribute bits control cache operation
on accesses initiated during debug. No address translation is performed; instead, a 1:1
mapping between effective and real addresses is performed.
11.8
Enabling, using, and exiting external debug Mode: example
The following steps show one possible scenario for a debugger wishing to use the external
debug facilities. This simplified flow shows basic operations and does not cover all potential
methods in depth.
Enable external debug mode and initialize debug registers:
1.
To enable OnCE operation, the debugger should ensure that the
jd_en_once is set.
2.
Write a value to OCR in which OCR[DR] and OCR[WKUP] are set. The TAP controller
must step through the proper states as outlined earlier. This step places the CPU in a
jd_watchpt[4] DAC1(1)
Data address compare 1 watchpoint. Set whenever a DAC1 compare
occurs regardless of whether DAC1 compares are enabled to set DBSR
status.
jd_watchpt[5] DAC2(1)
Data address compare 2 watchpoint. Set whenever a DAC2 compare
occurs regardless of whether DAC2 compares are enabled to set DBSR
status.
j
d_watchpt[6] DCNT1
Debug counter 1 watchpoint. Set whenever debug counter 1 decrements to
zero regardless of whether DCNT1 compares are enabled to set DBSR
status.
jd_watchpt[7] DCNT2
Debug counter 2 watchpoint. Set whenever debug counter 2 decrements to
zero regardless of whether DCNT2 compares are enabled to set DBSR
status.
1.
If the corresponding event is completely disabled in DBCR0, either load-type or store-type data accesses
are allowed to generate watchpoints, otherwise watchpoints are generated only for the enabled conditions.
Table 209.
Watchpoint output signal assignments (continued)
Signal name
Type
Description



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