전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PC912XDP512F0MPVR 데이터시트(PDF) 773 Page - Freescale Semiconductor, Inc

부품명 PC912XDP512F0MPVR
상세설명  HCS12X Microcontrollers
PDF  1348 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  FREESCALE [Freescale Semiconductor, Inc]
홈페이지  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

PC912XDP512F0MPVR 데이터시트(HTML) 773 Page - Freescale Semiconductor, Inc

Back Button PC912XDP512F0MPVR Datasheet HTML 769Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 770Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 771Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 772Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 773Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 774Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 775Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 776Page - Freescale Semiconductor, Inc PC912XDP512F0MPVR Datasheet HTML 777Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 773 / 1348 page
background image
Chapter 20 S12X Debug (S12XDBGV3) Module
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
775
bit in the DBGC1 register is cleared, returning the module to the disarmed state0. If tracing is enabled a
breakpoint request can occur at the end of the tracing session. If neither tracing nor breakpoints are enabled
then when the final state is reached it returns automatically to state0 and the debug module is disarmed.
20.4.5
Trace Buffer Operation
The trace buffer is a 64 lines deep by 64-bits wide RAM array. The S12XDBG module stores trace
information in the RAM array in a circular buffer format. The S12XCPU accesses the RAM array through
a register window (DBGTBH:DBGTBL) using 16-bit wide word accesses. After each complete 64-bit
trace buffer line is read via the S12XCPU, an internal pointer into the RAM is incremented so that the next
read will receive fresh information. Data is stored in the format shown in Table 20-39. After each store the
counter register bits DBGCNT[6:0] are incremented. Tracing of S12XCPU activity is disabled when the
BDM is active but tracing of XGATE activity is still possible. Reading the trace buffer whilst the BDM is
active returns invalid data and the trace buffer pointer is not incremented.
20.4.5.1
Trace Trigger Alignment
Using the TALIGN bits (see Section 20.3.2.3”) it is possible to align the trigger with the end, the middle,
or the beginning of a tracing session.
If End or Mid tracing is selected, tracing begins when the ARM bit in DBGC1 is set and State1 is entered.
The transition to Final State if End is selected signals the end of the tracing session. The transition to Final
State if Mid is selected signals that another 32 lines will be traced before ending the tracing session.
Tracing with Begin-Trigger starts at the opcode of the trigger. Using End or Mid-Trigger or when the
tracing is initiated by writing to the TRIG bit whilst configured for Begin-Trigger, tracing starts at the
second opcode after writing to DBGC1 if written in the CPU thread, .
20.4.5.1.1
Storing with Begin-Trigger
Storing with Begin-Trigger, data is not stored in the Trace Buffer until the Final State is entered. Once the
trigger condition is met the S12XDBG module will remain armed until 64 lines are stored in the Trace
Buffer. If the trigger is at the address of the change-of-flow instruction the change of flow associated with
the trigger will be stored in the Trace Buffer. Using Begin-trigger together with tagging, if the tagged
instruction is about to be executed then the trace is started. Upon completion of the tracing session the
breakpoint is generated, thus the breakpoint does not occur at the tagged instruction boundary.
20.4.5.1.2
Storing with Mid-Trigger
Storing with Mid-Trigger, data is stored in the Trace Buffer as soon as the S12XDBG module is armed.
When the trigger condition is met, another 32 lines will be traced before ending the tracing session,
irrespective of the number of lines stored before the trigger occurred, then the S12XDBG module is
disarmed and no more data is stored. If the trigger is at the address of a change of flow instruction the
trigger event is not stored in the Trace Buffer. Using Mid-trigger with tagging, if the tagged instruction is
about to be executed then the trace is continued for another 32 lines. Upon tracing completion the
breakpoint is generated, thus the breakpoint does not occur at the tagged instruction boundary.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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