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

X  

ZUSBOPTSC01ZAC 数据表(PDF) 268 Page - Zilog, Inc.

部件名 ZUSBOPTSC01ZAC
功能描述  Z8 Encore-R Motor Control Flash MCUs
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ZILOG [Zilog, Inc.]
网页  http://www.zilog.com
标志 ZILOG - Zilog, Inc.

ZUSBOPTSC01ZAC 数据表(HTML) 268 Page - Zilog, Inc.

Back Button ZUSBOPTSC01ZAC Datasheet HTML 264Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 265Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 266Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 267Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 268Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 269Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 270Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 271Page - Zilog, Inc. ZUSBOPTSC01ZAC Datasheet HTML 272Page - Zilog, Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 268 / 402 page
background image
On-Chip Debugger
P R E L I M I N A R Y
PS024604-1005
Z8 Encore!® Motor Control Flash MCUs
Product Specification
246
abled during critical sections of code where interrupts do not occur (such as adjusting the
stack pointer or modifying shared data).
Host software can poll the IDLE bit of the OCDSTAT register to determine if the OCD is
looping on a BRK instruction. When software wants to stop the CPU on the BRK instruc-
tion on which it is looping, software must not set the DBGMODE bit of the OCDCTL reg-
ister. The CPU may have vectored to an interrupt service routine. Instead, software clears
the BRKLP bit. This allows the CPU to finish the interrupt service routine it may be in and
return to the BRK instruction. When the CPU returns to the BRK instruction on which it
was previously looping, it automatically sets the DBGMODE bit and enters DEBUG
mode.
The majority of the OCD commands remain disabled when the eZ8 CPU is looping on a
BRK instruction. The eZ8 CPU must be in DEBUG mode before these commands can be
issued.
Break Points in Flash Memory
The BRK instruction is Op Code 00h, which corresponds to the fully programmed state of
a byte in Flash memory. To implement a break point, write 00h to the appropriate address,
overwriting the current instruction. To remove a break point, erase the corresponding page
of Flash memory and reprogram with the original data.
OCDCNTR Register
The On-Chip Debugger contains a multipurpose 16-bit Counter Register. It can be used
for the following:
• Count system clock cycles between break points
• Generate a BRK when it counts down to 0
• Generate a BRK when its value matches the Program Counter
When configured as a counter, the OCDCNTR register starts counting when the On-Chip
Debugger leaves DEBUG mode and stops counting when it enters DEBUG mode again or
when it reaches the maximum count of FFFFh. The OCDCNTR register automatically
resets itself to 0000h when the OCD exits DEBUG mode if it is configured to count clock
cycles between break points.
If the OCDCNTR Register is configured to generate a BRK when it counts down to zero,
it will not be reset when the CPU starts running. The counter will start counting down
toward zero once the On-Chip debugger leaves DEBUG mode. If the On-Chip Debugger
enters DEBUG mode before the OCDCNTR register counts down to zero, the OCDCNTR
will stop counting.
If the OCDCNTR register is configured to generate a BRK when the program counter
matches the OCDCNTR register, the OCDCNTR register will not be reset when the CPU



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


链接网址



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