数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4035 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN4035
功能描述  Flash programming through
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4035 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN4035 Datasheet HTML 17Page - STMicroelectronics AN4035 Datasheet HTML 18Page - STMicroelectronics AN4035 Datasheet HTML 19Page - STMicroelectronics AN4035 Datasheet HTML 20Page - STMicroelectronics AN4035 Datasheet HTML 21Page - STMicroelectronics AN4035 Datasheet HTML 22Page - STMicroelectronics AN4035 Datasheet HTML 23Page - STMicroelectronics AN4035 Datasheet HTML 24Page - STMicroelectronics AN4035 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 42 page
background image
AN4035
On-Chip Emulation (OnCE)
Doc ID 022669 Rev 2
21/41
entering debug mode, the OCR[DR] bit should be cleared leaving the OCR[WKUP] bit set.
OCR[FDB] should also then be set to enable recognition of software breakpoints.
The steps required for entering debug mode during reset assuming the OnCE TAP
controller has been enabled are listed below:
1.
Assert RESET.
2.
Set the OCR[DR] and OCR[WKUP] bits.
3.
De-assert RESET.
4.
Verify debug mode via the DEBUG bit in the OnCE status register.
5.
Clear the OCR[DR] bit while leaving OCR[WKUP] set and set OCR[FDB].
3.6
Enabling external debug mode and other initialization
Before enabling external debug mode, the CPU should be placed into debug mode via the
method outlined in the previous section.
The external tool should then write the DBCR0[EDM] bit to enable external debug mode.
Note that the first write to DBCR0 only affects the EDM bit. All other bits in that register
require DBCR0[EDM] to be set prior to writing them. After enabling external debug mode,
the DBSR status bits should be cleared by writing 0xFFFFFFFF to DBSR. The register
definition of DBSR is shown in Figure 16.
Figure 16.
Debug Status Register (DBSR)
3.7
CPU Status and Control Scan Chain Register (CPUSCR)
CPU information is accessible via the OnCE module through a single scan chain register
named the CPUSCR. The CPUSCR provides access to this CPU information and a
mechanism for an external tool to set the CPU to a desired state before exiting debug mode.
The CPUSCR also provides the ability to access register and memory contents. Figure 3-13
shows the CPUSCR. Once debug mode has been entered, it is required to scan in and
update the CPUSCR prior to exiting debug mode or single stepping. Access to the CPUSCR
is controlled by the OCMD.
01234
56789
10
11
12
13
14
15
R
IDE
UDE
MRR
ICMP
BRT
IRPT
TRAP
IAC1
IAC2
IAC3
IAC4
DAC
1R
DAC
1W
DAC
2R
DAC
2W
W
Reset
00010
0000000
00
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
RET
0000
DEVT
1
DEV
T2
DCNT
1
DCNT
2
CIRPT
CRET
00
0
0
CNT
1RG
W
Reset
00000
0000000
00
0
0



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


数据表 下载

Go To PDF Page


链接网址



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