Digital Equipment Corporation AlphaPC 164SX User's Guide

Browse online or download User's Guide for Motherboards Digital Equipment Corporation AlphaPC 164SX. Digital Equipment Corporation AlphaPC 164SX User`s guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 217
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Digital Equipment Corporation
Maynard, Massachusetts
http://www.digital.com/semiconductor
Alpha Microprocessors Motherboard
Debug Monitor
Users Guide
Order Number: EC–QHUVF–TE
Revision/Update Information:
This is a revised document. It supersedes
the Alpha Microprocessors Motherboard
Debug Monitor User’s Guide,
EC–QHUVE–TE.
Page view 0
1 2 3 4 5 6 ... 216 217

Summary of Contents

Page 1 - User’s Guide

Digital Equipment CorporationMaynard, Massachusettshttp://www.digital.com/semiconductorAlpha Microprocessors Motherboard Debug MonitorUser’s GuideOrde

Page 2

xContent OverviewThe information in this document is organized as follows:• Chapter 1 is an introduction to the Debug Monitor.• Chapter 2 describes ho

Page 3 - Contents

4–60 User CommandsUser CommandsflbootflbootThe flboot command downloads the specified file from the diskette and begins execution of that file.Formatf

Page 4 - 4 User Commands

User Commands 4–61User CommandsflcdflcdThe flcd command displays or changes the current working directory or drive.Formatflcd [drive_pathname]Paramete

Page 5

4–62 User CommandsUser CommandsflcdExampleAlphaPC 64> flcd a:\AlphaPC 64> fldirHigh Density selected10/04/95 02:07p 203088 rom.

Page 6

User Commands 4–63User CommandsflcopyflcopyThe flcopy command copies a file to another location.Formatflcopy source_file destination_fileParameterssou

Page 7

4–64 User CommandsUser CommandsflcopyExampleAlphaPC 64> flcd \dir3a:\dir3\AlphaPC 64> fldirHigh Density selected10/06/95 10:05a <

Page 8

User Commands 4–65User CommandsfldirfldirThe fldir command displays a list of files in the current or specified directory.Formatfldir [drive_pathname]

Page 9 - Preface

4–66 User CommandsUser CommandsfldirExampleAlphaPC 64> flcda:\AlphaPC 64> fldirHigh Density selected 10/04/95 02:07p 203088 rom

Page 10 - Conventions

User Commands 4–67User CommandsflloadflloadThe flload command downloads the specified file from the diskette.Formatflload file [address]Parametersfile

Page 11 - Introduction

