Motorola MVME2600 Series Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour PC/postes de travail Motorola MVME2600 Series. Motorola MVME2600 Series User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 518
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
PPCBug
Firmware Package
Users Manual
Parts 1 & 2
PPCBUGA1/UM4 PPCBUGA2/UM4
Vue de la page 0
1 2 3 4 5 6 ... 517 518

Résumé du contenu

Page 1 - Parts 1 & 2

PPCBugFirmware PackageUser’s ManualParts 1 & 2 PPCBUGA1/UM4 PPCBUGA2/UM4

Page 2 - Restricted Rights Legend

x MAE - Macro Edit... 3-117MAL - Enable Macro Listing NOMAL - D

Page 3

CNFG - Configure Board Information Block3-323Example 3: Modify the Board Information Block.PPC1-Bug>CNFG;M <Return>WARNING: Board Information

Page 4

CS - Checksum3-333CS - ChecksumCommand InputCS RANGE [;B|H|W]OptionsDescriptionThe CS command calculates a checksum to verify the contents of a block

Page 5

CS - Checksum3-343ExamplesExample 1: Default size is word.PPC1-Bug>CS 1000 2000 <Return>Effective address: 00001000Effective address: 00001FF

Page 6

CSAR - PCI Configuration Space READ Access3-353CSAR - PCI Configuration Space READ AccessCommand InputCSAR busnum devnum function addr [;B|H|W]OptionsD

Page 7 - Contents

CSAW - PCI Configuration Space WRITE Access3-363CSAW - PCI Configuration Space WRITE AccessCommand InputCSAW busnum devnum function addr data [;B|H|W]O

Page 8

DC - Data Conversion3-373DC - Data ConversionCommand InputDC EXP | ADDR [;[B] [O] [A]]OptionsDescriptionThe DC command calculates an expression into a

Page 9

DC - Data Conversion3-383Example 4:PPC1-Bug>DC (2*3*8)/4 <Return> 0000000C = $C = &12PPC1-Bug>Example 5:PPC1-Bug>DC 55&

Page 10

DC - Data Conversion3-393Example 10: For this example, assume R2=00030000 and the following data resides in memory:00030000 11111111 22222222 333333

Page 11

DMA - Block of Memory Move3-403DMA - Block of Memory MoveNote This command works for MVME160x series modules only.Command InputDMA RANGE ADDR VDIR AM

Page 12

DMA - Block of Memory Move3-413OptionsDescriptionThe DMA command moves blocks of data from the local bus to the VMEbus, or from the VMEbus to the loca

Page 13

xi T - Trace ...3-216TA - Terminal Attach...

Page 14

DMA - Block of Memory Move3-423Note If the block transfer modes are used to transfer data make sure that your VMEbus and VME memory actually support t

Page 15 - List of Tables

DMA - Block of Memory Move3-433First a range is given for the source location of the data on the VMEbus. Note that this is an exact address on the VME

Page 16

DMA - Block of Memory Move3-443000000F0 000000F0 000000F4 000000F8 000000FC ...00000100 00000100 00000104 00000108 0000010C ...

Page 17 - List of Figures

DMA - Block of Memory Move3-453Example 3: Transfer data from the local bus to the VMEbus. First, show the data at the destination so we can see it cha

Page 18

DMA - Block of Memory Move3-463View the transferred data:PPC1-Bug>MD C1000000:40 <Return>C1000000 7C3043AF 7CFFFBBF 7C3143A7 48FFFFDF |0C.|

Page 19 - 1General Information

DMA - Block of Memory Move3-473PPC1-Bug>DMA 01000000:10 80002000 1 D 0 <Return>Effective address: 01000000Effective count : &64Effective

Page 20 - PPCBug Implementation

DS - One-Line Disassembler3-483DS - One-Line DisassemblerCommand InputDS ADDR [:COUNT | ADDR]DescriptionThe DS command enables the one-line disassembl

Page 21 - Memory Requirements

DU - Dump S-Records3-493DU - Dump S-RecordsCommand InputDU [PORT] RANGE [TEXT] [ADDR] [OFFSET] [;B|H|W]DescriptionThe DU command outputs data from mem

Page 22 - Start-up

DU - Dump S-Records3-503ExamplesExample 1: Dump memory from $20000 to $2002F to port 1.PPC1-Bug>DU ,,20000 2002F <Return>Effective address: 0

Page 23 - General Information

ECHO - Echo String3-513ECHO - Echo StringCommand InputECHO [PORT] {hexadecimal number} {'string'}DescriptionThe ECHO command displays string

Page 24

xii System Call Routines...5-2.INCHR ...

Page 25

ECHO - Echo String3-523Example 4: This example handles a string with quotes.PPC1-Bug>ECHO ,, 'This is "PPCBUG"' <Return>T

Page 26

ENV - Set Environment3-533ENV - Set EnvironmentCommand InputENV [;[D]] DescriptionThe ENV command allows you to view and configure all PPCBug operatio

Page 27

ENV - Set Environment3-543You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fields. The

Page 28

ENV - Set Environment3-5533. Determine any necessary VMEbus translation offset. The offset value is added to the VMEbus address to create the PCI bus

Page 29

ENV - Set Environment3-563To enable prefetch reads for incoming VMEbus block read cycles, OR the following value with those chosen above:0x20000000To

Page 30

ENV - Set Environment3-573LED/Serial Startup Diagnostic CodesThese codes can be displayed at key points in the initialization of the hardware devices.

Page 31 - Auto Boot

FORK - Fork Idle MPU at Address3-583FORK - Fork Idle MPU at AddressNote This command is for multi-processor boards only.Command InputFORK MPU# ADDRDes

Page 32

FORKWR - Fork Idle MPU with Registers3-593FORKWR - Fork Idle MPU with RegistersNote This command is for multi-processor boards only.Command InputFORKW

Page 33 - Length Contents Description

GD - Go Direct (Ignore Breakpoints)3-603GD - Go Direct (Ignore Breakpoints)Command InputGD [ADDR]DescriptionThe GD command starts target code executio

Page 34 - Sample ROMboot Routine

GD - Go Direct (Ignore Breakpoints)3-613PPC1-Bug>BR 20028 <Return>BREAKPOINTS00020028PPC1-Bug>Initialize R7 and start target the program.P

Page 35

xiii .DIVU32...5-67.CHK_SUM...

Page 36 - Network Auto Boot

GEVBOOT - Global Environment Variable Boot3-623GEVBOOT - Global Environment Variable BootCommand InputGEVBOOT Variable-NameDescriptionThe GEVBOOT comm

Page 37 - Restarting the System

GEVBOOT - Global Environment Variable Boot3-633RequirementsSome high-level requirements that this release meets are:❏ Residual Data as specified above

Page 38

GEVBOOT - Global Environment Variable Boot3-643❏ fw-boot-pathThis variable contains a list (four maximum) of boot devices which can be booted from. Th

Page 39 - Board Failure

GEVBOOT - Global Environment Variable Boot3-653Styles of BootingThe older Motorola mode of mass storage device booting was also preserved for backward

Page 40 - MPU Clock Speed Calculation

