Copyright ©2012 Zilog®, Inc. All rights reserved.www.zilog.comUser ManualZ8051 On-Chip Debugger and In-System ProgrammerZ8051™ Family of 8-Bit Microco
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual2The Z8051 On-Chip DebuggerThe Z8051 On-Chip Debug
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual3FeaturesThe key features of the Z8051 On-Chip Deb
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual4If you have already installed the Z8051 software
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual53. Select Browse my computer for driver software
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual6Figure 3. Browse For Driver Dialog, Windows Vista
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual74. When Windows prompts you whether to install or
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual85. When the installation is complete, the screen
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual9Figure 6. Unsuccessful Installation, Scenario 1
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual10Figure 7. Unsuccessful Installation, Scenario 2
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual116. If Zilog Z8051 USB OCD appears in the Device
UM024002-0512 Z8051 On-Chip Debugger and In-System ProgrammerUser ManualiiDO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.LIFE SUPPORT POLICYZILOG’S
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual12Understanding the OCD Menu FunctionsThis section
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual133. The Hex file name panel, located on the left
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual144. In the Open File dialog, select the hex file
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual156. The debugger will automatically search for ma
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual16Go FromThe Go From menu selection starts emulati
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual17If the Step Over function reaches a PC breakpoin
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual18Break BEFORE (AFTER)The Break BEFORE (AFTER) fun
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual19This Break BEFORE (AFTER) function is disabled (
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual20including the PLL and ADC functions, will be sto
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual21Hardware Test to RepairThe Hardware Test to Repa
UM024002-0512 Revision HistoryZ8051 On-Chip Debugger and In-System ProgrammerUser ManualiiiRevision HistoryEach instance in the Revision History tab
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual22Each of the View menu’s functions are described
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual23Status BarThis menu selection displays or hides
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual24The Code Disassemble menu selection is disabled
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual25The Code Dump menu selection is disabled (greyed
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual26The XDATA Dump menu selection is disabled (greye
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual27The IRAM Dump menu selection is disabled (greyed
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual28The SFR Dump menu selection is disabled (greyed
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual29Watch LocalThis menu selection opens a window th
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual30The Text File menu selection is disabled (greyed
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual31Window MenuThe Window menu, shown in Figure 30,
UM024002-0512 Table of ContentsZ8051 On-Chip Debugger and In-System ProgrammerUser ManualivTable of ContentsRevision History . . . . . . . . . . . .
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual32CascadeThis menu selection arranges opened child
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual33TileThis menu selection arranges opened child wi
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual34Child WindowsChild windows are secondary windows
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual35In Figure 35, the R0–R7 registers are highlighte
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual36In Figure 36, the red area highlights the Progra
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual37In Figure 38, the red area highlights the DPTR R
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual38If map/symbol files are already loaded, the affe
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual39Line AssembleThe Line Assemble function supports
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual40To set or clear a PC breakpoint, set your cursor
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual41EditUsers can change data values in the Code Dum
UM024002-0512 Table of ContentsZ8051 On-Chip Debugger and In-System ProgrammerUser ManualvChild Windows . . . . . . . . . . . . . . . . . . . . . .
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual42If you wish to cancel your inputs, press the Esc
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual43LoadClick the Load button to display the Pattern
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual44FillClick the Fill button to display the Pattern
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual45EditUsers can change data values in the Code Dum
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual46BankThe devices in the Z8051 Series use a linear
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual47LoadClick the Load button to display the Pattern
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual48IRAM Dump WindowThe IRAM Dump window displays ea
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual49To learn more about direct and indirect memory a
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual50If you wish to cancel your inputs, press the Esc
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual51The special function registers differ in each Z8
UM024002-0512 List of FiguresZ8051 On-Chip Debugger and In-System ProgrammerUser ManualviList of FiguresFigure 1. On-Chip Debugger Screen . . . . .
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual52If you wish to cancel your inputs, press the Esc
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual53Add SymbolClicking the Add Symbol button display
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual54EditUsers can change data values in the Watch Gl
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual55EditUsers can change data values in the Watch Lo
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual56Figure 65 shows an example C source program modu
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual57If program flow is changed to another module, th
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual58Example 2. If a map/symbol file has been loaded
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual59Goto LineClicking the Goto Line button displays
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual60Example. Double-click the left button on your mo
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual61Break ToggleIf a map/symbol file has been loaded
UM024002-0512 List of FiguresZ8051 On-Chip Debugger and In-System ProgrammerUser ManualviiFigure 34. Using the Basic Registers Function, #2 of 6 .
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual62Figure 72 shows an example of a segment of sourc
UM024002-0512 The Z8051 On-Chip DebuggerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual63In Figure 73, the color of the current program c
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual64The Z8051 OCD In-System ProgrammerThe Z8
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual65FeaturesThe key features of the Z8051 On
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual66Apply PowerObserve the following procedu
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual67Select DeviceObserve the following proce
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual68Load Code HEX FileObserve the following
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual691. Select Load Code HEX File from the He
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual703. The OCD_ISP dialog box appears, as sh
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual71The ISP cannot calculate the checksum wi
UM024002-0512 List of FiguresZ8051 On-Chip Debugger and In-System ProgrammerUser ManualviiiFigure 70. Text File Child Window . . . . . . . . . . .
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual72Read DeviceSelecting Load XData HEX File
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual73ExitChoosing Exit from the HexData menu
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual74WriteSelecting Write from the Program me
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual753. The ISP checks whether the target dev
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual76Open CODE DumpSelecting Open CODE Dump f
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual77Open XData DumpSelecting Open XData Dump
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual78CascadeSelecting Cascade from the Window
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual79TileSelecting Tile from the Window menu
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual80Code Dump WindowCode dump windows displa
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual81Cursor PositionThe position of the curso
UM024002-0512 IntroductionZ8051 On-Chip Debugger and In-System ProgrammerUser Manual1IntroductionThe Z8051 On-Chip Debugger (OCD) and In-System Prog
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual82Appendix A. OCD Driver Installation on W
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual834. When the Insert the Disc dialog appea
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual845. Return to page 6 and follow Steps 3 t
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual85Appendix B. OCD Driver Installation on W
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual863. The next dialog box, shown in Figure
UM024002-0512 The Z8051 OCD In-System ProgrammerZ8051 On-Chip Debugger and In-System ProgrammerUser Manual874. When Windows prompts you whether to c
UM024002-0512 Customer SupportZ8051 On-Chip Debugger and In-System ProgrammerUser Manual88Customer SupportTo share comments, get your technical ques
Comentarios a estos manuales