4–68 User CommandsUser CommandsflreadflreadThe flread command reads logical sectors from a diskette.Formatflread [first_sector [bytes [dest_address [i

Page 12 - 1.3 Recommended Host System

User Commands 4–69User CommandsflreadExampleAlphaPC164> flread 1High Density selectedReading 0 bytes to 0x300000 starting at sector 1.Done... 512 (

Page 13 - Getting Started

Introduction 1–1 1Introduction1.1 Overview The Alpha Microprocessors Motherboard Debug Monitor can be used to load code into the system and perform ot

Page 14 - 2.3.2 Connecting to a PC

4–70 User CommandsUser CommandsflsaveflsaveThe flsave command writes a memory range to a file.Formatflsave file_name start_address file_sizeParameters

Page 15 - • /dev/tty01

User Commands 4–71User CommandsflwriteflwriteThe flwrite command writes data to logical sectors on a diskette.Caution: This is a destructive command.

Page 16

4–72 User CommandsUser CommandsflwriteExampleAlphaPC164> flwrite 30High Density selectedWriting 0 bytes from 0x400000 starting at sector 30.Done...

Page 17 - Verify the BOOTP Server

User Commands 4–73User CommandsfwupdatefwupdateThe fwupdate command loads and runs the firmware update utility from diskette.FormatfwupdateParametersN

Page 18 - 2–6 Getting Started

4–74 User CommandsUser CommandsgogoThe go command begins execution of instructions at the specified address.Formatgo [start_address]Parametersstart_ad

Page 19

User Commands 4–75User CommandshelphelpThe help command displays a list of commands currently available. If you specify a command keyword, information

Page 20 - 2–8 Getting Started

4–76 User CommandsUser CommandshelpExampleThe help command without a parameter displays a list of all commands implemented in the current version of t

Page 21 - Key Description

User Commands 4–77User CommandsiackiackThe iack command performs an interrupt acknowledge cycle.FormatiackParametersNone.DescriptionThe iack command a

Page 22

4–78 User CommandsUser CommandsidentidentThe ident command displays revision control system (RCS) ID strings found in the specified memory range.Forma

Page 23 - Getting Started 2–11

User Commands 4–79User CommandsidentExampleEB64> ident 0 80000Id: crt_startup.s,v 1.3 1993/06/18 20:30:03 fdh Rel $ Id: crt.c,v 1.1 1993/06/08 19:5

Page 24

1–2 IntroductionRecommended Host System• Disassemble CPU instructions in memory.• Transfer control to programs loaded into memory.• Perform native deb

Page 25 - 2.4.6 Running Firmware Update

4–80 User CommandsUser CommandsinitinitThe init command reinitializes the Debug Monitor.FormatinitParametersNone.DescriptionThe init command restarts

Page 26 - Replacing the UVPROM

User Commands 4–81User CommandsjtopaljtopalThe jtopal command sets the environment to PALmode and begins execution of instructions at the specified ad

Page 27 - Getting Started 2–15

4–82 User CommandsUser CommandsladebugladebugThe ladebug command starts the Ladebug server for a remote debug session.FormatladebugParametersNone.Desc

Page 28 - 2.6 Debug Monitor Memory Map

User Commands 4–83User CommandsladebugExampleEB64> netload size Ethernet Base Address: 360, DMA Mask: 1 = DRQ5Init Block Address 100000Init Done.Et

Page 29 - 2.6.1 Stack

4–84 User CommandsUser CommandsloadloadThe load command downloads a file through the active serial port using the XMODEM protocol.Formatload [address]

Page 30 - 2.8 Execution Commands

User Commands 4–85User CommandsmcesmcesThe mces command sets or displays the machine check error summary register.Formatmces [mces_data]Parametersmces

Page 31 - Resetting the Debug Monitor

4–86 User CommandsUser CommandsmcheckmcheckThe mcheck command controls the reporting of hardware error conditions (machine checks).Formatmcheck state

Page 32

User Commands 4–87User CommandsmcheckThe mcheck command could also modify the machine check error summary register. See the mces command for more info

Page 33 - Remote Debugging

4–88 User CommandsUser CommandsmemtestmemtestThe memtest command tests a memory range.Formatmemtest [iterations [start_address [end_address [incremen

Page 34 - 3.4 Programming Guidelines

User Commands 4–89User CommandsmemtestWhile conducting the memory test, correctable read data errors may be encountered, indicating memory integrity p

Page 35 - Remote Debugging 3–3

Getting Started 2–1 2Getting Started2.1 OverviewThis chapter describes how to set up your motherboard and host system.2.2 System RequirementsThe minim

Page 36 - Ladebug Command Line Options

4–90 User CommandsUser CommandsmrbmrbThe mrb command reads a byte from memory in the register port in I/O address space.Formatmrb address [iterations

Page 37 - Building the Executable File

User Commands 4–91User CommandsmrlmrlThe mrl command reads a longword from memory in the register port in I/O address space.Formatmrl address [iterati

Page 38 - Starting a Ladebug Session

4–92 User CommandsUser CommandsmrwmrwThe mrw command reads a word from memory in the register port in I/O address space.Formatmrw address [iterations

Page 39

User Commands 4–93User CommandsmwbmwbThe mwb command writes a byte to memory in the register port in I/O address space.Formatmwb address data [iterati

Page 40

4–94 User CommandsUser CommandsmwlmwlThe mwl command writes a longword to memory in the register port in I/O address space.Formatmwl address data [ite

Page 41

User Commands 4–95User CommandsmwwmwwThe mww command writes a word to memory in the register port in I/O address space.Formatmww address data [iterati

Page 42 - 4.2 Using the Commands

4–96 User CommandsUser CommandsnetbootnetbootThe netboot command downloads the specified file through the Ethernet port and begins execution of that f

Page 43 - User Commands 4–3

User Commands 4–97User CommandsnetbootExampleThis example downloads and begins execution of a file called size. EB64> netboot sizeEthernet Base Add

Page 44 - User Commands Quick Reference

4–98 User CommandsUser CommandsnetloadnetloadThe netload command downloads the specified file through the Ethernet port to the default boot address.F

Page 45

User Commands 4–99User CommandsnetloadExampleIn this example, a file called size is loaded into the default boot address.EB64> netload size Etherne

Page 46

2–2 Getting StartedConfiguring Your SystemAfter the terminal and the motherboard are connected and the motherboard is powered on, the terminal screen

Page 47

4–100 User CommandsUser CommandsnextnextThe next command executes the machine instruction without stepping into subroutines. Formatn[ext]ParametersNon

Page 48

User Commands 4–101User CommandsnextExampleIn the following example, the step command used at address 200034 steps to the first instruction of the fun

Page 49

4–102 User CommandsUser CommandspbpbThe pb command displays the specified memory byte (8-bit).Formatpb [start_address [end_address [iterations [silent

Page 50 - 4.4 User Commands

User Commands 4–103User CommandspbExampleThis example displays 128 bytes from memory starting with 100000 in byte format.EB64> pb 10000000100000: 0

Page 51 - User Commands 4–11

4–104 User CommandsUser CommandspcishowpcishowThe pcishow command displays the contents of each PCI slot and the current PCI-to-system address space m

Page 52

User Commands 4–105User CommandspcishowExampleEB164> pcishowPCI Address Mapping windows are: (1) PCI Base = 0x00100000, Size = 0x00100000

Page 53 - User Commands 4–13

4–106 User CommandsUser CommandspfregpfregThe pfreg command displays the saved CPU floating-point register state.Formatpfreg [address]Parametersaddres

Page 54

User Commands 4–107User CommandsplplThe pl command displays the specified memory longword (32-bit).Formatpl [start_address [end_address [iterations [s

Page 55 - User Commands 4–15

4–108 User CommandsUser CommandsplExampleThis example displays memory longwords.EB64> pl 000000000: E7E01021 00000000 00000000 00000000 !...

Page 56

User Commands 4–109User CommandspqpqThe pq command displays the specified memory quadword (64-bit).Formatpq [start_address [end_address [iterations [s

Page 57 - User Commands 4–17

Getting Started 2–3Configuring Your SystemSave these settings in a file. For example, settings for the EB64 could be saved in a file called eb64.trm.F

Page 58

4–110 User CommandsUser CommandspqExampleThis example displays memory quadwords.EB64> pq00000000: 00000000E7E01021 0000000000000000 !...

Page 59

User Commands 4–111User CommandsprbprbThe prb command reads a byte (8 bits) from the specified address in the PCI configuration space.Formatprb pci_ad

Page 60

4–112 User CommandsUser CommandspregpregThe preg command displays the saved CPU general-purpose register state.Formatpreg [address] ParametersaddressS

Page 61 - User Commands 4–21

User Commands 4–113User CommandsprlprlThe prl command reads a longword (32 bits) from the specified address in the PCI configuration space.Formatprl p

Page 62

4–114 User CommandsUser CommandsprwprwThe prw command reads a word (16 bits) from the specified address in the PCI configuration space.Formatprw pci_a

Page 63

User Commands 4–115User CommandsprwExampleAlphaPC 64> pcishowPCI Address Mapping windows are: (1) PCI Base = 0x00100000, Size = 0x00100000

Page 64

4–116 User CommandsUser CommandspwpwThe pw command displays the specified memory word (16-bit).Formatpw [start_address [end_address [iterations [silen

Page 65 - User Commands 4–25

User Commands 4–117User CommandspwExampleThis example displays eight memory addresses starting with 10000016 in word format.EB64> pw 10000000100000

Page 66

4–118 User CommandsUser CommandspwbpwbThe pwb command writes a byte (8 bits) to an address in the PCI configuration space.Formatpwb pci_address id d

Page 67

User Commands 4–119User CommandspwlpwlThe pwl command writes a longword (32 bits) to an address in the PCI configuration space.Formatpwl pci_address

Page 68

2–4 Getting StartedConfiguring Your System2.3.4.1 Connecting to a Serial Port After you modify the /etc/remote and /etc/inittab files, you can connect

Page 69

4–120 User CommandsUser CommandspwwpwwThe pww command writes a word (16 bits) to an address in the PCI configuration space.Formatpww pci_address id da

Page 70

User Commands 4–121User CommandsraboxraboxThe rabox command reads the CPU ABOX_CTL register.FormatraboxParametersNone.DescriptionThe rabox command rea

Page 71

4–122 User CommandsUser CommandsrbrbThe rb command reads a byte (8 bits) from a register port in I/O address space.Formatrb register [iterations [sile

Page 72

User Commands 4–123User CommandsrbcfgrbcfgThe rbcfg command reads the backup cache configuration register.FormatrbcfgParametersNone.DescriptionThe rbc

Page 73

4–124 User CommandsUser CommandsrbctlrbctlThe rbctl command reads the backup cache control register.FormatrbctlParametersNone.DescriptionThe rbctl com

Page 74

User Commands 4–125User CommandsrbiurbiuThe rbiu command reads the CPU BIU_CTL register.FormatrbiuParametersNone.DescriptionThe rbiu command reads the

Page 75 - User Commands 4–35

4–126 User CommandsUser CommandsriccsrriccsrThe riccsr command reads the CPU ICCSR register.FormatriccsrParametersNone.DescriptionThe riccsr command r

Page 76

User Commands 4–127User CommandsrlrlThe rl command reads a longword (32 bits) from a register port in I/O address space.Formatrl register [iterations

Page 77

4–128 User CommandsUser CommandsrmodermodeThe rmode command sets the dis command register display mode.Formatrmode [mode]ParametersmodeDetermines the

Page 78

User Commands 4–129User CommandsrmodeThe following table displays the DIGITAL UNIX Alpha microprocessor register usage.If you enter the command withou

Page 79 - User Commands 4–39

Getting Started 2–5Updating the Debug Monitor Firmware4. Modify the /etc/bootptab file to specify the Ethernet hardware address of the motherboard and

Page 80

4–130 User CommandsUser CommandsrmodeExampleEB64> rmodermode = 0EB64> dis 243a0000243A0: 43020122 subl r24, r2, r2000243A4: 48441722

Page 81 - User Commands 4–41

User Commands 4–131User CommandsrombootrombootThe romboot command loads the specified image from ROM and begins execution.Formatromboot [type] [addres

Page 82

4–132 User CommandsUser CommandsrombootThe romboot command can also be used to select a ROM image based on its position in the ROM. Specifying the typ

Page 83 - User Commands 4–43

User Commands 4–133User CommandsrombootAlphaPC 64> romboot ntSearching for the “Windows NT Firmware”. Header Size... 52 bytes Image Check

Page 84

4–134 User CommandsUser CommandsromlistromlistThe romlist command lists the ROM image headers contained in ROM.FormatromlistParametersNone.Description

Page 85 - User Commands 4–45

User Commands 4–135User CommandsromloadromloadThe romload command loads the specified image from ROM to the specified address.Formatromload [type] [ad

Page 86

4–136 User CommandsUser CommandsromloadThe romload command can also be used to select a ROM image based on its position in the ROM. Specifying the typ

Page 87 - User Commands 4–47

User Commands 4–137User CommandsromloadAlphaPC 64> romload ntSearching for “Windows NT Firmware”. Header Size... 52 bytes Image Checksum.

Page 88

4–138 User CommandsUser CommandsromverifyromverifyThe romverify command compares an image in memory to an image in the ROM.Formatromverify [type [addr

Page 89

User Commands 4–139User CommandsromverifyExamplesAlphaPC164> romload #0 300000Loading entire ROM.Loading ROM to address 00300000Loaded 1048576 byte

Page 90

2–6 Getting StartedUpdating the Debug Monitor FirmwareFor the AlphaPC 164SX, AlphaPC 164LX, AlphaPC 164, EB164, AlphaPC 64, and EB66+, you update the

Page 91 - User Commands 4–51

4–140 User CommandsUser CommandsrsysrsysThe rsys command reads the EB64 system control register.FormatrsysParametersNone.DescriptionThe rsys command d

Page 92

User Commands 4–141User CommandsrwrwThe rw command reads a word (16 bits) from a register port in I/O address space.Formatrw register [iterations [sil

Page 93

4–142 User CommandsUser CommandssbsbThe sb command searches memory by bytes (8-bit).Formatsb start_address end_address string [inverse]Parametersstart

Page 94

User Commands 4–143User CommandssbExampleEB64> pl 100000 10008000100000: C3E00007 00000000 00000000 00000000 ...00100010: 00000000 000

Page 95

4–144 User CommandsUser CommandssetbaudsetbaudThe setbaud command sets the baud rate for the specified communication port connection.Formatsetbaud por

Page 96

User Commands 4–145User CommandssettysettyThe setty command sets the Debug Monitor to the specified port.Formatsetty portParametersportSpecifies the n

Page 97

4–146 User CommandsUser CommandsslslThe sl command searches memory by longwords (32-bit).Formatsl start_address end_address string [inverse]Parameters

Page 98

User Commands 4–147User CommandsslExampleEB64> pl 10000000100000: C3E00007 00000000 00000000 00000000 ...00100010: 00000000 00000000 0

Page 99

4–148 User CommandsUser CommandssqsqThe sq command searches memory by quadwords (64-bit).Formatsq start_address end_address string [inverse]Parameters

Page 100 - User Commands

User Commands 4–149User CommandssqExampleEB64> pq00000000: 00000000C3E00007 0000000000000000 ...00000010: 0000000000000000 00000000000

Page 101 - Description

Getting Started 2–7Updating the Debug Monitor FirmwareUse the following table to determine the update procedure for your motherboard.2.4.2 Updating th

Page 102

4–150 User CommandsUser CommandsstepstepThe step command executes the next instruction.Formats[tep]ParametersNone.DescriptionUse the step command and

Page 103 - Description

User Commands 4–151User CommandsstepExampleEB164> dis00200030: a77d8010 ldq r27, 32784(r29)00200034: 6b5b4000 jsr r26, r270

Page 104

4–152 User CommandsUser CommandsstopstopThe stop command sets a breakpoint.Formatstop addressParametersaddressSpecifies the address at which the break

Page 105

User Commands 4–153User CommandssumsumThe sum command computes the checksum of the data in the specified range.Formatsum start_address end_addressPara

Page 106

4–154 User CommandsUser CommandsswswThe sw command searches memory by words (16-bit).Formatsw start_address end_address string [inverse]Parametersstar

Page 107 - User Commands 4–67

User Commands 4–155User CommandsswpiplswpiplThe swpipl command sets or displays the current interrupt priority level (IPL) of the CPU.Formatswpipl [ip

Page 108

4–156 User CommandsUser CommandssysshowsysshowThe sysshow command displays all SROM parameters.FormatsysshowParametersNone.DescriptionThe sysshow comm

Page 109

User Commands 4–157User CommandstiptipThe tip command connects to the specified serial communication port.Formattip portParametersportSpecifies the se

Page 110

4–158 User CommandsUser CommandsversionversionThe version command displays the current Debug Monitor firmware version information.FormatversionParamet

Page 111

User Commands 4–159User CommandswaboxwaboxThe waboxcommand writes to the CPU ABOX_CTL register.Formatwabox dataParametersdataSpecifies the new value

Page 112

October 1997While DIGITAL believes the information included in this publication is correct as of the date of publication, it is subject to change with

Page 113 - User Commands 4–73

2–8 Getting StartedUpdating the Debug Monitor FirmwareTwo levels of keyboard help are available:• Press F1 once to display explanations of the keystro

Page 114

4–160 User CommandsUser CommandswbwbThe wb command writes a byte (8 bits) to a register port in I/O address space.Formatwb register data [iterations]P

Page 115

User Commands 4–161User CommandswbcfgwbcfgThe wbcfg command writes to the backup cache configuration register.Formatwbcfg bcfg_data [bctl_data] Parame

Page 116

4–162 User CommandsUser CommandswbctlwbctlThe wbctl command writes to the backup cache control register.Formatwbctl bctl_data [bcfg_data]Parametersbct

Page 117 - User Commands 4–77

User Commands 4–163User CommandswbiuwbiuThe wbiu command writes to the CPU BIU_CTL register.Formatwbiu dataParametersdataSpecifies the new value writt

Page 118

4–164 User CommandsUser CommandswiccsrwiccsrThe wiccsr command writes to the CPU ICCSR register.Formatwiccsr dataParametersdataSpecifies the new value

Page 119

User Commands 4–165User CommandswlwlThe wl command writes a longword (32 bits) to a register port in I/O address space.Formatwl register data [iterati

Page 120

4–166 User CommandsUser CommandswrfenwrfenThe wrfen command enables or disables floating point.Formatwrfen valueParametersvalueSpecifies a value of 0

Page 121 - User Commands 4–81

User Commands 4–167User CommandswsyswsysThe wsys command writes to the EB64 system control register.Formatwsys data ParametersdataSpecifies a value th

Page 122

4–168 User CommandsUser CommandswwwwThe ww command writes a word (16 bits) to a register port in I/O address space.Formatww register data [iterations]

Page 123

Support, Products, and Documentation A–1 ASupport, Products, and DocumentationIf you need technical support, a DIGITAL Semiconductor Product Catalog,

Page 124

Getting Started 2–9Updating the Debug Monitor Firmware4. The AlphaBIOS Upgrade Options screen is displayed. If more than one image is found, the new i

Page 125 - User Commands 4–85

A–2 Support, Products, and DocumentationDIGITAL Semiconductor ProductsNote:The following products and order numbers might have been revised. For the l

Page 126

Support, Products, and Documentation A–3DIGITAL Semiconductor DocumentationThe following table lists some of the available DIGITAL Semiconductor docum

Page 127

A–4 Support, Products, and DocumentationThird-Party DocumentationYou can order the following third-party documentation directly form the vendor.1To pu

Page 128 - Parameters

Index–1Index AAlpha, 1–2documentation, A–3Alpha SRM Console firmware, 2–11AlphaBIOS, 2–7apropos, 4–11arpshow, 4–12Audience, ixBBaud rate, 2–1bcoff, 4–

Page 129

Index–2creg, 4–31cw, 4–33DDaemon log file, 2–5date, 4–35Debug Monitor commands, 4–10Debuggerdefinition of, 3–1Debugging hints, 3–1delete, 4–36Digital

Page 130

Index–3HHardware requirements, 2–1help, 4–75Host system, 2–4Iiack, 4–77ident, 4–78init, 4–80Introduction, 1–1Jjtopal, 2–18, 4–81KKernel stack, 2–17LLa

Page 131 - User Commands 4–91

Index–4pwl, 4–119pww, 4–120Rrabox, 4–121rb, 4–122rbcfg, 4–123rbctl, 4–124rbiu, 4–125Recommended host system, 1–2Related documentation, A–3Remote debug

Page 132

Index–5wbiu, 4–163wiccsr, 4–164Windows NT, 1–2, 2–2wl, 4–165wrfen, 4–166wsys, 4–167ww, 4–168

Page 133 - User Commands 4–93

2–10 Getting StartedUpdating the Debug Monitor FirmwareWhen you power up your motherboard system, the firmware displays a blue screen on the monitor a

Page 134

Getting Started 2–11Updating the Debug Monitor FirmwareStarting the Firmware Update UtilityTo start the firmware update utility from the firmware upda

Page 135 - User Commands 4–95

2–12 Getting StartedUpdating the Debug Monitor FirmwareA display appears showing information about the devices on your system. In the following exampl

Page 136

Getting Started 2–13Updating the Debug Monitor Firmware5. If updating the firmware on the AlphaPC 164SX or the AlphaPC 164LX, go to Section 2.4.2. If

Page 137

2–14 Getting StartedUpdating the Debug Monitor Firmwarethe COM1 serial port or on the graphics display unit after starting the firmware update utility

Page 138

Getting Started 2–15Switching to the Debug Monitor Firmware on Flash ROM SystemsNote: For versions of the Debug Monitor firmware prior to V2.0, the pr

Page 139

2–16 Getting StartedDebug Monitor Memory MapSwitching from Alpha SRM Console FirmwareTo switch to the Debug Monitor firmware from the Alpha SRM Consol

Page 140

Getting Started 2–17Debug Monitor Memory MapFigure 2–1 Debug Monitor Memory MapThe Debug Monitor image consists of PALcode at physical address 0 and t

Page 141

iii ContentsPreface1 Introduction1.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 142

2–18 Getting StartedDownloading Files2.6.2 DMA BuffersVarious devices used with the motherboard require direct memory access (DMA). The device drivers

Page 143

Getting Started 2–19Resetting the Debug Monitor2.9 Resetting the Debug MonitorIf the software hangs the motherboard, then the hardware reset on the bo

Page 145

Remote Debugging 3–1 3Remote DebuggingThe Debug Monitor supports remote debugging for DIGITAL UNIX host systems with Ladebug. The Ladebug software pro

Page 146

3–2 Remote DebuggingProgramming Guidelines3.4 Programming GuidelinesThe following sections describe the programming guidelines for remote debugging.3.

Page 147

Remote Debugging 3–3Programming GuidelinesPrograms that define or install their own interrupt handler must ensure that the Debug Monitor polls the Eth

Page 148

3–4 Remote DebuggingLadebug Command Line Options• The debug server uses the DBGSTOP PAL call to implement breakpoints. The program must contain an ide

Page 149

Remote Debugging 3–5Building the Executable FileNote: The debug server can only be used to debug already loaded processes; therefore, the pid option m

Page 150

3–6 Remote DebuggingStarting a Ladebug Session3.7 Starting a Ladebug SessionThe Debug Monitor ladebug command configures the motherboard as a remote d

Page 151 - User Commands 4–111

Remote Debugging 3–7Starting a Ladebug SessionThe following command, entered from the host system, starts Ladebug and causes it to connect to the EB64

Page 152

iv2.8 Execution Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–182.9 Resetting the Debug Monito

Page 154

User Commands 4–1 4User Commands4.1 OverviewThis chapter describes how to use the Alpha Microprocessors Motherboard Debug Monitor commands.The Debug M

Page 155

4–2 User CommandsUsing the Commands1If you connected to the motherboard through the DIGITAL UNIX tip command, you must press Ctrl/P twice to obta

Page 156

User Commands 4–3Using the Commands• Examine and modify memory commandsThese commands are used to examine and change memory in various formats beginni

Page 157

4–4 User CommandsUser Commands Quick Reference4.3 User Commands Quick ReferenceTable 4–1 contains a summary of all Debug Monitor commands. The command

Page 158

User Commands 4–5User Commands Quick Referenceromboot type, address Loads the specified image from ROM and begins execution.romlist none Lists the ROM

Page 159 - User Commands 4–119

4–6 User CommandsUser Commands Quick Referencecl address Edits memory longwords (32-bit).cw address Edits memory words (16-bit).cb address Edits memor

Page 160

User Commands 4–7User Commands Quick Referencemrb address, iterations, silentReads a byte from memory in I/O address space.mwl address, data, iteratio

Page 161 - User Commands 4–121

4–8 User CommandsUser Commands Quick Referencepwb pci_address, id, data, bus, functionWrites a byte to a specified address in PCI configuration space.

Page 162

User Commands 4–9User Commands Quick Referencestop address Sets a breakpoint at the specified address.bpstat none Displays the current breakpoint stat

Page 163 - User Commands 4–123

vedevice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–42edmp. . . . . . . . . . . . . . . . .

Page 164

4–10 User CommandsUser Commands4.4 User CommandsThe following section contains complete descriptions and examples of the Debug Monitor commands. The c

Page 165 - User Commands 4–125

User Commands 4–11User CommandsaproposaproposThe apropos command displays help descriptions for the specified keyword.Formatapropos keywordParametersk

Page 166

4–12 User CommandsUser CommandsarpshowarpshowThe arpshow command displays all known address resolution protocol (ARP) entries.FormatarpshowParametersN

Page 167 - User Commands 4–127

User Commands 4–13User CommandsbcoffbcoffThe bcoff command disables the backup cache.FormatbcoffParametersNone.DescriptionThe bcoff command disables t

Page 168

4–14 User CommandsUser CommandsbconbconThe bcon command enables the backup cache.FormatbconParametersNone.DescriptionThe bcon command enables the exte

Page 169

User Commands 4–15User CommandsbeepbeepThe beep command tests the speaker.Formatbeep duration frequencyParametersdurationSpecifies the duration of the

Page 170

4–16 User CommandsUser CommandsbootbootThe boot command downloads a file through the active serial port using the XMODEM protocol and begins execution

Page 171

User Commands 4–17User CommandsbootadrbootadrThe bootadr command allows you to display or modify the default boot address.Formatbootadr [address]Param

Page 172

4–18 User CommandsUser CommandsbootoptbootoptThe bootopt command selects the operating system and firmware type to be used on the next power-up.Format

Page 173

User Commands 4–19User CommandsbootoptThe bootopt command can also be used to select a ROM image based on its position in the ROM. Specifying the type

Page 174

viprl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–113prw . . . . . . . . . . . . . .

Page 175

4–20 User CommandsUser CommandsbpstatbpstatThe bpstat command displays the current breakpoint status.FormatbpstatParametersNone.DescriptionThe bpstat

Page 176

User Commands 4–21User CommandscbcbThe cb command allows you to edit memory bytes (8-bit).Formatcb [address]ParametersaddressSpecifies the address of

Page 177

4–22 User CommandsUser CommandscfregcfregThe cfreg command modifies the saved CPU floating-point register state.Formatcfreg register_number valueParam

Page 178

User Commands 4–23User CommandscfregExampleEB64> pfregFloating Point Registersregister file @: 0000C840f00: 0000000000000000 0000000000000000 00000

Page 179 - Examples

4–24 User CommandsUser CommandsclclThe cl command allows you to edit memory longwords (32-bit).Formatcl [address]ParametersaddressSpecifies the addres

Page 180

User Commands 4–25User CommandscomparecompareThe compare command compares a memory range to a specified address.Formatcompare start_address end_addres

Page 181 - User Commands 4–141

4–26 User CommandsUser CommandscontcontThe cont command continues execution from a breakpoint.FormatcontParametersNone.DescriptionThe cont command con

Page 182

User Commands 4–27User CommandscopycopyThe copy command copies the specified memory range to the new specified address.Formatcopy start_address end_ad

Page 183

4–28 User CommandsUser CommandscopyExampleThis example displays the original location and the destination before and after the copy command.EB64> p

Page 184 - 2 Serial communication port 2

User Commands 4–29User CommandscqcqThe cq command allows you to edit memory quadwords (64-bit).Formatcq [address]ParametersaddressSpecifies the addres

Page 185 - User Commands 4–145

viiFigures2–1 Debug Monitor Memory Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–17

Page 186

4–30 User CommandsUser CommandscqExampleThis example modifies only quadword 20002016.EB64> cq 20002000200020: 0000000004000000: 000000001111111100

Page 187

User Commands 4–31User Commandscregcreg The creg command modifies the saved CPU general-purpose register state.Formatcreg register_number valueParame

Page 188

4–32 User CommandsUser CommandscregExampleEB64> pregGeneral Purpose Registersregister file @: 0000C040r00: 0000000000000020 0000000000000005 000000

Page 189

User Commands 4–33User CommandscwcwThe cw command allows you to edit memory words (16-bit).Formatcw [address]ParametersaddressSpecifies the address of

Page 190

4–34 User CommandsUser CommandscwExampleThis example modifies words 20009416 through 20009816.EB64> pw 20009000200090: 3BB9 CA6D FFB9 CFE7 3FBF FFF

Page 191

User Commands 4–35User CommandsdatedateThe date command displays or modifies the date and time.Formatdate [yymmddhhmmss]ParametersyymmddhhmmssTo modif

Page 192

4–36 User CommandsUser CommandsdeletedeleteThe delete command removes a breakpoint from the specified address.Formatdelete address ParametersaddressSp

Page 193 - User Commands 4–153

User Commands 4–37User CommandsdisdisThe dis command displays memory as CPU instructions.Formatdis [start_address [end_address]]Parametersstart_addres

Page 194

4–38 User CommandsUser CommandsdisExampleEB64> dis 243a0000243A0: 43020122 subl r24, r2, r2000243A4: 48441722 sll r2, 0x

Page 195 - User Commands 4–155

User Commands 4–39User CommandsdmldmlThe dml command deposits the specified longword data in the specified memory location.Formatdml address data [ite

Page 196

viiiTables4–1 Command Summary Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4

Page 197 - User Commands 4–157

4–40 User CommandsUser CommandsdmqdmqThe dmq command deposits the specified quadword data in the specified memory location.Formatdmq address data [ite

Page 198

User Commands 4–41User CommandsebuffebuffThe ebuff command sets the base address for the Ethernet transmit receive buffers.Formatebuff [address] Param

Page 199 - User Commands 4–159

4–42 User CommandsUser CommandsedeviceedeviceThe edevice command selects the registered Ethernet device that the Debug Monitor will use.Formatedevice

Page 200

User Commands 4–43User CommandsedmpedmpThe edmp command displays packets received or transmitted to the terminal screen.Formatedmp [status] Parameters

Page 201 - User Commands 4–161

4–44 User CommandsUser CommandseiniteinitThe einit command initializes the Ethernet controller.FormateinitParametersNone.DescriptionThe einit command

Page 202

User Commands 4–45User CommandsemlemlThe eml command examines and displays a longword of data in memory.Formateml address [iterations [silent]] Parame

Page 203 - User Commands 4–163

4–46 User CommandsUser CommandsemqemqThe emq command examines and displays a quadword of data in memory.Formatemq address [iterations [silent]] Parame

Page 204

User Commands 4–47User CommandsepromepromThe eprom command sets or clears a flag for receiving all packets (promiscuous mode).Formateprom [status]Para

Page 205 - User Commands 4–165

4–48 User CommandsUser CommandseregeregThe ereg command displays the Ethernet controller registers.FormateregParametersNone.DescriptionThe ereg comman

Page 206

User Commands 4–49User CommandseregExampleEB64> ww 372 0EB64> ww 370 4EB64> ereg Ethernet Controller Base Address 360, CSR 0...1260 0004

Page 207 - User Commands 4–167

ix PrefaceIntroductionThis document describes the software features of an Alpha microprocessor motherboard. The motherboard software is intended to pr

Page 208

4–50 User CommandsUser CommandseshoweshowThe eshow command displays all of the registered Ethernet devices.FormateshowParametersNone. DescriptionThe e

Page 209 - For technical support:

User Commands 4–51User CommandsestatestatThe estat command displays Ethernet statistics.FormatestatParametersNone.DescriptionThe estat command display

Page 210 - Design Kits Order Number

4–52 User CommandsUser CommandsestopestopThe estop command stops the Ethernet controller.FormatestopParametersNone.DescriptionThe estop command allows

Page 211 - (Sheet 1 of 2)

User Commands 4–53User CommandsfillfillThe fill command fills a specified memory block with the specified 32-bit pattern.Formatfill start_address end_

Page 212 - (Sheet 2 of 2)

4–54 User CommandsUser CommandsfillExampleThis example displays the original value in address range 08000000 through 08000080 and the value of the sam

Page 213

User Commands 4–55User CommandsflashflashThe flash command programs data into flash memory.Formatflash [source_address [destination_offset [bytes_to_w

Page 214

4–56 User CommandsUser CommandsflashExampleAlphaPC 64> netload pc64dbm.romAttempting BOOTP...Loading /users/eval/pc64/pc64dbm.rom at 300000 My IP a

Page 215

User Commands 4–57User Commandsflash Press Y to proceed, any other key to abort. Writing Flash Block: 4W 5W 6W 7W Verifying Flash Block

Page 216

4–58 User CommandsUser CommandsflasheraseflasheraseThe flasherase command erases data from flash memory.Formatflasherase [starting_offset [bytes_to_er

Page 217

User Commands 4–59User Commandsflasherase Firmware ID (Opt.).. 0202009706130904 ... ROM offset... 0x00000000 Header Checksum... 0x94

Comments to this Manuals

No comments