GEVBOOT - Global Environment Variable Boot3-663NVRAM Boot List (GEV.fw-boot-path) Boot Enable [Y/N], defaults to 'Y' NVRAM Boot List (GEV.fw

Page 41 - Disk I/O Support

GEVBOOT - Global Environment Variable Boot3-673fw-boot-path needs to be defined as a device that was shown to be available via ioiPPC1-Bug>gevshowf

Page 42 - Device Probe

GEVDEL - Global Environment Variable Delete3-683GEVDEL - Global Environment Variable DeleteCommand InputGEVDEL Variable-NameDescriptionThe GEVDEL comm

Page 43

GEVDUMP - Global Environment Variable(s) Dump3-693GEVDUMP - Global Environment Variable(s) DumpCommand InputGEVDUMPDescriptionThe GEVDUMP command perm

Page 44

GEVDUMP - Global Environment Variable(s) Dump3-70301F8B100 64 65 76 69 63 65 3D 2F 70 63 69 40 38 30 30 30 device=/pci@800001F8B110 30 30 30 30 2F

Page 45 - Disk I/O Error Codes

GEVEDIT - Global Environment Variable Edit3-713GEVEDIT - Global Environment Variable EditCommand InputGEVEDIT Variable-NameDescriptionThe GEVEDIT comm

Page 46 - Network I/O Support

xiv APPENDIX C PPCBug Messages Introduction...

Page 47

GEVINIT - Global Environment Variable Initialization3-723GEVINIT - Global Environment Variable InitializationCommand InputGEVINITDescriptionThe GEVINI

Page 48 - Network Boot Control Module

GEVSHOW - Global Environment Variable(s) Display3-733GEVSHOW - Global Environment Variable(s) DisplayCommand InputGEVSHOW [string]DescriptionThe GEVSH

Page 49 - Network I/O Error Codes

GN - Go to Next Instruction3-743GN - Go to Next InstructionCommand InputGNCommand InputThe GN command sets a temporary breakpoint at the address of th

Page 50

GN - Go to Next Instruction3-753Execute up to the BL instruction.PPC1-Bug>RM IP <Return>IP =00020020 ? 20000. <Return>PPC1-Bug>P

Page 51 - Data and Address Sizes

GO - Go Execute User Program3-763GO - Go Execute User ProgramCommand InputGO [ADDR]DescriptionThe GO command initiates target code execution. All prev

Page 52 - Byte Ordering

GO - Go Execute User Program3-773PPC1-Bug>DS 30000 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B040000 CMPLI CRF6,0,R4,$0

Page 53 - 2Using the Debugger

GO - Go Execute User Program3-783Continue target program execution.PPC1-Bug>G <Return>Effective address: 00030018At BreakpointIP =0003001

Page 54 - Command Arguments

GT - Go to Temporary Breakpoint3-793GT - Go to Temporary BreakpointCommand InputGT ADDRCommand InputThe GT command sets a temporary breakpoint and sta

Page 55

GT - Go to Temporary Breakpoint3-803PPC1-Bug>DS 30000:8 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B040000 CMPLI CRF6,0,

Page 56 - ADDR Formats

GT - Go to Temporary Breakpoint3-813Set another temporary breakpoint at $20000 and continue the target program execution.PPC1-Bug>GT 20000 <Retu

Page 57 - Using the Debugger

xv List of Tables Table 1-1. LED/Serial Startup Diagnostic Codes ...1-8Table 3-1. Debugger Commands...

Page 58 - Command Options

HE - Help3-823HE - HelpCommand InputHE [COMMAND]DescriptionThe HE command displays information about the debugger commands.HE displays the description

Page 59 - Control Characters

HE - Help3-833ECHO Echo StringENV Set Environment to Bug/Operating SystemFORK Fork Idle MPU at AddressFORKWR Fork Idle MPU with Registe

Page 60

HE - Help3-843NIOP Network I/O PhysicalNIOT I/O "Teach" for Configuring Network ControllerNOBR Breakpoint DeleteNOCM No Conc

Page 61

HE - Help3-853

Page 62 - MPU Registers

3IDLE - Idle Master MPU3-863Debugger CommandsIDLE - Idle Master MPUNote This command is for multi-processor boards only.Command InputIDLEDescriptionTh

Page 63 - Context Switching

IOC - I/O Control for Disk3-873IOC - I/O Control for DiskCommand InputIOCDescriptionThe IOC command sends command packets directly to a disk controlle

Page 64

IOC - I/O Control for Disk3-883You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fields

Page 65 - Floating Point Support

IOC - I/O Control for Disk3-893ExampleSend the packet at $10000 to a controller device configured as CLUN #0. Specify an operation to the hard disk wh

Page 66 - Double Precision Real

IOI - I/O Inquiry3-903IOI - I/O InquiryCommand InputIOI [;[C|D|L|N]]OptionsDescriptionThe IOI command inquires for all of the possible attached device

Page 67 - Scientific Notation

IOI - I/O Inquiry3-913where: mm = the CLUN number andwhile: nn = the DLUN numberThe CLUN/DLUN numbers are always sent to the 7-segment LEDs regardless

Page 69 - 3Debugger Commands

IOI - I/O Inquiry3-923PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTYPE RM Inquiry-Data 0 0 NCR53C825 0

Page 70 - Command Description

IOP - I/O Physical (Direct Disk Access)3-933IOP - I/O Physical (Direct Disk Access)Command InputIOP DescriptionThe IOP command allows you to read, wri

Page 71

IOP - I/O Physical (Direct Disk Access)3-943entry into the device descriptor table with the pertinent data. After an entry has been made, the next tim

Page 72 - AS - One-Line Assembler

IOP - I/O Physical (Direct Disk Access)3-953Memory Address =00003000?The starting address for the memory block to be accessed. For disk read operation

Page 73 - BC - Block of Memory Compare

IOP - I/O Physical (Direct Disk Access)3-963Flag Byte =00?The ßag byte is used to specify variations of the same command, and to receive special statu

Page 74

IOP - I/O Physical (Direct Disk Access)3-973ExamplesExample 1: Read 25 blocks starting at block 370 from device 2 of controller 0 into memory beginnin

Page 75 - BF - Block of Memory Fill

IOP - I/O Physical (Direct Disk Access)3-983Example 4: Format the specified device with the option to ignore the grown defect list.PPC1-Bug>IOPCont

Page 76

IOT - I/O Configure Disk Controller3-993IOT - I/O Configure Disk ControllerCommand InputIOT [;[A|F|H|T]] OptionsDescriptionThe IOT command allows you t

Page 77

IOT - I/O Configure Disk Controller3-1003Note that during a boot, the configuration sector is normally read from the disk, and the device descriptor t

Page 78 - H Half-word

IOT - I/O Configure Disk Controller3-1013All numerical values are interpreted as hexadecimal numbers. You may enter decimal values by preceding the nu

Page 79 - $000FFFFF

xvii List of Figures Figure 1-1. Network Boot Modules ...1-29Figure 3-1. Boot Record

Page 80 - BM - Block of Memory Move

IOT - I/O Configure Disk Controller3-1023Only the $00, $01, $05, and $07 are supported by the I/O controller drivers.Attribute ParametersThe parameter

Page 81

IOT - I/O Configure Disk Controller3-1033Number of Heads =05?The number of heads on the drive. Number of Cylinders =0337?The number of cylinde

Page 82

IOT - I/O Configure Disk Controller3-1043The rate at which the read/write heads can be moved when seeking a track on the disk. The encoding is as foll

Page 83 - NOBR - Breakpoint Delete

IOT - I/O Configure Disk Controller3-1053Gap 1 =07?The number of words of zeros that are written before the header Þeld in each sector

Page 84

IOT - I/O Configure Disk Controller3-1063Sectors/track =0010? <Return>Number of heads =02? <Return>Number of cylinders =0050?

Page 85 - BS - Block of Memory Search

IRD, IRM, IRS - Idle MPU Register Display/Modify/Set3-1073IRD, IRM, IRS - Idle MPU Register Display/Modify/SetNote These commands are for multi-proces

Page 86

LO - Load S-Records from Host3-1083LO - Load S-Records from HostCommand InputLO [PORT] [ADDR] [;[X] [C] [T]] [=text]ArgumentsOptionsMore than one opti

Page 87

LO - Load S-Records from Host3-1093DescriptionThe LO command downloads Motorola S-record files from a host system to the debugger host. The LO command

Page 88

LO - Load S-Records from Host3-1103The S-record format (refer to Appendix D) allows for an entry point to be specified in the address field of the ter

Page 89

LO - Load S-Records from Host3-1113ExampleFor this example, assume that a host system was used to create the following program: .file “test.s

Page 91

LO - Load S-Records from Host3-1123Load this file into memory for execution at address $40000 as follows:PPC1-Bug>TM <Return>Escape character

Page 92

LO - Load S-Records from Host3-1133PPC1-Bug>RD <Return>IP =00040000 MSR =00003030 CR =00000020 FPSCR =00000000R0 =00000000 R1

Page 93 - NOCM - No Concurrent Mode

MA - Macro Define/Display NOMA - Macro Delete3-1143MA - Macro Define/Display NOMA - Macro DeleteCommand InputMA [NAME|;L]NOMA [NAME]DescriptionThe M

Page 94 - A List all supported devices

MA - Macro Define/Display NOMA - Macro Delete3-1153Macro definitions are stored in a string pool of fixed size. If the string pool becomes full whil

Page 95

MA - Macro Define/Display NOMA - Macro Delete3-1163Example 2: Define the macro DIS.PPC1-Bug>MA DIS <Return>M=MD \0:17;DI <Return>M= &

Page 96

MAE - Macro Edit3-1173MAE - Macro EditCommand InputMAE NAME LINE # [STRING]ArgumentsDescriptionThe MAE command allows you to edit a macro. MAE is line

Page 97

MAE - Macro Edit3-1183Line numbers serve one purpose: specifying the location within a macro definition to perform the editing function. After the edi

Page 98

MAL - Enable Macro Listing NOMAL - Disable Macro Listing3-1193MAL - Enable Macro Listing NOMAL - Disable Macro ListingCommand InputMALNOMALDescript

Page 99

MAR - Load Macros3-1203MAR - Load MacrosCommand InputMAR [controllerLUN] [[deviceLUN] [block#]]ArgumentsDescriptionThe MAR command loads macros that h

Page 100

MAR - Load Macros3-1213ExampleFor the example, assume that controller 0, device 2 is accessible.Load macros from block 3.PPC1-Bug> MAR 0,2,3 <Re

Page 101 - CS - Checksum

1 1-1 1General Information PPCBug Overview PPCBug is a powerful evaluation and debugging tool for systems built around the Motorola PowerPC microproc

Page 102 - Examples

MAW - Save Macros3-1223MAW - Save MacrosCommand InputMAW [controllerLUN] [[deviceLUN] [block#]] ArgumentsDescriptionThe MAW command saves the currentl

Page 103 - PPC1-Bug>

MAW - Save Macros3-1233ExampleFor the example, assume that controller 0, device 2 is accessible.Load macros from block 3.PPC1-Bug> MAR 0,2,3 <Re

Page 104

MD, MDS - Memory Display3-1243MD, MDS - Memory DisplayCommand InputMD ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI] ]MDS ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI]

Page 105 - DC - Data Conversion

MD, MDS - Memory Display3-1253ExamplesExample 1:PPC1-Bug>MD 22000;H <Return>00022000 2800 1942 2900 1942 2800 1842 2900 2846 (..B)..B(..B)

Page 106

MD, MDS - Memory Display3-1263Example 5:PPC1-Bug>MD 10000;S <Return>00020000 0_A4_194155= 1.6455652147200000_E+001100020004 0_27_3BFC7C= 4.74

Page 107

MD, MDS - Memory Display3-1273Example 7:PPC1-Bug>MDS 30000;B <Return>00030000 3C A0 00 00 2B 04 00 00 41 9A 00 14 98 A3 00 00 <...+...A

Page 108 - DMA - Block of Memory Move

MENU - System Menu3-1283MENU - System MenuCommand InputMENU DescriptionThe MENU command displays the System Menu, which is shown below:1 Continue Sys

Page 109

MM - Memory Modify3-1293MM - Memory ModifyCommand InputMM ADDR [;[[B|H|W|S|D] [A] [N]]|[DI] ]OptionsDescriptionThe MM command is used to view and chan

Page 110 - Effective address: C1FFFFFF

MM - Memory Modify3-1303The command reads the memory and verifies that the new contents match what was written. An error message appears if the value

Page 111

MM - Memory Modify3-1313ExamplesExample 1: Access location $20000, modify memory, modify and backup, and modify memory and exit.PPC1-Bug>MM 20000;H

Page 112 - D32 block transfer cycles

Notice While reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omissi

Page 113

Comparison with other Motorola Bugs1-21 They are collectively referred to in this manual as the PowerPC board or board .The debugger includes: ❏ C

Page 114

MM - Memory Modify3-1323Example 5: Step to next location and exit MM.PPC1-Bug>MM 40000;DI <Return>00040000 3D401000 ADDIS R10,R0,$1000

Page 115

MMD - Memory Map Diagnostic3-1333MMD - Memory Map DiagnosticCommand InputMMD RANGE INCREMENT [;B|H|W]OptionsDescriptionThe MMD command is used to find

Page 116 - DS - One-Line Disassembler

MMD - Memory Map Diagnostic3-1343Example 2: Look for any memory between $10000000 and $FFFFFFFF with an increment of $40000 by bytes.PPC1-Bug>MMD 1

Page 117 - DU - Dump S-Records

MS - Memory Set3-1353MS - Memory SetCommand InputMS ADDR {Hexadecimal number} {'string'}ArgumentsDescriptionThe MS command writes data to me

Page 118

MW - Memory Write3-1363MW - Memory WriteCommand InputMW ADDR DATA [;B|H|W]OptionsThe default data size is word.DescriptionThe MW command writes a data

Page 119 - ECHO - Echo String

MW - Memory Write3-1373Example 3:PPC1-Bug>MW 1E002 33CC;H <Return>Effective address: 0001E002Effective data : 33CCPPC1-Bug>PPC1-Bug>M

Page 120

NAB - Network Auto Boot3-1383NAB - Network Auto BootCommand InputNABDescriptionThe NAB command re-invokes the network auto boot feature. This command

Page 121 - ENV - Set Environment

NAP - NAP MPU3-1393NAP - NAP MPUNote This command is for multi-processor boards only.Command InputNAP MPU#OptionsNoneDescriptionThe NAP command puts a

Page 122

NBH - Network Boot Operating System, Halt3-1403NBH - Network Boot Operating System, HaltCommand InputNBH [ControllerLUN] [DeviceLUN] [ClientIPAddress]

Page 123

NBH - Network Boot Operating System, Halt3-1413After the registers are initialized, control is returned to the debugger monitor and the prompt reappea

Page 124

General Information1-31 The executable code is checksummed at every power-on or reset firmware entry. The result is checked with a pre-calculated che

Page 125

NBO - Network Boot Operating System3-1423NBO - Network Boot Operating SystemCommand InputNBO [ControllerLUN] [DeviceLUN] [ClientIPAddress] [ServerIPAd

Page 126 - PPC1-Bug>fork 1 10000

NBO - Network Boot Operating System3-1433NBO uses primarily the BOOTP, RARP, and TFTP protocols to load the boot file. Refer to the DARPA Internet Req

Page 127 - PPC1-Bug>forkwr 1

NBO - Network Boot Operating System3-1443Note that certain arguments are passed (through MPU registers) to the loaded program. The following is a list

Page 128

NBO - Network Boot Operating System3-1453the boot file is loaded into the user memory, the statistics of the TFTP phase (file transfer) are displayed.

Page 129

NIOC - Network I/O Control3-1463NIOC - Network I/O ControlCommand InputNIOC DescriptionThe NIOC command sends command packets directly to the Ethernet

Page 130

NIOC - Network I/O Control3-1473The reset device/channel/node (type 5) would be used if another operating system (node driver) needs to be control of

Page 131

NIOC - Network I/O Control3-1483ExamplesExample 1: Initialize (type 0) the device/channel/node.PPC1-Bug>NIOC <Return>Controller LUN

Page 132

NIOC - Network I/O Control3-1493PPC1-Bug>MD E000:&21 <Return>0000E000 FFFF FFFF FFFF 0800 3E21 0FCC 0806 0001 ...>!...0

Page 133

NIOC - Network I/O Control3-1503View the address data retrieval.PPC1-Bug>MD E000:222;B <Return>0000E000 FF FF FF FF FF FF 08 00 3E 20 C8 0A 0

Page 134

NIOC - Network I/O Control3-1513This entry point is useful when the interface has not been accessed for some time and you do not want receive data. Th

Page 135

Set-up1-41 Set-up Refer to the board installation and use manual for information on installing the hardware, configuring jumpers, and assigning the c

Page 136

NIOP - Network I/O Physical3-1523NIOP - Network I/O PhysicalCommand InputNIOPDescriptionThe NIOP command allows you to get files from the supported Et

Page 137

NIOP - Network I/O Physical3-1533You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fiel

Page 138 - More stuff in between

NIOP - Network I/O Physical3-1543Controller LUN =00?The Logical Unit Number (LUN) of the controller to accessDevice LUN =00?The LUN of the device to a

Page 139

NIOP - Network I/O Physical3-1553ExampleRead a file into memory.This example illustrates the reading (or getting) of the file /tftboot/motorola.bin fr

Page 140

NIOT - Network I/O Teach (Configuration)3-1563NIOT - Network I/O Teach (Configuration)Command InputNIOT [;[A|H|D]] OptionsDescriptionThe NIOT command a

Page 141

NIOT - Network I/O Teach (Configuration)3-1573Each mass storage boot device and network interface boot device is identified by a device name. Each dev

Page 142 - GN - Go to Next Instruction

NIOT - Network I/O Teach (Configuration)3-1583Node Control Memory Address=FFE10000?The starting address of the necessary memory needed for the transmi

Page 143

NIOT - Network I/O Teach (Configuration)3-1593Boot File Name (“NULL” for None) =?The name of the boot file to load. Once the file is loaded, con

Page 144 - GO - Go Execute User Program

NIOT - Network I/O Teach (Configuration)3-1603Trace Character Buffer Address=00000000?The starting address of memory in which to place the trace chara

Page 145

NIOT - Network I/O Teach (Configuration)3-1613BOOTP/RARP Request Control: Always/When-Needed (A/W) =WBOOTP/RARP Reply Update Control: Yes/No (Y/N)

Page 146

General Information1-51The system performs the self test diagnostics if you do not terminate system start-up. Upon successful completion of these test

Page 147

NIOT - Network I/O Teach (Configuration)3-1623Example 2: Display the network controllers/nodes that are present in the system.PPC1-Bug>NIOT;H <R

Page 148 - Set a breakpoint

3NPING - Network Ping3-1633Debugger CommandsNPING - Network PingCommand InputNPING ControllerLUN DeviceLUN SourceIP DestinationIP [NPackets]ArgumentsD

Page 149

NPING - Network Ping3-1643If the destination does not respond within 10 seconds, the command continues on with the next transmission. Between each suc

Page 150 - HE - Help

OF - Offset Registers Display/Modify3-1653OF - Offset Registers Display/ModifyCommand InputOF [Zn[;A] ]DescriptionThe OF command allows you to access

Page 151

OF - Offset Registers Display/Modify3-1663Enter the following parameters:[base_address [top_address] ]or[base_address [: byte_count] ]The top_address

Page 152

OF - Offset Registers Display/Modify3-1673ExamplesExample 1: Display offset registers.PPC1-Bug>OF <Return>Z0 =00000000 00000000 Z1 = 0000000

Page 153

PA - Printer Attach NOPA - Printer Detach3-1683PA - Printer Attach NOPA - Printer DetachCommand InputPA [PORT]NOPA [PORT]DescriptionThe PA command

Page 154 - IDLE - Idle Master MPU

PA - Printer Attach NOPA - Printer Detach3-1693Example 2: Display current attached printers.PPC1-Bug>PA <Return>Printer $02 attachedPPC1-Bu

Page 155 - IOC - I/O Control for Disk

PBOOT - Bootstrap Operating System3-1703PBOOT - Bootstrap Operating SystemCommand InputPBOOT ; A|VPBOOT CLUN DLUN PARTITION [String] [;H ]ArgumentsOpt

Page 156

PBOOT - Bootstrap Operating System3-1713DescriptionThe PBOOT command loads an operating system or control program from a mass storage device (e.g., ha

Page 157

Start-up1-6113. Set base address of memory to $00000000.14. Retrieve the speed of read/write memory from NVRAM.15. Initialize read/write memory contro

Page 158 - IOI - I/O Inquiry

PBOOT - Bootstrap Operating System3-1723The layout of the boot record must be designed as shown in the Figure 3-1. The first 446 bytes of the boot rec

Page 159

PBOOT - Bootstrap Operating System3-1733The 32-bit start RBA is zero-based. The 32-bit count RBA value is one-based and indicates the number of 512-by

Page 160

PBOOT - Bootstrap Operating System3-1743PC Compatibility Block0Entry Point Offset (LE)512Load Image Length (LE)516Flag Field520OS_ID521Partition Name5

Page 161

PBOOT - Bootstrap Operating System3-1753Once the boot partition is located by using the boot record, the debugger will typically:1. Read into memory t

Page 162

PBOOT - Bootstrap Operating System3-1763PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTYPE RM Inquiry-Data 0

Page 163 - D Format the entire disk

PBOOT - Bootstrap Operating System3-1773Example 3: This example demonstrates a boot from a direct-access device (i.e., hard disk). The default partiti

Page 164

PF - Port Format NOPF - Port Detach3-1783PF - Port Format NOPF - Port DetachCommand InputPF [PORT]NOPF [PORT]DescriptionThe PF command allows you t

Page 165

PF - Port Format NOPF - Port Detach3-1793You may also enter a special character, either at the prompt or after typing new data, for scrolling throug

Page 166

PF - Port Format NOPF - Port Detach3-1803ConÞguring a PortThese are the configurable parameters (these may vary depending on the driver):Port base a

Page 167

PF - Port Format NOPF - Port Detach3-1813PPC1-Bug>PF 1 <Return>Baud rate [110,300,600,1200,2400,4800,9600,19200] = 9600? <Return>Even

Page 168

General Information1-7130. Verify the configuration data that is resident in NVRAM, and display a warning message if the verification failed.31. Cal

Page 169

PF - Port Format NOPF - Port Detach3-1823If the new port has not been configured, the interactive configuration mode is entered (refer to Configurin

Page 170

PFLASH - Program FLASH Memory3-1833PFLASH - Program FLASH MemoryCommand InputPFLASH SSADDR SEADDR DSADDR [IEADDR][;[A|R][X]]PFLASH SSADDR:COUNT DSADDR

Page 171

PFLASH - Program FLASH Memory3-1843DescriptionThe PFLASH command loads an application or program into Flash memory. The command line arguments are che

Page 172

PFLASH - Program FLASH Memory3-1853is not specified, upon successful completion, the driver blinks the FAIL LED at the rate of once per 1/2 second. Up

Page 173

PFLASH - Program FLASH Memory3-1863PPC1-Bug>BM FFF00000:100000/4 100000 <Return>Effective address: FFF00000 Effective count : &1048576 E

Page 174 - Example 2:

PS - Put RTC into Power Save Mode3-1873PS - Put RTC into Power Save ModeCommand InputPS DescriptionThe PS command turns off the oscillator in the RTC

Page 175

RB - ROMboot Enable NORB - ROMboot Disable3-1883RB - ROMboot Enable NORB - ROMboot DisableCommand InputRB[;V]NORB DescriptionThe RB command invokes

Page 176 - LO - Load S-Records from Host

RB - ROMboot Enable NORB - ROMboot Disable3-1893Example 3: PPC1-Bug> NORB <Return>ROM boot disabledPPC1-Bug>

Page 177

RD - Register Display3-1903RD - Register DisplayCommand InputRD [{[+|-|=] [DNAME] [/]}{[+|-|=] [REG1[-REG2]] [/]}] [;E]ArgumentsDescriptionThe RD comm

Page 178

RD - Register Display3-1913Note the following when specifying any arguments in the command line:❏ The +, -, or = qualifier applies to the next registe

Page 179

Start-up1-81Under normal conditions, the startup sequence begins at 0x1100 and continues to the PPC1-Bug> prompt just after 0x11D4. RAM initializat

Page 180

RD - Register Display3-1923ExamplesExample 1: Default display - MPU subset (also called out by DEF):PPC1-Bug>RD <Return>IP =00040010 MSR

Page 181

RD - Register Display3-1933FR6 =0_000_0000000000000= 0.0000000000000000_E+0000FR7 =0_000_0000000000000= 0.0000000000000000_E+0000FR8 =0_000_0

Page 182 - NOMA - Macro Delete

RD - Register Display3-1943Example 3: Add only FR0 and FR1 to the original default display.PPC1-Bug>RD FR0/FR1 <Return>IP =00040010 MSR

Page 183 - M= <Return>

RD - Register Display3-1953Example 6: Restore the display to the original set.PPC1-Bug>RD =DEF <Return>IP =00040010 MSR =00003030 CR

Page 184

REMOTE - Remote3-1963REMOTE - RemoteCommand InputREMOTEDescriptionThe REMOTE command initiates a service call through a remote modem. This command dup

Page 185 - MAE - Macro Edit

RESET - Cold/Warm Reset3-1973RESET - Cold/Warm ResetCommand InputRESETDescriptionThe RESET command allows you to specify the level of reset operation

Page 186

RESET - Cold/Warm Reset3-1983MPU Clock Speed =xxMhz BUS Clock Speed =xxMhzPPC1-Bug>

Page 187 - NOMAL - Disable Macro Listing

RL - Read Loop3-1993RL - Read LoopCommand InputRL ADDR[;B|H|W]OptionsDescriptionThe RL command establishes an infinite loop consisting of a processor

Page 188 - MAR - Load Macros

RM - Register Modify3-2003RM - Register ModifyCommand InputRM [REG]DescriptionThe RM command allows you to display and change the target registers. RE

Page 189

RM - Register Modify3-2013Example 2: Modify register FR0 and view the results.PPC1-Bug>RM FR0 <Return>FR0 =0_384_4ED67D467D9BF= 1.2300000000

Page 190 - MAW - Save Macros

General Information1-91111C Setting up the DRAM init parameters111E Initializing DRAM in bridge/memory controller1120 Setting up debugger memory page

Page 191

RM - Register Modify3-2023SPR20 =FFEC0000? <Return>SPR21 =FFEC0000? <Return>SPR22 =16A30500? <Return>SPR25 =00000000? <Return

Page 192 - MD, MDS - Memory Display

RS - Register Set3-2033RS - Register SetCommand InputRS REG [EXP|ADDR]DescriptionThe RS command allows you to change the data in the specified target

Page 193

RS - Register Set3-2043Example 2: Examine register R5.PPC1-Bug>RS R5 <Return>R5 =12345678PPC1-Bug>Example 3: Examine register FR0.PPC1

Page 194 - Example 6:

RUN - MPU Execution/Status3-2053RUN - MPU Execution/StatusNote This command is for multi-processor boards only.Command InputRUN [MPU#]DescriptionThe R

Page 195 - Example 8:

RUN - MPU Execution/Status3-2063Descriptions of all possible states:Note The debugger only permits one processor to execute the debugger monitor. This

Page 196 - MENU - System Menu

SD - Switch Directories3-2073SD - Switch DirectoriesCommand InputSDDescriptionThe SD command allows you to switch from the debugger directory to the d

Page 197 - MM - Memory Modify

SET - Set Time and Date3-2083SET - Set Time and DateCommand InputSET mmddyyhhmmDescriptionThe SET command starts the RTC and sets the time and date. T

Page 198

SROM - SROM Examine/Modify3-2093SROM - SROM Examine/ModifyCommand InputSROM [offset]Options:NoneDescription:The SROM command allows the user to examin

Page 199

SROM - SROM Examine/Modify3-2103Examples:Example 1: To simply view the first 26 bytes of SROM contents and not change any entry:PPC1-Bug>sromDevice

Page 200

SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2113SYM - Symbol Table Attach NOSYM - Symbol Table DetachCommand InputSYM [ADDR]NOSYMDescrip

Page 201 - MMD - Memory Map Diagnostic

Start-up1-101114E Initializing FALCON ROM1150 Initializing VME bridge1152 Initializing ISA bridge1154 Sending speaker beep1160 Checking abort switch s

Page 202

SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2123The format of the symbol table is shown below:Upon execution of the command, the debugger

Page 203 - MS - Memory Set

SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2133Example 4:PPC1-Bug>MD _LDCHAR+4 <Return>_ldchar+$0004 04050607 08090A0B 0C0D0E0

Page 204 - MW - Memory Write

SYMS - Symbol Table Display/Search3-2143SYMS - Symbol Table Display/SearchCommand InputSYMS [symbol-name]|[;S]DescriptionThe SYMS command displays the

Page 205 - Example 3:

SYMS - Symbol Table Display/Search3-2153Example 4: Display the attached symbol table in ascending ASCII order.PPC1-Bug>SYMS;S <Return>_ldchar

Page 206 - NAB - Network Auto Boot

T - Trace3-2163T - TraceCommand InputT [COUNT]DescriptionThe T command executes one instruction at a time, displaying the target state after execution

Page 207 - NAP - NAP MPU

T - Trace3-2173PPC1-Bug>BR <Return>BREAKPOINTS00030014PPC1-Bug>Initialize IP and R3, R4:PPC1-Bug>RM IP <Return>IP =0000E000 ? 3

Page 208

T - Trace3-2183Trace next instruction:PPC1-Bug> <Return>IP =00030008 MSR =00003030 CR =00000040 FPSCR =00000000R0 =00000000 R

Page 209

T - Trace3-2193Trace the next instruction:PPC1-Bug>T <Return>At BreakpointIP =00030014 MSR =00003030 CR =00000040 FPSCR =00000000

Page 210

TA - Terminal Attach3-2203TA - Terminal AttachCommand InputTA [PORT]DescriptionThe TA command assigns a serial port to be the console. The port specif

Page 211

TIME - Display Time and Date3-2213TIME - Display Time and DateCommand InputTIME [;L]DescriptionThe TIME command displays the date and time to the cons

Page 212

General Information1-1111194 Setting up special init section pointers and runtime variables1196 Initializing abort switch1198 Setting up board sufÞx a

Page 213

TM - Transparent Mode3-2223TM - Transparent ModeCommand InputTM [PORT] [ESCAPE]DescriptionThe TM command connects the current console serial port to t

Page 214 - NIOC - Network I/O Control

TM - Transparent Mode3-2233TM without any arguments displays the current escape character, which you must enter in order to return to the debugger.Exa

Page 215

TT - Trace to Temporary Breakpoint3-2243TT - Trace to Temporary BreakpointCommand InputTT ADDRDescriptionThe TT command sets a temporary breakpoint at

Page 216

TT - Trace to Temporary Breakpoint3-2253PPC1-Bug>BR <Return>BREAKPOINTS00030014PPC1-Bug>Initialize IP and R3, R4:PPC1-Bug>RM IP <Ret

Page 217

TT - Trace to Temporary Breakpoint3-2263R4 =00000100 R5 =00000000 R6 =00000000 R7 =00000000R8 =00000000 R9 =00000000 R10 =0

Page 218

VE - Verify S-Records Against Memory3-2273VE - Verify S-Records Against MemoryCommand InputVE [PORT] [ADDR] [;[X] [C]] [=text]OptionsDescriptionThe VE

Page 219

VE - Verify S-Records Against Memory3-2283and should begin immediately following the equals sign, and terminate with the carriage return. If the host

Page 220 - NIOP - Network I/O Physical

VE - Verify S-Records Against Memory3-2293ExampleFor the example, assume that the program has been compiled and linked to start at address 65040000.

Page 221

VE - Verify S-Records Against Memory3-2303This file is downloaded into memory at address $40000. The program may be examined in memory using the MD co

Page 222

VER - Revision/Version Display3-2313VER - Revision/Version DisplayCommand InputVER [;E]DescriptionThe VER command displays the various revisions and v

Page 223

Preface The PPCBug Firmware Package UserÕs Manual provides information on the PPCBug Þrmware, the start-up and boot routines, the debugger commands

Page 224

Running the Diagnostics and Debugger1-121Running the Diagnostics and DebuggerIn order to use the diagnostics, terminate the start-up process by pressi

Page 225

VER - Revision/Version Display3-2323PCI Function 00/0B/2 (00005A00) ID/Revision...=30381106/02PCI Function 00/0B/3 (00005B00) ID/Revision...

Page 226

VER - Revision/Version Display3-2333PCI Function 00/0B/0 (0005800) ID/Revision...=05861106/33Class:Bridge Device Subclass: PCI/ISA BridgeBase+$

Page 227

VER - Revision/Version Display3-2343PCI Function 00/14/0 (0000A000) ID/Revision...=00261011/01Class: Bridge Device Subclass:PCI/PCI BridgeBase+

Page 228

WL - Write Loop3-2353WL - Write LoopCommand InputWL ADDR:DATA[;B|H|W]OptionsDescriptionThe WL command establishes an infinite loop consisting of a pro

Page 230

PPCBugFirmware PackageUser’s ManualPart 2 of 2PPCBUGA2/UM4

Page 231 - NPING - Network Ping

NoticeWhile reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omission

Page 232

PrefaceThe PPCBug Firmware Package UserÕs Manual provides information on the PPCBug Þrmware, the start-up and boot routines, the debugger commands, th

Page 233

ConventionsThe following conventions are used in this document:boldis used for user input that you type just as it appears. Bold is also used forcomma

Page 234

Safety SummarySafety Depends On YouThe following general safety precautions must be observed during all phases of operation, service, andrepair of thi

Page 235 - PPC1-Bug>OF <Return>

General Information1-131Auto BootNote The PowerPlus architecture boards do not execute a configured boot routine.Auto Boot is the default boot routine

Page 236 - NOPA - Printer Detach

The computer programs stored in the Read Only Memory of this device contain material copyrighted by Motorola Inc., 1995, 1996, and 1997, and may be us

Page 237

44-14One-Line Assembler/DisassemblerIntroductionThe PPCBug one-line assembler is an interactive assembler/editor in which the source program is not sa

Page 238 - Arguments

Comparison with the Standard Assembler4-24Machine-Instruction Operation CodesRefer to PowerPC 603 RISC Microprocessor UserÕs Manual, PowerPC 604 RISC

Page 239

One-Line Assembler/ Disassembler4-34❏ No conditional assembly is used.❏ Several symbols recognized by the resident assembler are not included in the P

Page 240

Source Program Coding4-44Operation FieldBecause there is no label field, the operation field may begin in the first available column. It may also foll

Page 241

One-Line Assembler/ Disassembler4-54Mnemonics and DelimitersThe assembler recognizes all PowerPC instruction mnemonics. Numbers are recognized as bina

Page 242

Source Program Coding4-64InstructionsThe following is a list of the instruction fields and their default number bases:CRBA DecimalCRBB DecimalBD Signe

Page 243

One-Line Assembler/ Disassembler4-74The assembly/disassembly format of the instruction mnemonics and operands follow the syntax specified in the Power

Page 244 - Partition Not Bootable

Source Program Coding4-84Addressing ModesEffective address modes, combined with operation codes, define the particular function to be performed by a g

Page 245

One-Line Assembler/ Disassembler4-94The order of evaluation is strictly left to right with no precedence granted to some operators over others. The on

Page 246 - NOPF - Port Detach

ROMboot1-141ROMbootNote The PowerPlus architecture boards do not execute a configured boot routine.ROMboot is a mechanism for booting an operating sys

Page 247

Source Program Coding4-104An ASCII string which contains spaces may not be used as an argument to the WORD directive, even if the string is enclosed i

Page 248 - N Disabled

One-Line Assembler/ Disassembler4-114Refer to Chapter 5, System Calls, for information on the system call routines.Entering and Modifying Source Progr

Page 249

Entering and Modifying Source Programs4-124(always hexadecimal) is returned. Because the disassembler gives precedence to instructions, a word of data

Page 250

One-Line Assembler/ Disassembler4-134Entering Branch OperandsIn the case of forward branches, the absolute address of the destination may not be known

Page 251 - PFLASH - Program FLASH Memory

Entering and Modifying Source Programs4-144Assembler Error MessagesThe following is a list of the assembler error messages:An Operand has a Length of

Page 252

55-15System CallsIntroductionThis chapter describes the PPCBug System Call handler, which allows system calls from user programs. The system calls can

Page 253

System Call Routines5-25String Formats for I/OWithin the context of the System Call handler there are two formats for strings:A line is defined as a s

Page 254

System Calls5-35$0012 .DSKCFIG Disk conÞgure$0014 .DSKFMT Disk format$0015 .DSKCTRL Disk control$0018 .NETRD Read/get from host$0019 .NETWR Write/send

Page 255

System Call Routines5-45 $0069 .MULU32 Multiply two 32-bit unsigned integers$006A .DIVU32 Divide two 32-bit unsigned integers$006B .CHK_SUM Generate c

Page 256 - NORB - ROMboot Disable

System Calls5-55.DSKCFIG $0012 Disk conÞgure.DSKCTRL $0015 Disk control.DSKFMT $0014 Disk format.DSKRD $0010 Disk read.DSKWR $0011 Disk write.ENVIRON

Page 257

General Information1-151The format of the beginning of the routine is:If you want to make use of ROMboot, you do not have to fill a complete FLASH dev

Page 258 - RD - Register Display

System Call Routines5-65.REDIR $0060 Redirect I/O of a System Call function.REDIR_I $0061 Redirect input.REDIR_O $0062 Redirect output.RETURN $0063 Re

Page 259

5.INCHR5-75System Calls.INCHR Name.INCHR - Input character routine Code $0000 Description .INCHR reads a character from the default input port. Th

Page 260

.INSTAT5-85.INSTAT Name.INSTAT - Input serial port status routineCode $0001 Description.INSTAT is used to see if there are characters in the default i

Page 261

.INLN5-95.INLN Name .INLN - Input line routine Code $0002 Description.INLN is used to read a line from the default input port. The buffer size should

Page 262

.READSTR5-105.READSTR Name .READSTR - Read string into variable-length buffer Code $0003 Description.READSTR is used to read a string of characters fr

Page 263

.READSTR5-115Note This routine allows the caller to dictate the maximum length of input to be less than 254 characters. If more characters are entered

Page 264 - REMOTE - Remote

.READLN5-125.READLN Name .READLN - Read line to Þxed-length buffer Code$0004 Description.READLN is used to read a string of characters from the defaul

Page 265 - RESET - Cold/Warm Reset

.CHKBRK5-135.CHKBRK Name .CHKBRK - Check for break Code $0005 Description.CHKBRK alters R03 according to a break status being detected at the default

Page 266

.DSKRD .DSKWR5-145.DSKRD .DSKWR Name.DSKRD - Disk read routine .DSKWR - Disk write routine Codes$0010 $0011 DescriptionThese routines are used to r

Page 267 - RL - Read Loop

.DSKRD .DSKWR5-155Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number (LUN) of device

Page 268 - RM - Register Modify

ROMboot1-161established that the routine was meant to be used for ROMboot.Under control of the ENV command, the sequence of searches is as follows: 1.

Page 269

.DSKRD .DSKWR5-165Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry Status half-word of command packet is

Page 270

.DSKCFIG5-175.DSKCFIG Name.DSKCFIG - disk conÞgure routine Code$0012 DescriptionThis routine allows you to change the conÞguration of the speciÞed dev

Page 271 - RS - Register Set

.DSKCFIG5-185Command PacketThe command packet format is as follows:Field descriptions:FEDCBA9876543210$00 Controller LUN Device LUN$02 Status Half-Wor

Page 272

.DSKCFIG5-195Device Descriptor PacketThe Device Descriptor Packet is as follows:Most of the Þelds in the Device Descriptor Packet are equivalent to th

Page 273 - RUN - MPU Execution/Status

.DSKCFIG5-205The Disk Packet Parameters are shown in the following table. The parameters that do not have an exact equivalent CFGA field are indicated

Page 274

.DSKCFIG5-215P_DBS* $13 1 IOSREC Record (Block) size, encoded as follows (IOSREC is a two-byte Þeld containing the actual block size):$00 128 bytes$01

Page 275 - SD - Switch Directories

.DSKCFIG5-225Configuration Area Block CFGA FieldsAttribute Mask -- IOSATM and IOSEATMThe IOSATM field bits are defined in the following table: A 1 in a

Page 276 - SET - Set Time and Date

.DSKCFIG5-235Attribute Word -- IOSATW and IOSEATWIOSATW contains various flags that specify characteristics of the media and drive, which are defined

Page 277 - SROM - SROM Examine/Modify

.DSKCFIG5-245Table 5-7. IOSATW Fields (CFGA)Bit NumberDescriptionBit 0 Data density: 0 = Single density (FM encoding)1 = Double density (MFM encodin

Page 278 - Examples:

.DSKCFIG5-255Table 5-8. CFGA FieldsParameter DescriptionIOSREC Record (Block) size Number of bytes per record (block). Must be an integer multiple of

Page 279 - NOSYM - Symbol Table Detach

General Information1-171Do the following to prepare the ROMboot routine (includes checksum calculation):1. Assemble and link the code, leaving $00 in

Page 280 - Offset Field Description

.DSKCFIG5-265IOSRWCC Reduced writecurrent cylinderThe cylinder number at which the write current should be reduced when writing to the drive. This par

Page 281 - Example 4:

.DSKFMT5-275.DSKFMT Name .DSKFMT - Disk format routine Code $0014 DescriptionThis routine allows you to send a format command to the speciÞed device.

Page 282

.DSKFMT5-285Entry Conditions R03: 32-bit address of command packet Memory AddressAddress of buffer in memory. On disk read, data is written starting a

Page 283

.DSKFMT5-295Exit Conditions Different From Entry Status half-word of command packet is updated. R03: Bit 3 (ne) = 1; Bit 2 (eq) = 0 if errors. R03: Bi

Page 284 - T - Trace

.DSKCTRL5-305.DSKCTRL Name .DSKCTRL - Disk control routine Code $0015 DescriptionThis routine is used to implement any special device control routines

Page 285 - Initialize IP and R3, R4:

.DSKCTRL5-315Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry Status half-word of command packet is updated

Page 286 - Trace next instruction:

.NETRD .NETWR5-325.NETRD .NETWR Name .NETRD - Read/get from host .NETWR - Write/put to hostCode $0018/$0019 Description This routine is used to get

Page 287 - Breakpoint is displayed)

.NETRD .NETWR5-335Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use S

Page 288 - TA - Terminal Attach

5.NETCFIG5-345System Calls.NETCFIG Name .NETCFIG - ConÞgure network parameters Code $001A DescriptionThis routine allows you to change the conÞguratio

Page 289 - TIME - Display Time and Date

.NETCFIG5-355Field descriptions: The Network ConÞguration Parameters structure has the following format: Controller LUN Logical Unit Number (LUN) of c

Page 290 - TM - Transparent Mode

Network Auto Boot1-1818. Verify the functionality of the user ROMboot routine with the RB command.PPC1-Bug>RB; V <Return>ROMboot about to Beg

Page 291

.NETCFIG5-365$0CBoot File Execution AddressMost SigniÞcant Word$0E Least SigniÞcant Word$10Boot File Execution DelayMost SigniÞcant Word$12 Least Sign

Page 292

.NETCFIG5-375Field descriptions: Node Control Memory AddressThe starting address of the necessary memory needed for the transmit and receive buffers.

Page 293

.NETCFIG5-385Boot File Execution DelayThe delay, in seconds, before control is passed to the loaded Þle (program). Boot File Length The number of byte

Page 294

.NETCFIG5-395) ARP reply- Unsupported RARP type{ RARP request} RARP reply^ Unsupported TFTPtype\ TFTP read request/ TFTP write request< TFTP acknow

Page 295

.NETFOPN5-405.NETFOPN Name .NETFOPN - Open Þle for reading Code $001B DescriptionThis routine allows the user to open a Þle for reading. The Þrmware b

Page 296

.NETFOPN5-415Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status

Page 297 - S7056504000091

.NETFRD5-425.NETFRD Name .NETFRD - Retrieve speciÞed Þle blocks Code $001C DescriptionThis routine allows you to retrieve the speciÞed Þle blocks. You

Page 298

.NETFRD5-435Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status Wo

Page 299

.NETCTRL5-445.NETCTRLName .NETCTRL - Implement special control routinesCode $001D DescriptionThis routine is used to implement any special control r

Page 300

.NETCTRL5-455Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status W

Page 301

General Information1-191During the delay, you can gain control without Network Autoboot by pressing either the BREAK key or the software abort or rese

Page 302

.NETCTRL5-465Memory Address The memory address in which the data transfer operation (types 1, 2, and 3) would take place from/to. Number of Bytes The

Page 303 - WL - Write Loop

.OUTCHR5-475.OUTCHR Name .OUTCHR - Output character routine Code $0020 DescriptionThis routine outputs a character to the default output port. Entry C

Page 304

.OUTSTR .OUTLN5-485.OUTSTR .OUTLN Names.OUTSTR - Output string to default output port .OUTLN - Output string with a <CR><LF> sequenceCo

Page 305 - Part 2 of 2

.WRITE .WRITELN5-495.WRITE .WRITELN Names.WRITE - Output string without a <CR> or <LF>.WRITELN - Output string with a <CR><LF&

Page 306

.PCRLF5-505.PCRLF Name .PCRLF - Print a <CR><LF> sequence Code $0026 Description.PCRLF sends a <CR><LF> sequence to the defaul

Page 307

.ERASLN5-515.ERASLN Name .ERASLN - Erase Line Code $0027 Description.ERASLN is used to erase the line at the present cursor position. If a printer is

Page 308 - Conventions

.WRITD .WRITDLN5-525.WRITD .WRITDLN Names.WRITD - Output string with data .WRITDLN - Output string with data and a <CR><LF> sequenceCod

Page 309 - Safety Depends On You

.WRITD .WRITDLN5-535Notes 1. The string must be formatted such that the first byte (the byte pointed to by the passed address) contains the count (i

Page 310 - Disclaimer of Warranty

.SNDBRK5-545.SNDBRK Name .SNDBRK - Send break Code $0029 Description.SNDBRK is used to send a break to the default output port. Entry Conditions No ar

Page 311 - Disassembler

.DELAY5-555.DELAY Name .DELAY - Timer delay routine Code $0043 Description.DELAY is used to generate accurate timing delays that are independent of th

Page 312 - Directives

Restarting the System1-201AbortAbort is invoked by pressing and releasing the ABORT switch. Whenever abort is invoked while executing a user program (

Page 313 - Source Program Coding

.RTC_TM5-565.RTC_TM Name .RTC_TM - Time initialization for RTC Code $0050 Description.RTC_TM initializes Real-Time Clock with the time that is located

Page 314

.RTC_DT5-575.RTC_DT Name .RTC_DT - Date initialization Code $0051 Description.RTC_DT initializes Real-Time Clock with the date that is located in a us

Page 315

.RTC_DSP5-585.RTC_DSP Name .RTC_DSP - Display time from RTC Code $0052 Description.RTC_DSP displays the date and time on the console from the current

Page 316 - Instructions

.RTC_RD5-595.RTC_RD Name .RTC_RD - Read the RTC registers Code $0053 Description.RTC_RD is used to read the Real-Time Clock registers. The data return

Page 317

.REDIR5-605.REDIR Name .REDIR - Redirect I/O routine Code $0060 Description.REDIR is used to select an I/O port and at the same time invoke a particul

Page 318 - Addressing Modes

.REDIR_I .REDIR_O5-615.REDIR_I .REDIR_O Name.REDIR_I - Redirect input .REDIR_O - Redirect output Codes$0061$0062 DescriptionThe .REDIR_I and .REDIR

Page 319 - WORD Define Constant Directive

.RETURN5-625.RETURN Name .RETURN - Return to PPCBug Code $0063 Description.RETURN is used to return control to PPCBug from the target program in an or

Page 320 - SYSCALL System Call Directive

.BINDEC5-635.BINDEC Name .BINDEC - Calculate the Binary Coded Decimal (BCD) equivalent of the binary number speciÞedCode $0064 Description.BINDEC take

Page 321

5.CHANGEV5-645System Calls.CHANGEV Name.CHANGEV - Parse value, assign to variable Code $0067 DescriptionAttempt to parse value in user-speciÞed buffer

Page 322 - Entering a Source Line

.STRCMP5-655.STRCMP Name.STRCMP - Compare two strings (pointer/count) Code$0068 DescriptionComparison for equality is made and Boolean ßags are return

Page 323 - Entering Branch Operands

General Information1-211BreakA break is generated by pressing and releasing the BREAK key on the current-console keyboard. Break does not generate an

Page 324 - Assembler Error Messages

.MULU325-665.MULU32 Name.MULU32 - Unsigned 32-bit x 32-bit multiply Code$0069DescriptionTwo 32-bit unsigned integers are multiplied and the product is

Page 325 - 5System Calls

.DIVU325-675.DIVU32 Name.DIVU32 - Unsigned 32-bit x 32-bit divide Code$006A DescriptionUnsigned division is performed on two 32-bit integers and the q

Page 326 - System Call Routines

.CHK_SUM5-685.CHK_SUM Name.CHK_SUM - Generate checksum for address range Code$006B DescriptionThis routine generates a checksum for an address rangeth

Page 327 - System Call function

.BRD_ID5-695.BRD_ID Name.BRD_ID - Return pointer to board ID packet Code$0070 DescriptionThis routine returns a pointer in R03 to the board identiÞcat

Page 328

.BRD_ID5-705Refer to Appendix G for data on supported network controllers.Board Number Half-Word containing the board number (in BCD) Board SufÞx Half

Page 329

.BRD_ID5-715Entry ConditionsNoneExit Conditions Different From EntryR03: Address (word) Starting address of ID packetDevice TypeDevice00 Direct-Acce

Page 330

.ENVIRON5-725.ENVIRON Name.ENVIRON - Read/write environment parameters Code$0071 DescriptionThe purpose of the TRAP is to allow a user program access

Page 331

.ENVIRON5-735For operation 0R03: The number of bytes required to store the debugger information.Description Of Parameter Packets The data contained in

Page 332 - .INSTAT

.ENVIRON5-7452 Disk Auto Boot Information 2 $15 Disk Auto Boot Enable Disk Auto Boot at power-up only Disk Auto Boot Controller Logical Unit Nu

Page 333 - <CR>

.ENVIRON5-755For an explanation of each entry and deÞnition of options, refer to the ENV command.The debugger will return all parameter packets on a r

Page 334 - .READSTR

Conventions The following conventions are used in this document: bold is used for user input that you type just as it appears. Bold is also used forc

Page 335 - I/O Support on page 1-23

Restarting the System1-221SYSFAIL* Assertion and Negation (MVME230x, MVME260x, MVME360x, and MVME460x)On VMEbus boards, the board fail is the same as

Page 336 - .READLN

.PFLASH Function5-765.PFLASH FunctionName.PFLASH - Program Flash memory Code$0073 DescriptionThe purpose of this TRAP is to program Flash memory under

Page 337 - .CHKBRK

.PFLASH Function5-775Field descriptions: Control/Status WordSpeciÞes control and status of the various phases of the Flash memory programming. This pa

Page 338 - .DSKRD

.PFLASH Function5-785The next table describes the definitions of the control and status bits in the Control/Status Word field. Note: When programming

Page 339 - Field descriptions:

.DIAGFCN5-795.DIAGFCN Name.DIAGFCN - Diagnostic routineCode$0074 Description.DIAGFCN is a system-call-like routine, for the diagnostics. This system c

Page 340

.DIAGFCN5-80502: .TESTSTAT (output test status report)This diagcfn call allows access to selftest diagnostic results. The calling function must supply

Page 341 - .DSKCFIG

.DIAGFCN5-815The caller will then typically allocate the number of bytes of memory requested for the report, and call the TESTSTAT function again. Thi

Page 342 - Command Packet

.DIAGFCN5-825The B status indicates a test has decided not to run, due to some conÞguration limitation (an example would be when the MCECC tests repor

Page 343

.DIAGFCN5-835if ( 4 < size < count ) write ‘count’ to ‘bufptr’ location in RAM return -1;if ( count <= size ) write ‘count’ to ‘bufptr’

Page 344

.DIAGFCN5-845This report may return:1. Walk down through the diag directory, looking for test groups that match our list. 2. When a match is found, wa

Page 345

.DIAGFCN5-855The argument pointer in the diagfcn struct points to the report buffer. This buffer is 452 bytes long, and has the structure:MEMSTAT will

Page 346

General Information1-231Disk I/O SupportThe debugger can initiate disk input and output by communicating with intelligent disk controllers over the PC

Page 347

.DIAGFCN5-865The caller must provide a pointer to a structure when calling this function. The structure Þrst contains an ÕintÕ (4 bytes) giving the si

Page 348

.DIAGFCN5-875ExamplesExample 1: .CHKFCNPPC1-Bug>MM 10100;DI <Return>00010100 59200074 SYSCALL .DIAGFCN <Return>00010108 59200063 SYSCAL

Page 349 - Table 5-8. CFGA Fields

.DIAGFCN5-885PPC1-Bug>RM R02 <Return> (pointer to DIAGFCN struct)R03 =00000000? 20000 . <Return> PPC1-Bug>MM 20008 <Return> (s

Page 350

.DIAGFCN5-895PPC1-Bug>MD 20100:40 <Return> (display report)00020100 00000005 00000000 00000000 0000004E ...N00020110 72616D00 000

Page 351 - .DSKFMT

.DIAGFCN5-905PPC1-Bug>MM 20008 <Return> (size of buffer)00020008 00000000? AFE . <Return>PPC1-Bug>BF 20100:800 FFFFFFFF <Return&g

Page 352 - Entry Conditions

.SIOPEPS5-915.SIOPEPS Name.SIOPEPS - Retrieve SCSI pointers Code$0090 DescriptionThe purpose of this TRAP is to allow a user program to access the SCS

Page 353

.SIOPEPS5-925script_ptr Pointer to the NCR scripts index pointer arrayscript_ptr_sz Size of the NCR scripts index pointer arrayscript_array_sz Size of

Page 354 - .DSKCTRL

5.FORKMPU Function5-935System Calls.FORKMPU FunctionNote This is a PPC1Bug system call for MVME4600 series or Dual Processor MTX motherboards.Name.FO

Page 355

.FORKMPUR Function5-945.FORKMPUR FunctionNote This is a PPC1Bug system call for MVME4600 or dual processor MTX motherboards.Name.FORKMPUR - Fork Idle

Page 356 - .NETRD

.FORKMPUR Function5-955$054 GPR21$058 GPR22$05C GPR23$060 GPR24$064 GPR25$068 GPR26$06C GPR27$070 GPR28$074 GPR29$078 GPR30$07C GPR31$080 FPR00$088 FP

Page 357

Disk I/O Support1-241initiate the transfer. If the conversion from blocks to sectors yields a fractional sector count, an error is returned and no dat

Page 358 - .NETCFIG

.FORKMPUR Function5-965$194 SR05$198 SR06$19C SR07$1A0 SR08$1A4 SR09$1A8 SR10$1AC SR11$1B0 SR12$1B4 SR13$1B8 SR14$1BC SR15$1C0 SPR00$1C4 SPR01$1C8 SPR

Page 359

.FORKMPUR Function5-975$258 SPR541$25C SPR542$260 SPR543$264 SPR936$268 SPR937$26C SPR938$270 SPR939$274 SPR940$278 SPR941$27C SPR942$280 SPR952$284 S

Page 360 - Most SigniÞcant Word

.FORKMPUR Function5-985Field descriptions: GPR00 to GPR31 general purpose registersFPR00 to FPR31 floating point registersSR00 to SR15 segment registe

Page 361

.IDLEMPU Function5-995.IDLEMPU Function Name.IDLEMPU - Idle MPU (Multiple MPU Configuration)Code$0110 Description.IDLEMPU is used to idle the processo

Page 362

.IOINQ5-1005.IOINQ Name.IOINQ - Port Inquire Code$0120 DescriptionWrites the Port Control Structure at the user-speciÞed address. The Port Control Str

Page 363

.IOINQ5-1015Field descriptions:$10 Concurrent Mode$14 Modem ID$18 I/O Control Structure Pointer$1C Error Code$20 Reserved$24 Reserved$28 ReservedPort

Page 364 - .NETFOPN

.IOINQ5-1025Concurrent ModeNonzero Value ßags concurrent mode operation of this port. Zero ßags normal operation for this port. Modem ID Modem identiÞ

Page 365

.IOINQ5-1035I/O Control StructureThe I/O Control Structure is of the form:6 No info available on CM port because CM not active 7 All legal Port Number

Page 366 - .NETFRD

.IOINQ5-1045Field descriptions:ctrlbits The bits of this 32-bit wide integer are deÞned as high true ßags with the following meanings: Bit 00 odd pari

Page 367

.IOINQ5-1055Note Only the asynchronous protocol is supported by PPCBug.sync1 8 bit value to be used as the sync1 character in the synchronous communic

Page 368 - .NETCTRL

General Information1-251IOP (Physical I/O to Disk)!CautionIf you start the IOP format procedure, it must be allowed to complete (PPC1Bug> prompt re

Page 369

.IOINFORM5-1065.IOINFORM Name.IOINFORM - Port Inform Code$0124 DescriptionThis trap will inform the PPCBug about change in I/O Port operation. The PPC

Page 370

.IOINFORM5-1075Port Control StructureThe Port Control Structure is of the form:31 24 23 16 15

Page 371 - .OUTCHR

.IOCONFIG5-1085.IOCONFIG Name.IOCONFIG - Port Configure Code$0128 DescriptionThis trap will instruct the PPCBug to access the I/O device to change por

Page 372 - .OUTSTR

.IODELETE5-1095.IODELETE Name.IODELETE - Port Delete Code$012C DescriptionCauses the PPCBug to delete the named I/O port from its internal port list.

Page 373 - .WRITELN

.IODELETE5-110531 24 23 16 15 8 70$00 Port Number$04 Board Name Pointe

Page 374

.SYMBOLTA5-1115.SYMBOLTA Name.SYMBOLTA - Attach Symbol Table Code$0130 DescriptionThis routine attaches a symbol table to the debugger. Once a symbol

Page 375 - .ERASLN

.SYMBOLTA5-1125Field descriptions: Entry ConditionsR03: Address (word) Starting address of symbol table Exit Conditions Different From EntryR03:

Page 376 - .WRITDLN

.SYMBOLTD5-1135.SYMBOLTD Name.SYMBOLTD - Detach Symbol Table Code$0131 DescriptionThis routine detaches a symbol table from the debugger. This command

Page 378 - .SNDBRK

AA-1ARelated DocumentationMotorola Computer Group DocumentsThe publications listed below are on related products, and some may be referenced in this d

Page 379

Disk I/O Support1-261Disk I/O via Debugger System CallsAll operations that actually access the disk are done directly or indirectly by debugger system

Page 380 - .RTC_TM

Related DocumentationA-2ATable A-1. Motorola Computer Group Documents Document TitlePublicationNumber MCP750 CompactPCI Single Board Computer Install

Page 381 - .RTC_DT

Microprocessor and Controller DocumentsA-3AMicroprocessor and Controller DocumentsFor additional information, refer to the following table for manufac

Page 382 - .RTC_DSP

Related DocumentationA-4AMPC750TM RISC Microprocessor UserÕs Manual Motorola Literature Distribution Center Telephone: (800) 441-2447 or (303)

Page 383 - .RTC_RD

Microprocessor and Controller DocumentsA-5AMPC2604GA Integrated Secondary Cache for PowerPC Microprocessors Data Sheets Literature Distribution C

Page 384

Related DocumentationA-6APC87303VUL (Super I/OTM Sidewinder Lite) Floppy Disk Controller, Keyboard Controller, Real-Time Clock, Dual UARTs, IEEE 1284

Page 385 - .REDIR_O

Microprocessor and Controller DocumentsA-7AMK48T559 Address/Data Multiplexer 8K x 8 TIMEKEEPERTM SRAM Data Sheet SGS-Thomson Microelectronics Grou

Page 386 - .RETURN

Related DocumentationA-8ADigital Semiconductor 21154PCI-to-PCI Bridge Data Sheet Digital Equipment Corporation Maynard, MA Telephone (Uni

Page 387 - .BINDEC

Related SpecificationsA-9ARelated SpecificationsFor additional information, refer to the following table for related specifications. As an additional h

Page 388 - .CHANGEV

Related DocumentationA-10AVME64 SpeciÞcation VITA (VMEbus International Trade Association) 7825 E. Gelding Drive, Suite 104 Scottsdale, Ar

Page 389 - .STRCMP

Related SpecificationsA-11ABidirectional Parallel Port Interface SpeciÞcation Institute of Electrical and Electronics Engineers, Inc. Publicat

Page 390 - .MULU32

General Information1-271The packets which a controller module expects to receive vary from controller to controller. The disk driver module for the pa

Page 391 - .DIVU32

Related DocumentationA-12AInformation Technology - Local and Metropolitan Networks - Part 3: Carrier Sense Multiple Access with Collision Detection (C

Page 392 - .CHK_SUM

BB-1BSystem MenuIntroductionEnter the MENU command at either the PPC1-Bug> or PPC1-Diag> prompt to display the System Menu, which is shown below

Page 393 - .BRD_ID

Menu ItemsB-2B*Enter Alternate Boot Device:Controller: Drive : File :". The devices supported by the PPCBug are listed in Appendix E. Af

Page 394

System MenuB-3Babout the Tape Dump Utility that created the tape, certain hardware specific information, and, an array of Tape Dump File Map Entries.

Page 395

Menu ItemsB-4BThe first member of the Tape Dump File Map Entry structure is File Number (fileno). The normal range of values for fileno is from 1 to M

Page 396 - .ENVIRON

System MenuB-5B1) Continue System Start Up2) Select Alternate Boot Device3) Go to System Debugger4) Initiate Service Call5) Display System Test Errors

Page 397

Using the Service Call FunctionB-6BWhen an option is selected, the system asks: Do you want to change the baud rate from 1200 (Y/N)? If you answer Y (

Page 398

System MenuB-7BEnter the number, including area code if required. Do not use any separators except for a comma (,) or equal sign (=) if required to se

Page 399

Using the Service Call FunctionB-8BEither the console or the remote console may terminate the concurrent mode at any time by typing CTRL-a. The phone

Page 400 - .PFLASH Function

System MenuB-9BTo exit the conversation mode as well as to terminate the concurrent mode and hang up the modem, type Ctrl-a.The system then redisplays

Page 401

Network I/O Support1-281Network I/O Support The network autoboot firmware provides the capability to boot the CPU through the ROM debugger using a ne

Page 402

Using the Service Call FunctionB-10BWhen manual modem control is attempted, the user terminal is in effect connected directly to the modem for control

Page 403 - .DIAGFCN

System MenuB-11BTerminal ConnectionEnter Terminal mode by selecting Terminal as the modem type.Operation with the terminal mode is similar to system m

Page 405 - F

CC-1CPPCBug MessagesIntroductionThis section lists the PPCBug messages.Refer to the PPC1Bug Diagnostics UserÕs Manual for error messages displayed whi

Page 406

Other MessagesC-2COther Messages*** Invalid LUN ***Invalid controller and device selected in IOP or IOT commands *** Invalid Range ***Invalid range en

Page 407

PPCBug MessagesC-3CConcurrent Mode ActiveThe speciÞed port echoes the system console terminal after CM command Data = $nnnn is truncated data cut to Þ

Page 408

Other MessagesC-4C-not found-String not found in BS commandOK to proceed (y/n)?Interlock prompt before writing macros in the MAW command or before con

Page 409

DD-1DS-Record FormatIntroductionThe S-record format for output modules was devised for the purpose of encoding programs or data files in a printable f

Page 410

S-Record TypesD-2DEach record may be terminated with a carriage return, line feed, or null. Additionally, an s-record may have an initial field to acc

Page 411 - Example 2: .TESTSTAT

S-Record FormatD-3DAn S-record-format module may contain S-records of the following types:Note The upper bytes are assumed to be zero in addresses tha

Page 412 - Example 3: .MEMSTAT

General Information1-291Figure 1-1. Network Boot Modules1273 9401Bootstrap Protocol(BOOTP)RFC 951Boot Control Module(Two phases)Trivial File Transfer

Page 413 - Example 4: .ST_NMLIST

Creating S-RecordsD-4DOnly one termination record is used for each block of S-records. S7 and S8 records are usually used only when control is to be p

Page 414

S-Record FormatD-5DThe S0 record is explained as follows:The first S2 record is explained as follows:S0 S-record type S0, indicating that it is a head

Page 415 - .SIOPEPS

ExampleD-6DThe second S2 record is explained as follows:The S8 record is explained as follows:00040018 65040000 ORIS R4,R8,$00004001C 65040024 ORIS R

Page 416

S-Record FormatD-7DEach printable character in an S-record is encoded in a hexadecimal representation of the binary bits which are actually transmitte

Page 418 - .FORKMPUR Function

EE-1EDisk and Tape ControllersDisk and Tape SupportPPCBug supports the disk and tape controller devices listed in Table E-1. The controller addresses

Page 419

Floppy Drive Configuration ParametersE-2EFloppy Drive Configuration ParametersThe following table lists the parameters used for configuring floppy disk

Page 420

Disk and Tape ControllersE-3ENote 1.All numerical parameters are in hexadecimal unless otherwise noted.2. PS2 is the default format for PPCBug.3. The

Page 422

FF-1FDisk Status CodesIntroductionThe status word returned by the disk system call routine flags an error condition if it is nonzero. The most signifi

Page 423 - .IDLEMPU Function

Network I/O Support1-301RARP and ARP ModulesThe Reverse Address Resolution Protocol (RARP) basically consists of an identity-less node that broadcasts

Page 424

IntroductionF-2FATA (Hard Disks/CD-ROM Drives)The ATA command is the byte that identifies the command creating the error condition reported in the err

Page 425

Disk Status CodesF-3FController-Independent Status CodesThe definitions for the controller-independent errors are defined in Table F-1, shown below.SC

Page 426

SCSI Firmware Status CodesF-4FIf the SCSI Bus Status byte returned by the firmware is non-zero, this byte is returned as the Controller-Dependent code

Page 427 - I/O Control Structure

Disk Status CodesF-5F$09 Clock faster than 75 MHz$0A Bad Clock parameter - ASCII clock value Zero or Non-ASCII $0B Queue depth too large (> 255)$0C

Page 428

ATA/ATAPI Firmware Status CodesF-6FATA/ATAPI Firmware Status CodesNote The marketing terms IDE and EIDE are often used when describing the ATA and ATA

Page 429

Disk Status CodesF-7FTable F-3. ATA/ATAPI Controller-Dependent ErrorsCode Description$00 Good Status$01 Error Register contents valid$02 Index error

Page 431 - Port Control Structure

GG-1GNetwork Controller DevicesPPCBug supports the DEC21040 and DEC21140 devices for Ethernet network control.The default address is $80804000. Use CL

Page 433 - .IODELETE

HH-1HNetwork CommunicationStatus CodesThere are two types of network communication status codes, controller independent and controller (DEC21040 orDEC

Page 434

General Information1-311Network I/O Error CodesPPCBug returns an error code if an attempted network operation is unsuccessful. Refer to Appendix H for

Page 435 - .SYMBOLTA

Network Communication Status CodesH-2H$07 NVRAM write failure$08 Illegal IPL load address$09 User abort, break key depressed$0A Time-out expired$81 TF

Page 436

Network Communication Status CodesH-3H$19 Transmitter timeout on PHY$20 Receiver CRC error$21 Receiver overßow error$22 Receiver framing error$23 Rece

Page 438

GL-1GlossaryAbbreviations, Acronyms, and Terms to KnowThis glossary defines some of the abbreviations, acronyms, and key terms used in this document.1

Page 439 - Related Documentation

GlossaryGL-2GLOSSARYASIC Application-Specific Integrated CircuitAUI Attachment Unit InterfaceBBRAM Battery Backed-up Random Access Memorybi-endian Hav

Page 440

GlossaryGL-3GLOSSARYinstructions that the CPU is most likely to use over and over again and avoids accessing the slower hard or floppy disk drive.CAS

Page 441 - Publication

GlossaryGL-4GLOSSARYCPU Central Processing Unit. The master computer unit in a system.DCE Data Circuit-terminating Equipment.DLL Dynamic Link Library.

Page 442

GlossaryGL-5GLOSSARYEPROM Erasable Programmable Read-Only Memory. A memory storage device that can be written once (per erasure cycle) and read many t

Page 443

GlossaryGL-6GLOSSARYhardware A computing system is normally spoken of as having two major components: hardware and software. Hardware is the term used

Page 444

GlossaryGL-7GLOSSARYISDN Integrated Services Digital Network. A standard for digitally transmitting video, audio, and electronic data over public phon

Page 445

Safety SummarySafety Depends On You The following general safety precautions must be observed during all phases of operation, service, andrepair of t

Page 446

Multiprocessor Support (Remote Start)1-321Code P is used only by the MVME260x, MVME360x, MVME460x, and MVME230x boards. You can only program FLASH mem

Page 447 - Related Specifications

GlossaryGL-8GLOSSARYMTBF Mean Time Between Failures. A statistical term relating to reliability as expressed in power on hours (poh). It was originall

Page 448

GlossaryGL-9GLOSSARYPCI (local bus) Peripheral Component Interconnect (local bus) (Intel). A high-performance, 32-bit internal interconnect bus used f

Page 449 - Related Specifications

GlossaryGL-10GLOSSARYunified (instruction and data) cache. It provides a 64-bit data bus and a separate 32-bit address bus. PowerPC 601 is used by Mot

Page 450

GlossaryGL-11GLOSSARYRaven The PowerPC-to-PCI local bus bridge chip developed by Motorola for the PowerPlus architecture (8+ boards). It provides the

Page 451 - BSystem Menu

GlossaryGL-12GLOSSARYSMP Symmetric MultiProcessing. A computer architecture in which tasks are distributed among two or more local processors.SMT Surf

Page 452 - Dump Memory to Tape

GlossaryGL-13GLOSSARYUV UltraVioletUVGA Ultra Video Graphics Array. An improved VGA monitor standard that provides at least 256 simultaneous colors an

Page 453 - System Menu

GlossaryGL-14GLOSSARYWindows NT™ The trademark representing Windows New Technology, a computer operating system developed by the Microsoft Corporation

Page 454 - Tape Dump Example:

IN-1IndexSymbols.BINDEC routine 5-63.BRD_ID routine 5-69, B-3.CHANGEV routine 5-64.CHK_SUM routine 5-68.CHKBRK routine 5-13.DELAY routine 5-55.DIAGFCN

Page 455 - Operation

IndexIN-2INDEXAddress Resolution Protocol (ARP) 1-30address sizes 1-33alternate boot device B-1arguments 2-2ADDR 2-4EXP 2-2PORT 2-6ARP 1-30AS command

Page 456 - Enter phone number:

IN-3INDEXchecksumCS command 3-33generate 5-68clockreal-time 5-58clock speed calculation 1-22clock, real-time 5-57CLUN 1-24, 3-87, 3-90, 3-101, 3-146,

Page 457

General Information1-331If no terminal is connected to the port, the MPCR is still polled to see whether an external processor requires control to be

Page 458

IndexIN-4INDEXdefault output port 5-1define macros 3-114delay timer 5-55delete I/O port 5-109delete macros 3-114detachport 3-168, 3-178symbol table 3-

Page 459 - Manual Connection

IN-5INDEXerase line 5-51error codesdisk I/O 1-27disk system calls F-1network I/O 1-31network system calls H-1SCSI F-1error correction code (ECC) 3-103

Page 460

IndexIN-6INDEXHhalf-word 1-33hardcopy mode 2-7, 3-130, 5-51, 5-104HE command 3-82help 3-82hostread/write 5-32II/Odisk 1-23network 1-28I/O controldisk

Page 461 - Terminal Connection

IN-7INDEXLO command 2-8, 3-108load control program 3-140load FLASH memory 3-184load macros 3-120load operating system 3-140load S-records 3-108, 3-109

Page 462

IndexIN-8INDEXNBO command 3-138, 3-142negate SYSFAIL* 1-22network auto boot 1-18, 3-138network boot control module 1-30Network Boot Operating System 3

Page 463 - CPPCBug Messages

IN-9INDEXpointer/count format 5-2pointer/pointer format 5-2portassign 3-178, 3-181attach printer 3-168change 5-106configure 3-178, 3-180, 5-108connect

Page 464 - Other Messages

IndexIN-10INDEXRTC 5-58, 5-59RTC chipstart 3-208stop 3-187RTC power save mode 3-187RTC time initialization 5-56RUN command 3-205Ssave macros 3-122SC i

Page 465

IN-11INDEXstringoutput 5-48, 5-49string formats 5-2string with dataoutput 5-52stringscompare 5-65switch directories 3-207SYM command 3-211symbol base

Page 466 - WARM Start

IndexIN-12INDEXWwarm reset 3-197WL command 3-235word 1-33WORD directive 4-2, 4-9writeblocks (IOP command) 1-25data 3-136data loop 3-235disk 3-93, 5-14

Page 467 - DS-Record Format

Byte Ordering1-341Byte OrderingThe MPU on the PowerPC board is programmed to big-endian byte ordering. Any attempt to use little-endian byte ordering

Page 468 - S-Record Types

22-12Using the DebuggerEntering CommandsThe debugger is command-driven and performs its various operations in response to commands that you enter at t

Page 469

Entering Commands2-22❏ Any required options. Precede an option or a string of options with a semi-colon (;). If no option is selected, the default opt

Page 470 - Creating S-Records

Using the Debugger2-32Numeric values may be expressed in either hexadecimal, decimal, octal, or binary by immediately preceding them with the proper b

Page 471

Entering Commands2-42Valid expression examples:The total value of the expression must be between 0 and $FFFFFFFF.ADDRThe syntax for the ADDR argument

Page 472

Using the Debugger2-52Once a qualifier has been entered, it remains valid for all addresses entered for that command sequence, until either the debugg

Page 473 - T L A C/D Ch

Entering Commands2-62PORTThe PORT argument is the logical number of the port to be used to input or output. Valid port numbers which may be used for t

Page 474

Using the Debugger2-72Control CharactersSome commands, such as CNFG, MM, or RM, allow you to edit parameter fields or the contents of registers or mem

Page 475 - EDisk and Tape Controllers

The computer programs stored in the Read Only Memory of this device contain material copyrighted by Motorola Inc., 1995, 1996, and 1997, and may be u

Page 476

Entering and Debugging Programs2-82The XON and XOFF characters in effect for the terminal port may be entered to control the output from any debugger

Page 477 - PPC1Bug version 1.2

Using the Debugger2-92The System Call handler is accessible through the SC (system call) instruction, with exception vector $00C00 (System Call Except

Page 478

Preserving the Operating Environment2-102Whenever the host hardware is reset, the target IP is initialized to $00004000 (i.e., just above the memory s

Page 479 - FDisk Status Codes

Using the Debugger2-112MPU Register SPR275MPU register SPR275 is reserved for usage by the debugger. If SPR275 is to be used by the user program, it m

Page 480 - ATAPI (CD-ROM Drives)

Context Switching2-122When the context switch transitions from the debugger state to the user state, the following MPU registers are restored: PPC

Page 481 - SCSI Firmware Status Codes

Using the Debugger2-132Note that on a restoration context switch, registers whose perspectives feature MMU characteristics and operating modes of the

Page 482

Floating Point Support2-142❏ The sign field, the exponent field, and at least the first digit of the mantissa field must be present (any unspecified d

Page 483

Using the Debugger2-152Scientific NotationThe scientific notation format provides a convenient way to enter and display a floating point decimal number

Page 485

33-13Debugger CommandsIntroductionThis chapter contains descriptions of each debugger command, with one or more examples of each. The debugger command

Page 486

vii Contents CHAPTER 1 General Information PPCBug Overview ...

Page 487 - GNetwork Controller Devices

Debugger Commands3-23FORK Fork Idle MPU at Address (NOTE 2)FORKWR Fork Idle MPU with Registers (NOTE 2)GD Go Direct (Ignore Breakpoints)GEVBOOT Global

Page 488

Debugger Commands3-33Notes1. This command was added at revision 1.8 of PPCBug, dated 10/05/95.2. This command was added at Revision 3.1 of PPCBug, dat

Page 489 - Status Codes

3AS - One-Line Assembler3-43Debugger CommandsAS - One-Line AssemblerCommand InputAS ADDRDescriptionThe AS command provides access to the one-line asse

Page 490

BC - Block of Memory Compare3-53BC - Block of Memory CompareCommand InputBC RANGE ADDR [;B|H|W]OptionsDescriptionThe BC command compares the contents

Page 491

BC - Block of Memory Compare3-63Example 2: Compare the memory, with nothing printed.PPC1-Bug>BC 20000:20 21000;B <Return>Effective address: 0

Page 492

BF - Block of Memory Fill3-73BF - Block of Memory FillCommand InputBF RANGE data [increment] [;B|H|W]ArgumentsOptionsDescriptionThe BF command fills t

Page 493 - Glossary

BF - Block of Memory Fill3-83If the upper address of the range is not on the correct boundary for an integer multiple of the data to be stored, then d

Page 494

BF - Block of Memory Fill3-93Example 3: For this example, assume that memory from $20000 through $2002F is clear.The word pattern does not fit evenly

Page 495

BI - Block of Memory Initialize3-103BI - Block of Memory InitializeCommand InputBI RANGE [;B|H|W]OptionsDescriptionThe BI initializes parity for a blo

Page 496

BI - Block of Memory Initialize3-113Example 2: For this example, assume system memory from $0 to $000FFFFF.PPC1-Bug>BI 0,1FFFFF <Return>Effec

Page 497

viii Physical Layer Manager Ethernet Driver...1-28UDP and IP Modules ...

Page 498

BM - Block of Memory Move3-123BM - Block of Memory MoveCommand InputBM RANGE ADDR [;B|H|W]OptionsDescriptionThe BM command copies the contents of the

Page 499

BM - Block of Memory Move3-133PPC1-Bug>BM 21000 2100F 20000 <Return>Effective address: 00021000Effective address: 0002100FEffective address:

Page 500

BM - Block of Memory Move3-143PPC1-Bug>MD 20000 20014;DI <Return>00020000 3C401000 ADDIS R2,R0,$100000020004 60420001 ORI R2,

Page 501

BR - Breakpoint Insert NOBR - Breakpoint Delete3-153BR - Breakpoint Insert NOBR - Breakpoint DeleteCommand InputBR [ADDR[:COUNT]]NOBR [ADDR]Descrip

Page 502

BR - Breakpoint Insert NOBR - Breakpoint Delete3-163ExamplesExample 1: Set some breakpoints.PPC1-Bug>BR 1E000,1E200 1E700:&12 <Return>B

Page 503

BS - Block of Memory Search3-173BS - Block of Memory SearchCommand InputBS RANGE TEXT [;B|H|W]orBS RANGE data [mask] [;B|H|W [,N] [,V]]ArgumentsOption

Page 504

BS - Block of Memory Search3-183String SearchIn the string search mode, a search is carried out for the TEXT argument. The size option Þeld indicates

Page 505

BS - Block of Memory Search3-193Data VeriÞcationIf the V (verify) option has been selected, the addresses and data are displayed only when the memory

Page 506

BS - Block of Memory Search3-203Example 3: Mode 1: The string is found, but it ends outside of the range, so the address of its first byte and a messa

Page 507

BS - Block of Memory Search3-213Example 8: Mode 2, using RANGE with COUNT, mask option, and size option: COUNT is displayed in decimal, and the actual

Page 508

ix BC - Block of Memory Compare...3-5BF - Block of Memory Fill ...

Page 509

BV - Block of Memory Verify3-223BV - Block of Memory VerifyCommand InputBV RANGE data [increment] [;B|H|W]ArgumentsOptionsDescriptionThe BV command co

Page 510

BV - Block of Memory Verify3-233If the upper address of the range is not on the correct boundary for an integer multiple of the data to be verified, d

Page 511

BV - Block of Memory Verify3-243Example 3: For this example, assume memory from $20000 to $2002F is as indicated. Size is half-word, mismatches are pr

Page 512

CM - Concurrent Mode NOCM - No Concurrent Mode3-253CM - Concurrent Mode NOCM - No Concurrent ModeCommand InputCM [[PORT] [ID-STRING] [BAUD] [PHONE-

Page 513

CM - Concurrent Mode NOCM - No Concurrent Mode3-263OptionsDescriptionThe CM command activates a mode in which everything that appears on the system

Page 514

CM - Concurrent Mode NOCM - No Concurrent Mode3-273Example 2: Activate the concurrent mode.PPC1-Bug>CM <Return>Concurrent Mode Active This

Page 515

CM - Concurrent Mode NOCM - No Concurrent Mode3-283This results in the following changes:Example 5: Activate the concurrent mode, with error.PPC1-Bu

Page 516

CNFG - Configure Board Information Block3-293CNFG - Configure Board Information BlockCommand InputCNFG [;[I] [M]]OptionsDescriptionThe CNFG command dis

Page 517

CNFG - Configure Board Information Block3-303Option M allows you to modify the board information block. When invoked, this command prompts for entry i

Page 518

CNFG - Configure Board Information Block3-313needs to be done if the firmware complains that there is a mismatch in values. To correct it, invoke CNFG

Commentaires sur ces manuels

Pas de commentaire