Motorola MVME2700 Series Manuel d'utilisateur

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

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 508
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
PPCBug
Firmware Package
Users Manual
Part 1 and 2
PPCBUGA1/UM5 and PPCBUGA2/UM5
February 2001 Edition
Vue de la page 0
1 2 3 4 5 6 ... 507 508

Résumé du contenu

Page 1 - Part 1 and 2

PPCBugFirmware PackageUser’s ManualPart 1 and 2PPCBUGA1/UM5 and PPCBUGA2/UM5February 2001 Edition

Page 2

xInvoking the Assembler/Disassembler...4-11Entering a Source Line...

Page 3 - Safety Summary

3-24 Computer Group Literature Center Web SiteDebugger Commands3If the upper address of the range is not on the correct boundary for an integer multip

Page 4

Debugger Commandshttp://www.motorola.com/computer/literature 3-253PPC1-Bug>BV 20000:18 0 1;H <Return>Effective address: 00020000Effective cou

Page 5 - Contents

3-26 Computer Group Literature Center Web SiteDebugger Commands3CACHE - Cache ControlCommand InputCACHE;[D|E]OptionsD Disable instruction cachesE Enab

Page 6

Debugger Commandshttp://www.motorola.com/computer/literature 3-273CM - Concurrent ModeNOCM - No Concurrent ModeCommand InputCM [[PORT] [ID-STRING] [BA

Page 7

3-28 Computer Group Literature Center Web SiteDebugger Commands3OptionsDescriptionThe CM command activates a mode in which everything that appears on

Page 8

Debugger Commandshttp://www.motorola.com/computer/literature 3-293This results in the default settings remaining intact:Example 3: Activate the concur

Page 9

3-30 Computer Group Literature Center Web SiteDebugger Commands3This results in the following changes:Example 5: Activate the concurrent mode, with er

Page 10

Debugger Commandshttp://www.motorola.com/computer/literature 3-313CNFG - Configure Board Information BlockCommand InputCNFG [;[I] [M]]OptionsDescripti

Page 11

3-32 Computer Group Literature Center Web SiteDebugger Commands3You may also enter a special character, either at the prompt or after typing new data,

Page 12

Debugger Commandshttp://www.motorola.com/computer/literature 3-333ExamplesExample 1: Shown below is a sample of a valid board information block: PPC1-

Page 13

xi.RTC_DT ...5-57.RTC_DSP ...

Page 14

3-34 Computer Group Literature Center Web SiteDebugger Commands3Example 3: Modify the Board Information Block.PPC1-Bug>CNFG;M <Return>WARNING

Page 15 - List of Figures

Debugger Commandshttp://www.motorola.com/computer/literature 3-353CS - ChecksumCommand InputCS RANGE [;B|H|W]OptionsDescriptionThe CS command calculat

Page 16

3-36 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Default size is word.PPC1-Bug>CS 1000 2000 <Return>Effecti

Page 17 - List of Tables

Debugger Commandshttp://www.motorola.com/computer/literature 3-373CSAR - PCI Configuration Space READ AccessCommand InputCSAR busnum devnum function a

Page 18

3-38 Computer Group Literature Center Web SiteDebugger Commands3CSAW - PCI Configuration Space WRITE AccessCommand InputCSAW busnum devnum function ad

Page 19 - About This Manual

Debugger Commandshttp://www.motorola.com/computer/literature 3-393DC - Data ConversionCommand InputDC EXP | ADDR [;[B] [O] [A]]OptionsDescriptionThe D

Page 20 - Overview of Contents

3-40 Computer Group Literature Center Web SiteDebugger Commands3Example 4:PPC1-Bug>DC (2*3*8)/4 <Return> 0000000C = $C = &12PPC1

Page 21

Debugger Commandshttp://www.motorola.com/computer/literature 3-413Example 10: For this example, assume R2=00030000 and the following data resides in m

Page 22 - Comments and Suggestions

3-42 Computer Group Literature Center Web SiteDebugger Commands3DMA - Block of Memory MoveNote This command works on boards with a VME2 bridge only.Co

Page 23

Debugger Commandshttp://www.motorola.com/computer/literature 3-433OptionsDescriptionThe DMA command moves blocks of data from the local bus to the VME

Page 24

xiiInitiate Service Call... B-2Display System Test Errors ...

Page 25 - 1General Information

3-44 Computer Group Literature Center Web SiteDebugger Commands3When the command is given on a non-VMEbus board, the following message is shown: This

Page 26 - PPCBug Implementation

Debugger Commandshttp://www.motorola.com/computer/literature 3-453The destination for the memory transfer is back to local memory on the board beginni

Page 27 - Memory Requirements

3-46 Computer Group Literature Center Web SiteDebugger Commands300000150 00000150 00000154 00000158 0000015C ...P...T...X...\00000160 00000160 0000

Page 28 - Start-up

Debugger Commandshttp://www.motorola.com/computer/literature 3-473001000C0 00000004 00FFF88F 00000005 00FFFF2F .../001000D0 00000009 00

Page 29

3-48 Computer Group Literature Center Web SiteDebugger Commands3Transfer the 64 bytes from the beginning of VMEbus memory to location $2000 in local m

Page 30 - General Information

Debugger Commandshttp://www.motorola.com/computer/literature 3-493DS - One-Line DisassemblerCommand InputDS ADDR [:COUNT | ADDR]DescriptionThe DS comm

Page 31

3-50 Computer Group Literature Center Web SiteDebugger Commands3DU - Dump S-RecordsCommand InputDU [PORT] RANGE [TEXT] [ADDR] [OFFSET] [;B|H|W]Descrip

Page 32

Debugger Commandshttp://www.motorola.com/computer/literature 3-513ExamplesExample 1: Dump memory from $20000 to $2002F to port 1.PPC1-Bug>DU ,,2000

Page 33

3-52 Computer Group Literature Center Web SiteDebugger Commands3ECHO - Echo StringCommand InputECHO [PORT] {hexadecimal number} {’string’}DescriptionT

Page 34

Debugger Commandshttp://www.motorola.com/computer/literature 3-533Example 4: This example handles a string with quotes.PPC1-Bug>ECHO ,, ’This is &q

Page 35

xiiiAPPENDIX G Establishing Network Connections with PPCBugAPPENDIX H Network Communication Status Codes

Page 36

3-54 Computer Group Literature Center Web SiteDebugger Commands3ENV - Set EnvironmentCommand InputENV [;[D]] DescriptionThe ENV command allows you to

Page 37 - Auto Boot

Debugger Commandshttp://www.motorola.com/computer/literature 3-553You may also enter a special character, either at the prompt or after typing new dat

Page 38

3-56 Computer Group Literature Center Web SiteDebugger Commands34. Determine the necessary VMEbus slave image control. The value used for slave image

Page 39 - Length Contents Description

Debugger Commandshttp://www.motorola.com/computer/literature 3-573To enable the selected VME Slave Image Map Decoder, OR the following value with thos

Page 40 - Sample ROMboot Routine

3-58 Computer Group Literature Center Web SiteDebugger Commands3Serial Startup Code LF Enable [Y/N]=N?The list of LED/serial codes is included in the

Page 41

Debugger Commandshttp://www.motorola.com/computer/literature 3-593FORK - Fork Idle MPU at AddressNote This command is for multi-processor boards only.

Page 42 - Network Auto Boot

3-60 Computer Group Literature Center Web SiteDebugger Commands3FORKWR - Fork Idle MPU with RegistersNote This command is for multi-processor boards o

Page 43 - Restarting the System

Debugger Commandshttp://www.motorola.com/computer/literature 3-613GD - Go Direct (Ignore Breakpoints)Command InputGD [ADDR]DescriptionThe GD command s

Page 44 - Reset/Abort

3-62 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>BR 20028 <Return>BREAKPOINTS00020028PPC1-Bug>Initialize R7 and st

Page 45 - Board Failure

Debugger Commandshttp://www.motorola.com/computer/literature 3-633GEVBOOT - Global Environment Variable BootCommand InputGEVBOOT Variable-NameDescript

Page 47 - Device Probe

3-64 Computer Group Literature Center Web SiteDebugger Commands3RequirementsSome high-level requirements that this release meets are:❏ Residual Data a

Page 48

Debugger Commandshttp://www.motorola.com/computer/literature 3-653❏ fw-boot-pathThis variable contains a list (four maximum) of boot devices which can

Page 49

3-66 Computer Group Literature Center Web SiteDebugger Commands3Styles of BootingThe older Motorola mode of mass storage device booting was also prese

Page 50

Debugger Commandshttp://www.motorola.com/computer/literature 3-673The default state of the ENV configuration parameter is set to ’Y’ for yes/enabled.

Page 51 - Disk I/O Error Codes

3-68 Computer Group Literature Center Web SiteDebugger Commands3fw-boot-path needs to be defined as a device that was shown to be available via ioiPPC

Page 52 - Network I/O Support

Debugger Commandshttp://www.motorola.com/computer/literature 3-693GEVDEL - Global Environment Variable DeleteCommand InputGEVDEL Variable-NameDescript

Page 53

3-70 Computer Group Literature Center Web SiteDebugger Commands3GEVDUMP - Global Environment Variable(s) DumpCommand InputGEVDUMPDescriptionThe GEVDUM

Page 54 - Network Boot Control Module

Debugger Commandshttp://www.motorola.com/computer/literature 3-71301F8B100 64 65 76 69 63 65 3D 2F 70 63 69 40 38 30 30 30 device=/pci@800001F8B110

Page 55 - Network I/O Error Codes

3-72 Computer Group Literature Center Web SiteDebugger Commands3GEVEDIT - Global Environment Variable EditCommand InputGEVEDIT Variable-NameDescriptio

Page 56

Debugger Commandshttp://www.motorola.com/computer/literature 3-733GEVINIT - Global Environment Variable InitializationCommand InputGEVINITDescriptionT

Page 57

xvList of FiguresFigure 1-1. Network Boot Modules ...1-29Figure 3-1. Boot Record

Page 58

3-74 Computer Group Literature Center Web SiteDebugger Commands3GEVSHOW - Global Environment Variable(s) DisplayCommand InputGEVSHOW [string]Descripti

Page 59 - GCSR Method

Debugger Commandshttp://www.motorola.com/computer/literature 3-753GN - Go to Next InstructionCommand InputGNCommand InputThe GN command sets a tempora

Page 60 - Bit3130292827262524

3-76 Computer Group Literature Center Web SiteDebugger Commands3Execute up to the BL instruction.PPC1-Bug>RM IP <Return>IP =00020020 ? 20

Page 61 - Byte Ordering

Debugger Commandshttp://www.motorola.com/computer/literature 3-773G, GO - Go Execute User ProgramCommand InputG [ADDR], GO [ADDR]DescriptionThe G and

Page 62

3-78 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>DS 30000 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B0

Page 63 - 2Using the Debugger

Debugger Commandshttp://www.motorola.com/computer/literature 3-793Continue target program execution.PPC1-Bug>G <Return>Effective address: 000

Page 64 - Command Arguments

3-80 Computer Group Literature Center Web SiteDebugger Commands3GT - Go to Temporary BreakpointCommand InputGT ADDRCommand InputThe GT command sets a

Page 65

Debugger Commandshttp://www.motorola.com/computer/literature 3-813PPC1-Bug>DS 30000:8 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004

Page 66

3-82 Computer Group Literature Center Web SiteDebugger Commands3Set another temporary breakpoint at $20000 and continue the target program execution.P

Page 67 - Entering Commands

Debugger Commandshttp://www.motorola.com/computer/literature 3-833HE - HelpCommand InputHE [COMMAND]DescriptionThe HE command displays information abo

Page 69

3-84 Computer Group Literature Center Web SiteDebugger Commands3ENV Set Environment to Bug/Operating SystemFORK Fork Idle MPU at AddressFORKWR

Page 70 - Using the Debugger

Debugger Commandshttp://www.motorola.com/computer/literature 3-853NOBR Breakpoint DeleteNOCM No Concurrent ModeNOMA Macro DeleteNOMAL D

Page 71 - Exception Vectors

3-86 Computer Group Literature Center Web SiteDebugger Commands3IBM - Indirect Block MoveCommand InputIBM <ADDR>[<RANGE>];<D|E|I|N|P>

Page 72 - Context Switching

Debugger Commandshttp://www.motorola.com/computer/literature 3-873ExamplePPC4-Bug>ibm 200000;iDevice Address =$A0 (N/Y)? ySource = I2C SROM (A0:0)

Page 73

3-88 Computer Group Literature Center Web SiteDebugger Commands3IDLE - Idle Master MPUNote This command is for multi-processor boards only.Command Inp

Page 74 - Floating Point Support

Debugger Commandshttp://www.motorola.com/computer/literature 3-893IOC - I/O Control for DiskCommand InputIOCDescriptionThe IOC command sends command p

Page 75 - Double Precision Real

3-90 Computer Group Literature Center Web SiteDebugger Commands3You may also enter a special character, either at the prompt or after typing new data,

Page 76 - Scientific Notation

Debugger Commandshttp://www.motorola.com/computer/literature 3-913ExampleSend the packet at $10000 to a controller device configured as CLUN #0. Speci

Page 77 - 3Debugger Commands

3-92 Computer Group Literature Center Web SiteDebugger Commands3IOI - I/O InquiryCommand InputIOI [;[C|D|L|N]]OptionsDescriptionThe IOI command inquir

Page 78 - Command Description

Debugger Commandshttp://www.motorola.com/computer/literature 3-933where: mm = the CLUN number andwhile: nn = the DLUN numberThe CLUN/DLUN numbers are

Page 79

xviiList of TablesTable 1-1. LED/Serial Startup Diagnostic Codes ...1-8Table 1-2. MPCR Method Remot

Page 80 - 2/26/97

3-94 Computer Group Literature Center Web SiteDebugger Commands3Note that if the board has a secondary SCSI, and both primary and secondary SCSI contr

Page 81 - AS - One-Line Assembler

Debugger Commandshttp://www.motorola.com/computer/literature 3-953IOP - I/O Physical (Direct Disk Access)Command InputIOP DescriptionThe IOP command a

Page 82 - BC - Block of Memory Compare

3-96 Computer Group Literature Center Web SiteDebugger Commands3descriptor table with the pertinent data. After an entry has been made, the next time

Page 83

Debugger Commandshttp://www.motorola.com/computer/literature 3-973Starting Block =00000000?The starting disk block number to access. For disk read ope

Page 84 - BF - Block of Memory Fill

3-98 Computer Group Literature Center Web SiteDebugger Commands3Flag Byte =00?The flag byte is used to specify variations of the same command, and to

Page 85

Debugger Commandshttp://www.motorola.com/computer/literature 3-993ExamplesExample 1: Read 25 blocks starting at block 370 from device 2 of controller

Page 86 - $2002F is clear

3-100 Computer Group Literature Center Web SiteDebugger Commands3Example 4: Format the specified device with the option to ignore the grown defect lis

Page 87 - H Half-word

Debugger Commandshttp://www.motorola.com/computer/literature 3-1013IOT - I/O Configure Disk ControllerCommand InputIOT [;[A|F|H|T]] OptionsDescription

Page 88 - $000FFFFF

3-102 Computer Group Literature Center Web SiteDebugger Commands3A device probe with entry into the device descriptor table is done whenever a specifi

Page 89 - BM - Block of Memory Move

Debugger Commandshttp://www.motorola.com/computer/literature 3-1033Device LUN =00?The Device LUNIf the Controller LUN and Device LUN selecte

Page 90

xviii

Page 91

3-104 Computer Group Literature Center Web SiteDebugger Commands3Block Size:0- 128 1- 256 2- 512 3-1024 4-2048 5-4096 =01 (0-5)? The units in which a

Page 92 - NOBR - Breakpoint Delete

Debugger Commandshttp://www.motorola.com/computer/literature 3-1053Interleave Factor =00?The manner in which the sectors are formatted on a track.

Page 93

3-106 Computer Group Literature Center Web SiteDebugger Commands3Single/Double DATA Density =D (S/D)?Single/Double TRACK Density =D (S/D)?The density

Page 94 - BS - Block of Memory Search

Debugger Commandshttp://www.motorola.com/computer/literature 3-1073Gap 1 =07?The number of words of zeros that are written before the

Page 95

3-108 Computer Group Literature Center Web SiteDebugger Commands3Sectors/track =0010? <Return>Number of heads =02? <Return>Num

Page 96

Debugger Commandshttp://www.motorola.com/computer/literature 3-1093IRD, IRM, IRS - Idle MPU Register Display/Modify/SetNote These commands are for mul

Page 97

3-110 Computer Group Literature Center Web SiteDebugger Commands3LO - Load S-Records from HostCommand InputLO [PORT] [ADDR] [;[X] [C] [T]] [=text]Argu

Page 98

Debugger Commandshttp://www.motorola.com/computer/literature 3-1113DescriptionThe LO command downloads Motorola S-record files from a host system to t

Page 99 - BV - Block of Memory Verify

3-112 Computer Group Literature Center Web SiteDebugger Commands3If a non-hexadecimal character is encountered within the data field of a data record,

Page 100 - Debugger Commands

Debugger Commandshttp://www.motorola.com/computer/literature 3-1133 .align 2 .globl test[ds] .csect test[ds] .long .t

Page 101

xixAbout This ManualThe PPCBug Firmware Package User’s Manual provides information on the PPCBug firmware, the start-up and boot routines, the debugge

Page 102 - CACHE - Cache Control

3-114 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>LO ,,-65000000 ;X=cat test.mx <Return>cat test.mxS325650400007C8402

Page 103 - NOCM - No Concurrent Mode

Debugger Commandshttp://www.motorola.com/computer/literature 3-1153MA - Macro Define/DisplayNOMA - Macro DeleteCommand InputMA [NAME|;L]NOMA [NAME]Des

Page 104 - A List all supported devices

3-116 Computer Group Literature Center Web SiteDebugger Commands3to overflow. The string pool has a capacity of 511 characters. The only way to add or

Page 105

Debugger Commandshttp://www.motorola.com/computer/literature 3-1173Example 3: List all currently defined macros.PPC1-Bug>MA <Return>MACRO ABC

Page 106

3-118 Computer Group Literature Center Web SiteDebugger Commands3MAE - Macro EditCommand InputMAE NAME LINE # [STRING]ArgumentsDescriptionThe MAE comm

Page 107

Debugger Commandshttp://www.motorola.com/computer/literature 3-1193ExamplesExample 1: Add a line to macro ABC. List definition of macro ABC. PPC1-Bug&

Page 108

3-120 Computer Group Literature Center Web SiteDebugger Commands3MAL - Enable Macro ListingNOMAL - Disable Macro ListingCommand InputMALNOMALDescripti

Page 109 - Examples

Debugger Commandshttp://www.motorola.com/computer/literature 3-1213MAR - Load MacrosCommand InputMAR [controllerLUN] [[deviceLUN] [block#]]ArgumentsDe

Page 110

3-122 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug> MAR 0,2,3 <Return>PPC1-Bug>List macros.PPC1-Bug> MA <Retu

Page 111 - CS - Checksum

Debugger Commandshttp://www.motorola.com/computer/literature 3-1233MAW - Save MacrosCommand InputMAW [controllerLUN] [[deviceLUN] [block#]] ArgumentsD

Page 112

© Copyright 2001 Motorola, Inc.All rights reserved.Printed in the United States of America.Motorola® and the Motorola symbol are registered trademarks

Page 113 - PPC1-Bug>

xxSummary of ChangesThis is the fifth edition of the PPCbug Firmware Package User’s Manual. It supersedes the fourth edition (UM4) and incorporates th

Page 114

3-124 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug> MAR 0,2,3 <Return>PPC1-Bug>List macros.PPC1-Bug> MAMACRO ABC

Page 115 - DC - Data Conversion

Debugger Commandshttp://www.motorola.com/computer/literature 3-1253MD, MDS - Memory DisplayCommand InputMD ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI] ]MDS

Page 116

3-126 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1:PPC1-Bug>MD 22000;H <Return>00022000 2800 1942 2900 1942

Page 117

Debugger Commandshttp://www.motorola.com/computer/literature 3-1273Example 5:PPC1-Bug>MD 10000;S <Return>00020000 0_A4_194155= 1.645565214720

Page 118 - DMA - Block of Memory Move

3-128 Computer Group Literature Center Web SiteDebugger Commands3Example 7:PPC1-Bug>MDS 30000;B <Return>00030000 3C A0 00 00 2B 04 00 00 41

Page 119

Debugger Commandshttp://www.motorola.com/computer/literature 3-1293MENU - System MenuCommand InputMENU DescriptionThe MENU command displays the System

Page 120 - Effective address: C1FFFFFF

3-130 Computer Group Literature Center Web SiteDebugger Commands3M, MM - Memory ModifyCommand InputM ADDR [;[[B|H|W|S|D] [A] [N]]|[DI] ], MM ADDR [;[[

Page 121

Debugger Commandshttp://www.motorola.com/computer/literature 3-1313The command reads the memory and verifies that the new contents match what was writ

Page 122

3-132 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Access location $20000, modify memory, modify and backup, and modi

Page 123

Debugger Commandshttp://www.motorola.com/computer/literature 3-1333Example 5: Step to next location and exit MM.PPC1-Bug>MM 40000;DI <Return>

Page 124

xxiprocess, an explanation of the ROMboot process, an explanation of the network auto boot process, an explanation on restarting the system, a descrip

Page 125 - DS - One-Line Disassembler

3-134 Computer Group Literature Center Web SiteDebugger Commands3MMD - Memory Map DiagnosticCommand InputMMD RANGE INCREMENT [;B|H|W]OptionsDescriptio

Page 126 - DU - Dump S-Records

Debugger Commandshttp://www.motorola.com/computer/literature 3-1353Example 2: Look for any memory between $10000000 and $FFFFFFFF with an increment of

Page 127

3-136 Computer Group Literature Center Web SiteDebugger Commands3MMGR - Memory ManagerCommand SynopsisMMGR D [flag]Q [ S [addr] | F | A ]A size [alig

Page 128 - ECHO - Echo String

Debugger Commandshttp://www.motorola.com/computer/literature 3-13738 More detailed commentary and displays some data from the start and end of each al

Page 129

3-138 Computer Group Literature Center Web SiteDebugger Commands3dependent so each must be provided up to the last one desired. For this reason, zero

Page 130 - ENV - Set Environment

Debugger Commandshttp://www.motorola.com/computer/literature 3-1393Overhead Sys is the number of bytes required for system management,Overhead Block i

Page 131 - . The offset

3-140 Computer Group Literature Center Web SiteDebugger Commands3MS - Memory SetCommand InputMS ADDR {Hexadecimal number} {’string’}ArgumentsDescripti

Page 132

Debugger Commandshttp://www.motorola.com/computer/literature 3-1413MW - Memory WriteCommand InputMW ADDR DATA [;B|H|W]OptionsThe default data size is

Page 133

3-142 Computer Group Literature Center Web SiteDebugger Commands3Example 3:PPC1-Bug>MW 1E002 33CC;H <Return>Effective address: 0001E002Effect

Page 134

Debugger Commandshttp://www.motorola.com/computer/literature 3-1433NAB - Network Auto BootCommand InputNABDescriptionThe NAB command re-invokes the ne

Page 135

xxiiAppendix G, Establishing Network Connections with PPCBug, describes a procedure that can be used to establish a network connection using standard

Page 136

3-144 Computer Group Literature Center Web SiteDebugger Commands3NAP - NAP MPUNote This command is for multi-processor boards only.Command InputNAP MP

Page 137

Debugger Commandshttp://www.motorola.com/computer/literature 3-1453NBH - Network Boot Operating System, HaltCommand InputNBH [ControllerLUN] [DeviceLU

Page 138

3-146 Computer Group Literature Center Web SiteDebugger Commands3The device and controller configuration parameters used when NBH is initiated can be

Page 139

Debugger Commandshttp://www.motorola.com/computer/literature 3-1473NBO - Network Boot Operating SystemCommand InputNBO [ControllerLUN] [DeviceLUN] [Cl

Page 140

3-148 Computer Group Literature Center Web SiteDebugger Commands3protocols. You may skip the BOOTP phase (address determination and bootfile selection

Page 141

Debugger Commandshttp://www.motorola.com/computer/literature 3-1493Invoke the NIOT command with the H option to see which LUNs are available. Refer to

Page 142

3-150 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Boot from controller LUN 0, device LUN 0, with default client addr

Page 143

Debugger Commandshttp://www.motorola.com/computer/literature 3-1513NIOC - Network I/O ControlCommand InputNIOC DescriptionThe NIOC command sends comma

Page 144

3-152 Computer Group Literature Center Web SiteDebugger Commands3Whenever an error occurs, the initiated I/O control process is terminated and the app

Page 145

Debugger Commandshttp://www.motorola.com/computer/literature 3-1533ExamplesExample 1: Initialize (type 0) the device/channel/node.PPC1-Bug>NIOC <

Page 146

xxiiiis used for names of variables to which you assign values. Italic is also used for comments in screen displays and examples, and to introduce new

Page 147 - More stuff in between

3-154 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>MD E000:&21 <Return>0000E000 FFFF FFFF FFFF 0800 3E21 0FCC 0806

Page 148

Debugger Commandshttp://www.motorola.com/computer/literature 3-1553View the address data retrieval.PPC1-Bug>MD E000:222;B <Return>0000E000 FF

Page 149

3-156 Computer Group Literature Center Web SiteDebugger Commands3This entry point is useful when the interface has not been accessed for some time and

Page 150

Debugger Commandshttp://www.motorola.com/computer/literature 3-1573NIOP - Network I/O PhysicalCommand InputNIOPDescriptionThe NIOP command allows you

Page 151 - GN - Go to Next Instruction

3-158 Computer Group Literature Center Web SiteDebugger Commands3The NIOP command utilizes the necessary configuration parameters to perform the TFTP

Page 152

Debugger Commandshttp://www.motorola.com/computer/literature 3-1593Get/Put =G?File Name =?The name of the file to load/store. On a write t

Page 153

3-160 Computer Group Literature Center Web SiteDebugger Commands3a desired length by specifying the desired length (non-zero). The byte offset field c

Page 154

Debugger Commandshttp://www.motorola.com/computer/literature 3-1613NIOT - Network I/O Teach (Configuration)Command InputNIOT [;[A|H|D]] OptionsDescrip

Page 155

3-162 Computer Group Literature Center Web SiteDebugger Commands3Each mass storage boot device and network interface boot device is identified by a de

Page 156

Debugger Commandshttp://www.motorola.com/computer/literature 3-1633As of version 1.8 of PPC1Bug, the node control memory address is dynamically calcul

Page 157 - Set a breakpoint

xxivA half-word is 16 bits, numbered 0 through 15, with bit 0 being the least significant.A word is 32 bits, numbered 0 through 31, with bit 0 being t

Page 158

3-164 Computer Group Literature Center Web SiteDebugger Commands3Boot File Name (“NULL” for None) =?The name of the boot file to load. Once the

Page 159 - HE - Help

Debugger Commandshttp://www.motorola.com/computer/literature 3-1653Trace Character Buffer Address=00000000?The starting address of memory in which to

Page 160

3-166 Computer Group Literature Center Web SiteDebugger Commands3BOOTP/RARP Request Control: Always/When-Needed (A/W) =WBOOTP/RARP Reply Update Contr

Page 161

Debugger Commandshttp://www.motorola.com/computer/literature 3-1673Example 2: Display the network controllers/nodes that are present in the system.PPC

Page 162 - IBM - Indirect Block Move

3-168 Computer Group Literature Center Web SiteDebugger Commands3NPING - Network PingCommand InputNPING ControllerLUN DeviceLUN SourceIP DestinationIP

Page 163

Debugger Commandshttp://www.motorola.com/computer/literature 3-1693If the number of packets is not specified on the command line, the command will ind

Page 164 - IDLE - Idle Master MPU

3-170 Computer Group Literature Center Web SiteDebugger Commands3OF - Offset Registers Display/ModifyCommand InputOF [Zn[;A] ]DescriptionThe OF comman

Page 165 - IOC - I/O Control for Disk

Debugger Commandshttp://www.motorola.com/computer/literature 3-1713[base_address [: byte_count] ]The top_address must equal or exceed the base_address

Page 166

3-172 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>OF <Return>Z0 =00000000 00000000 Z1 = 00000000 00000000Z2 =0000000

Page 167

Debugger Commandshttp://www.motorola.com/computer/literature 3-1733PA - Printer AttachNOPA - Printer DetachCommand InputPA [PORT]NOPA [PORT]Descriptio

Page 168 - IOI - I/O Inquiry

1-111General InformationPPCBug OverviewPPCBug is a powerful evaluation and debugging tool for systems built around the Motorola PowerPC microprocessor

Page 169

3-174 Computer Group Literature Center Web SiteDebugger Commands3Example 3: Detach device at logical unit $02.PPC1-Bug>NOPA 2 <Return>Printer

Page 170

Debugger Commandshttp://www.motorola.com/computer/literature 3-1753PBOOT - Bootstrap Operating SystemCommand InputPBOOT ; APBOOT ; VPBOOT CLUN DLUN PA

Page 171

3-176 Computer Group Literature Center Web SiteDebugger Commands3DescriptionThe PBOOT command loads an operating system or control program from a mass

Page 172 - Flag Byte prompt

Debugger Commandshttp://www.motorola.com/computer/literature 3-1773The layout of the boot record must be designed as shown in the Figure 3-1. The firs

Page 173 - D Format the entire disk

3-178 Computer Group Literature Center Web SiteDebugger Commands3The 32-bit start RBA is zero-based. The 32-bit count RBA value is one-based and indic

Page 174

Debugger Commandshttp://www.motorola.com/computer/literature 3-1793PC Compatibility Block0Entry Point Offset (LE)512Load Image Length (LE)516Flag Fiel

Page 175

3-180 Computer Group Literature Center Web SiteDebugger Commands31. Read into memory the second 512-byte block of the load image.2. Determine the load

Page 176

Debugger Commandshttp://www.motorola.com/computer/literature 3-1813PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTY

Page 177

3-182 Computer Group Literature Center Web SiteDebugger Commands3Example 3: This example demonstrates a boot from a direct-access device (i.e., hard d

Page 178

Debugger Commandshttp://www.motorola.com/computer/literature 3-1833PF - Port FormatNOPF - Port DetachCommand InputPF [PORT]NOPF [PORT]DescriptionThe P

Page 179

1-2 Computer Group Literature Center Web SiteGeneral Information1Because PPCBug is command-driven, it performs its various operations in response to u

Page 180

3-184 Computer Group Literature Center Web SiteDebugger Commands3Any changes will remain in effect until a reset operation occurs, or another PF execu

Page 181

Debugger Commandshttp://www.motorola.com/computer/literature 3-1853Note If a number base is not specified, the default is decimal, not hexadecimal.Eve

Page 182

3-186 Computer Group Literature Center Web SiteDebugger Commands3The device driver. Press the Return key to see a list the currently supported PowerPC

Page 183

Debugger Commandshttp://www.motorola.com/computer/literature 3-1873ExamplePPC1-Bug>PF 10 <Return>Logical unit $10 unassignedName of board? &l

Page 184 - Example 2:

3-188 Computer Group Literature Center Web SiteDebugger Commands3PFLASH - Program FLASH MemoryCommand InputPFLASH SSADDR SEADDR DSADDR [IEADDR][;[A|R]

Page 185

Debugger Commandshttp://www.motorola.com/computer/literature 3-1893DescriptionThe PFLASH command loads an application or program into Flash memory. Th

Page 186 - LO - Load S-Records from Host

3-190 Computer Group Literature Center Web SiteDebugger Commands3If the Flash memory driver was not downloaded, one or more of the following messages

Page 187

Debugger Commandshttp://www.motorola.com/computer/literature 3-1913Program FLASH Memory (Y/N)? Y <Return>The reset option R was utilized to rest

Page 188

3-192 Computer Group Literature Center Web SiteDebugger Commands3PS - Put RTC into Power Save ModeCommand InputPS DescriptionThe PS command turns off

Page 189

Debugger Commandshttp://www.motorola.com/computer/literature 3-1933RB - ROMboot EnableNORB - ROMboot DisableCommand InputRB[;V]NORB DescriptionThe RB

Page 190

Memory Requirementshttp://www.motorola.com/computer/literature 1-31Memory RequirementsThe debugger requires approximately 768KB of read/write memory (

Page 191 - NOMA - Macro Delete

3-194 Computer Group Literature Center Web SiteDebugger Commands3Example 3: PPC1-Bug> NORB <Return>ROM boot disabledPPC1-Bug>

Page 192

Debugger Commandshttp://www.motorola.com/computer/literature 3-1953RD - Register DisplayCommand InputRD [{[+|-|=] [DNAME] [/]}{[+|-|=] [REG1[-REG2]] [

Page 193

3-196 Computer Group Literature Center Web SiteDebugger Commands3Note the following when specifying any arguments in the command line:❏ The +, -, or =

Page 194 - MAE - Macro Edit

Debugger Commandshttp://www.motorola.com/computer/literature 3-1973ExamplesExample 1: Default display - MPU subset (also called out by DEF):PPC1-Bug&g

Page 195

3-198 Computer Group Literature Center Web SiteDebugger Commands3FR6 =0_000_0000000000000= 0.0000000000000000_E+0000FR7 =0_000_0000000000000= 0.

Page 196 - NOMAL - Disable Macro Listing

Debugger Commandshttp://www.motorola.com/computer/literature 3-1993Example 3: Add only FR0 and FR1 to the original default display.PPC1-Bug>RD FR0/

Page 197 - MAR - Load Macros

3-200 Computer Group Literature Center Web SiteDebugger Commands3Example 6: Restore the display to the original set.PPC1-Bug>RD =DEF <Return>

Page 198 - List all macros

Debugger Commandshttp://www.motorola.com/computer/literature 3-2013REMOTE - RemoteCommand InputREMOTEDescriptionThe REMOTE command initiates a service

Page 199 - MAW - Save Macros

3-202 Computer Group Literature Center Web SiteDebugger Commands3RESET - Cold/Warm ResetCommand InputRESETDescriptionThe RESET command allows you to s

Page 200

Debugger Commandshttp://www.motorola.com/computer/literature 3-2033MPU Clock Speed =xxMhz BUS Clock Speed =xxMhzPPC1-Bug>

Page 201 - MD, MDS - Memory Display

1-4 Computer Group Literature Center Web SiteGeneral Information1Start-upAt either power-up or system reset, PPCBug performs the MPU, hardware, and fi

Page 202

3-204 Computer Group Literature Center Web SiteDebugger Commands3RL - Read LoopCommand InputRL ADDR[;B|H|W]OptionsDescriptionThe RL command establishe

Page 203 - Example 6:

Debugger Commandshttp://www.motorola.com/computer/literature 3-2053RM - Register ModifyCommand InputRM [REG]DescriptionThe RM command allows you to di

Page 204 - Example 8:

3-206 Computer Group Literature Center Web SiteDebugger Commands3Example 2: Modify register FR0 and view the results.PPC1-Bug>RM FR0 <Return>

Page 205 - MENU - System Menu

Debugger Commandshttp://www.motorola.com/computer/literature 3-2073SPR20 =FFEC0000? <Return>SPR21 =FFEC0000? <Return>SPR22 =16A30500? &

Page 206 - M, MM - Memory Modify

3-208 Computer Group Literature Center Web SiteDebugger Commands3RS - Register SetCommand InputRS REG [EXP|ADDR]DescriptionThe RS command allows you t

Page 207

Debugger Commandshttp://www.motorola.com/computer/literature 3-2093PPC1-Bug>RS FR0 <Return>FR0 =0_44D_09F7E57C92CC4= 3.1399999999999997_E+

Page 208

3-210 Computer Group Literature Center Web SiteDebugger Commands3RUN - MPU Execution/StatusNote This command is for multi-processor boards only.Comman

Page 209

Debugger Commandshttp://www.motorola.com/computer/literature 3-2113Descriptions of all possible states:Note The debugger only permits one processor to

Page 210 - MMD - Memory Map Diagnostic

3-212 Computer Group Literature Center Web SiteDebugger Commands3SD - Switch DirectoriesCommand InputSDDescriptionThe SD command allows you to switch

Page 211

Debugger Commandshttp://www.motorola.com/computer/literature 3-2133SET - Set Time and DateCommand InputSET mmddyyhhmmDescriptionThe SET command starts

Page 212 - MMGR - Memory Manager

Start-uphttp://www.motorola.com/computer/literature 1-51If you do not terminate system start-up, the system begins the boot routine that has been set

Page 213

3-214 Computer Group Literature Center Web SiteDebugger Commands3SROM - SROM Examine/ModifyCommand InputSROM [offset][;E|D|I]Options:E Ethernet (Defau

Page 214

Debugger Commandshttp://www.motorola.com/computer/literature 3-2153!CautionThe network SROM is programmed at the factory to reflect specific board con

Page 215

3-216 Computer Group Literature Center Web SiteDebugger Commands3Example 2: Assume the proper Ethernet address was 08003E263157 instead of 08003E25315

Page 216 - MS - Memory Set

Debugger Commandshttp://www.motorola.com/computer/literature 3-2173Example 5: To simply view the byte at offset $20 of the I2C device at address A8.PP

Page 217 - MW - Memory Write

3-218 Computer Group Literature Center Web SiteDebugger Commands3SYM - Symbol Table AttachNOSYM - Symbol Table DetachCommand InputSYM [ADDR]NOSYMDescr

Page 218 - Example 3:

Debugger Commandshttp://www.motorola.com/computer/literature 3-2193The format of the symbol table is shown below:Upon execution of the command, the de

Page 219 - NAB - Network Auto Boot

3-220 Computer Group Literature Center Web SiteDebugger Commands3Example 4:PPC1-Bug>MD _LDCHAR+4 <Return>_ldchar+$0004 04050607 08090A0B 0C0

Page 220 - NAP - NAP MPU

Debugger Commandshttp://www.motorola.com/computer/literature 3-2213SYMS - Symbol Table Display/SearchCommand InputSYMS [symbol-name]|[;S]DescriptionTh

Page 221

3-222 Computer Group Literature Center Web SiteDebugger Commands3Example 4: Display the attached symbol table in ascending ASCII order.PPC1-Bug>SYM

Page 222

Debugger Commandshttp://www.motorola.com/computer/literature 3-2233T - TraceCommand InputT [COUNT]DescriptionThe T command executes one instruction at

Page 223

Safety SummaryThe following general safety precautions must be observed during all phases of operation, service, and repair of thisequipment. Failure

Page 224

1-6 Computer Group Literature Center Web SiteGeneral Information115. Initialize read/write memory controller with the speed of read/write memory.16. R

Page 225

3-224 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>RM IP <Return>IP =0000E000 ? 30000.<Return>PPC1-Bug>PPC1

Page 226

Debugger Commandshttp://www.motorola.com/computer/literature 3-2253Trace next instruction:PPC1-Bug> <Return>IP =00030008 MSR =00003030

Page 227 - NIOC - Network I/O Control

3-226 Computer Group Literature Center Web SiteDebugger Commands3Trace the next instruction:PPC1-Bug>T <Return>At BreakpointIP =00030014

Page 228

Debugger Commandshttp://www.motorola.com/computer/literature 3-2273TA - Terminal AttachCommand InputTA [PORT]DescriptionThe TA command assigns a seria

Page 229

3-228 Computer Group Literature Center Web SiteDebugger Commands3TIME - Display Time and DateCommand InputTIME [;L]DescriptionThe TIME command display

Page 230

Debugger Commandshttp://www.motorola.com/computer/literature 3-2293TM - Transparent ModeCommand InputTM [PORT] [ESCAPE]DescriptionThe TM command conne

Page 231

3-230 Computer Group Literature Center Web SiteDebugger Commands3TM without any arguments displays the current escape character, which you must enter

Page 232 - Network I/O transactions

Debugger Commandshttp://www.motorola.com/computer/literature 3-2313TT - Trace to Temporary BreakpointCommand InputTT ADDRDescriptionThe TT command set

Page 233 - NIOP - Network I/O Physical

3-232 Computer Group Literature Center Web SiteDebugger Commands3Initialize IP and R3, R4:PPC1-Bug>RM IP <Return>IP =0000E000 ? 30000.<R

Page 234

Debugger Commandshttp://www.motorola.com/computer/literature 3-2333R4 =00000100 R5 =00000000 R6 =00000000 R7 =00000000R8 =00000000

Page 235

Start-uphttp://www.motorola.com/computer/literature 1-7132. Display the BUS clock speed. Verify that the BUS clock speed matches the configuration dat

Page 236

3-234 Computer Group Literature Center Web SiteDebugger Commands3VE - Verify S-Records Against MemoryCommand InputVE [PORT] [ADDR] [;[X] [C]] [=text]O

Page 237

Debugger Commandshttp://www.motorola.com/computer/literature 3-2353following the equals sign, and terminate with the carriage return. If the host is o

Page 238

3-236 Computer Group Literature Center Web SiteDebugger Commands3 .file “test.s”## retrieve contents of the RTC registers# .tocT.FD:

Page 239

Debugger Commandshttp://www.motorola.com/computer/literature 3-2373PPC1-Bug>MD 40000:5;DI <Return>00040000 7C8402A6 MFSPR R4,400040004

Page 240

3-238 Computer Group Literature Center Web SiteDebugger Commands3VER - Revision/Version DisplayCommand InputVER [;E]DescriptionThe VER command display

Page 241

Debugger Commandshttp://www.motorola.com/computer/literature 3-2393PCI Function 00/0B/2 (00005A00) ID/Revision...=30381106/02PCI Function 00/0B/

Page 242 - 00? <Return>

3-240 Computer Group Literature Center Web SiteDebugger Commands3PCI Function 00/0B/0 (0005800) ID/Revision...=05861106/33Class:Bridge Device S

Page 243

Debugger Commandshttp://www.motorola.com/computer/literature 3-2413PCI Function 00/14/0 (0000A000) ID/Revision...=00261011/01Class: Bridge Devi

Page 244 - NPING - Network Ping

3-242 Computer Group Literature Center Web SiteDebugger Commands3WL - Write LoopCommand InputWL ADDR:DATA[;B|H|W]OptionsDescriptionThe WL command esta

Page 245

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

Page 246

1-8 Computer Group Literature Center Web SiteGeneral Information1The operating system boot sequence begins at 0x11E0 with the creation of residual dat

Page 247

4-2 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Machine-Instruction Operation CodesRefer to PowerPC 603 RISC Microproces

Page 248 - To look at location $20000

Source Program Codinghttp://www.motorola.com/computer/literature 4-34❏ No conditional assembly is used.❏ Several symbols recognized by the resident as

Page 249 - NOPA - Printer Detach

4-4 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4❏ Define Constant directive -- WORD is recognized to define a constant i

Page 250

Source Program Codinghttp://www.motorola.com/computer/literature 4-54Numbers are recognized as binary, octal, decimal, and hexadecimal, with hexadecim

Page 251 - Arguments

4-6 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4InstructionsThe following is a list of the instruction fields and their

Page 252

Source Program Codinghttp://www.motorola.com/computer/literature 4-74The assembly/disassembly format of the instruction mnemonics and operands follow

Page 253

4-8 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Addressing ModesEffective address modes, combined with operation codes,

Page 254

Source Program Codinghttp://www.motorola.com/computer/literature 4-94The order of evaluation is strictly left to right with no precedence granted to s

Page 255

4-10 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4to a byte of memory, with the eighth bit (MSB) always equal to zero. If

Page 256

Entering and Modifying Source Programshttp://www.motorola.com/computer/literature 4-114This is assembled as:ADDI R10,R0,$XXXXSCWhere $XXXX is the 16-b

Page 257

Start-uphttp://www.motorola.com/computer/literature 1-91111A Waiting for hardware to initialize memory111C Setting up the DRAM init parameters111E Ini

Page 258

4-12 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4instruction or a WORD directive. If the disassembler recognizes a valid

Page 259 - NOPF - Port Detach

Entering and Modifying Source Programshttp://www.motorola.com/computer/literature 4-134Entering Branch OperandsIn the case of forward branches, the ab

Page 260

4-14 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Assembler Error MessagesThe following is a list of the assembler error

Page 261 - N Disabled

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

Page 262

5-2 Computer Group Literature Center Web SiteSystem Calls5String Formats for I/OWithin the context of the System Call handler there are two formats fo

Page 263 - NOPF Port Detach

System Call Routineshttp://www.motorola.com/computer/literature 5-35$0011 .DSKWR Disk write$0012 .DSKCFIG Disk configure$0014 .DSKFMT Disk format$0015

Page 264 - PFLASH - Program FLASH Memory

5-4 Computer Group Literature Center Web SiteSystem Calls5$0064 .BINDEC Convert binary to Binary Coded Decimal (BCD)$0067 .CHANGEV Parse value$0068 .S

Page 265

System Call Routineshttp://www.motorola.com/computer/literature 5-55.DELAY $0043 Timer delay function.DIAGFCN $0074 Diagnostic function(s).DIVU32 $006

Page 266

5-6 Computer Group Literature Center Web SiteSystem Calls5.OUTSTR $0021 Output string (pointer/pointer format).PCRLF $0026 Output carriage return and

Page 267

System Call Routineshttp://www.motorola.com/computer/literature 5-75.INCHR Name.INCHR - Input character routine Code $0000 Description.INCHR reads a c

Page 268

1-10 Computer Group Literature Center Web SiteGeneral Information1114A Initializing RAVEN PCI space114C Initializing RAVEN time base registers114D Ini

Page 269 - NORB - ROMboot Disable

5-8 Computer Group Literature Center Web SiteSystem Calls5.INSTAT Name.INSTAT - Input serial port status routineCode $0001Description.INSTAT is used t

Page 270

System Call Routineshttp://www.motorola.com/computer/literature 5-95.INLN Name .INLN - Input line routine Code $0002 Description.INLN is used to read

Page 271 - RD - Register Display

5-10 Computer Group Literature Center Web SiteSystem Calls5.READSTR Name .READSTR - Read string into variable-length bufferCode $0003 Description.READ

Page 272

System Call Routineshttp://www.motorola.com/computer/literature 5-115Note This routine allows the caller to dictate the maximum length of input to be

Page 273

5-12 Computer Group Literature Center Web SiteSystem Calls5.READLN Name .READLN - Read line to fixed-length bufferCode$0004 Description.READLN is used

Page 274

System Call Routineshttp://www.motorola.com/computer/literature 5-135.CHKBRK Name .CHKBRK - Check for breakCode $0005 Description.CHKBRK alters R03 ac

Page 275

5-14 Computer Group Literature Center Web SiteSystem Calls5.DSKRD.DSKWR Name.DSKRD - Disk read routine .DSKWR - Disk write routine Codes$0010 $0011 De

Page 276

System Call Routineshttp://www.motorola.com/computer/literature 5-155Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to us

Page 277 - REMOTE - Remote

5-16 Computer Group Literature Center Web SiteSystem Calls5Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry

Page 278 - RESET - Cold/Warm Reset

System Call Routineshttp://www.motorola.com/computer/literature 5-175.DSKCFIG Name.DSKCFIG - disk configure routine Code$0012 DescriptionThis routine

Page 279

Start-uphttp://www.motorola.com/computer/literature 1-1111188 Initializing disk I/O subsystem118A Initializing direction flags118C Initializing NVRAM

Page 280 - RL - Read Loop

5-18 Computer Group Literature Center Web SiteSystem Calls5Field descriptions:Device Descriptor PacketThe Device Descriptor Packet is as follows:$0A 0

Page 281 - RM - Register Modify

System Call Routineshttp://www.motorola.com/computer/literature 5-195Most of the fields in the Device Descriptor Packet are equivalent to the fields d

Page 282

5-20 Computer Group Literature Center Web SiteSystem Calls5The Disk Packet Parameters are shown in the following table. The parameters that do not hav

Page 283

System Call Routineshttp://www.motorola.com/computer/literature 5-215P_DNCYL $1A 2 IOSTRK Number of cylindersP_DPCYL $1C 2 IOSPCOM Precompensation cyl

Page 284 - RS - Register Set

5-22 Computer Group Literature Center Web SiteSystem Calls5Configuration Area Block CFGA FieldsAttribute Mask -- IOSATM and IOSEATMThe IOSATM field bi

Page 285

System Call Routineshttp://www.motorola.com/computer/literature 5-235Parameter Mask -- IOSPRM and IOSEPRMThe IOSPRM and IOSEPRM bits are defined in th

Page 286 - RUN - MPU Execution/Status

5-24 Computer Group Literature Center Web SiteSystem Calls5Attribute Word -- IOSATW and IOSEATWIOSATW contains various flags that specify characterist

Page 287

System Call Routineshttp://www.motorola.com/computer/literature 5-255Table 5-8. CFGA FieldsParameter DescriptionIOSREC Record (Block) size Number of

Page 288 - SD - Switch Directories

5-26 Computer Group Literature Center Web SiteSystem Calls5IOSECC ECC data burst length The number of bits to correct for an ECC error when supported

Page 289 - SET - Set Time and Date

System Call Routineshttp://www.motorola.com/computer/literature 5-275.DSKFMT Name .DSKFMT - Disk format routine Code $0014 DescriptionThis routine all

Page 290 - SROM - SROM Examine/Modify

1-12 Computer Group Literature Center Web SiteGeneral Information1Running the Diagnostics and DebuggerIn order to use the diagnostics, terminate the s

Page 291

5-28 Computer Group Literature Center Web SiteSystem Calls5Entry Conditions R03: 32-bit address of command packet Memory AddressAddress of buffer in m

Page 292

System Call Routineshttp://www.motorola.com/computer/literature 5-295Exit Conditions Different From Entry Status half-word of command packet is update

Page 293

5-30 Computer Group Literature Center Web SiteSystem Calls5.DSKCTRL Name .DSKCTRL - Disk control routine Code $0015 DescriptionThis routine is used to

Page 294 - NOSYM - Symbol Table Detach

System Call Routineshttp://www.motorola.com/computer/literature 5-315Entry Conditions R03: 32-bit address of command packet Exit Conditions Different

Page 295 - Offset Field Description

5-32 Computer Group Literature Center Web SiteSystem Calls5.NETRD.NETWR Name .NETRD - Read/get from host .NETWR - Write/put to hostCode $0018/$0019 De

Page 296 - Example 4:

System Call Routineshttp://www.motorola.com/computer/literature 5-335Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use

Page 297

5-34 Computer Group Literature Center Web SiteSystem Calls5.NETCFIG Name .NETCFIG - Configure network parameters Code $001A DescriptionThis routine al

Page 298

System Call Routineshttp://www.motorola.com/computer/literature 5-355The Network Configuration Parameters structure has the following format: Status W

Page 299 - T - Trace

5-36 Computer Group Literature Center Web SiteSystem Calls5Field descriptions: $18Boot File Byte OffsetMost Significant Word$1A Least Significant Word

Page 300

System Call Routineshttp://www.motorola.com/computer/literature 5-375Subnet IP Address Mask The subnet IP address mask. This mask is used to determine

Page 301 - Trace next instruction:

Auto Boothttp://www.motorola.com/computer/literature 1-131Refer to the PPCBug Diagnostics Manual for complete descriptions of the diagnostic routines

Page 302 - Trace the next instruction:

5-38 Computer Group Literature Center Web SiteSystem Calls5TFTP/ARP Request RetryThe number of retries that should be attempted prior to giving up. A

Page 303 - TA - Terminal Attach

System Call Routineshttp://www.motorola.com/computer/literature 5-395, Unsupported ICMP type: ICMP echo request; ICMP echo replyBOOTP/RARP Request Con

Page 304 - TIME - Display Time and Date

5-40 Computer Group Literature Center Web SiteSystem Calls5.NETFOPN Name .NETFOPN - Open file for reading Code $001B DescriptionThis routine allows th

Page 305 - TM - Transparent Mode

System Call Routineshttp://www.motorola.com/computer/literature 5-415Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use

Page 306

5-42 Computer Group Literature Center Web SiteSystem Calls5.NETFRD Name .NETFRD - Retrieve specified file blocks Code $001CDescriptionThis routine all

Page 307

System Call Routineshttp://www.motorola.com/computer/literature 5-435Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use

Page 308 - Initialize IP and R3, R4:

5-44 Computer Group Literature Center Web SiteSystem Calls5.NETCTRLName .NETCTRL - Implement special control routinesCode $001DDescriptionThis routi

Page 309

System Call Routineshttp://www.motorola.com/computer/literature 5-455Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use

Page 310

5-46 Computer Group Literature Center Web SiteSystem Calls5Status/Control Flags This parameter specifies control and status flags as needed by the ope

Page 311

System Call Routineshttp://www.motorola.com/computer/literature 5-475.OUTCHR Name .OUTCHR - Output character routine Code $0020 DescriptionThis routin

Page 312

1-14 Computer Group Literature Center Web SiteGeneral Information1ROMbootNote The PowerPlus architecture boards do not execute a configured boot routi

Page 313

5-48 Computer Group Literature Center Web SiteSystem Calls5.OUTSTR.OUTLN Names.OUTSTR - Output string to default output port .OUTLN - Output string wi

Page 314

System Call Routineshttp://www.motorola.com/computer/literature 5-495.WRITE.WRITELN Names.WRITE - Output string without a <CR> or <LF>.WRI

Page 315

5-50 Computer Group Literature Center Web SiteSystem Calls5.PCRLF Name .PCRLF - Print a <CR><LF> sequenceCode $0026 Description.PCRLF send

Page 316

System Call Routineshttp://www.motorola.com/computer/literature 5-515.ERASLN Name .ERASLN - Erase Line Code $0027 Description.ERASLN is used to erase

Page 317

5-52 Computer Group Literature Center Web SiteSystem Calls5.WRITD.WRITDLN Names.WRITD - Output string with data.WRITDLN - Output string with data and

Page 318 - WL - Write Loop

System Call Routineshttp://www.motorola.com/computer/literature 5-535Notes 1.The string must be formatted such that the first byte (the byte pointed t

Page 319 - Disassembler

5-54 Computer Group Literature Center Web SiteSystem Calls5.SNDBRK Name.SNDBRK - Send breakCode$0029Description.SNDBRK is used to send a break to the

Page 320 - Directives

System Call Routineshttp://www.motorola.com/computer/literature 5-555.DELAY Name .DELAY - Timer delay routine Code $0043 Description.DELAY is used to

Page 321 - Source Program Coding

5-56 Computer Group Literature Center Web SiteSystem Calls5.RTC_TM Name .RTC_TM - Time initialization for RTC Code $0050Description.RTC_TM initializes

Page 322

System Call Routineshttp://www.motorola.com/computer/literature 5-575.RTC_DT Name .RTC_DT - Date initialization Code $0051Description.RTC_DT initializ

Page 323 - These are only recognized

ROMboothttp://www.motorola.com/computer/literature 1-151The format of the beginning of the routine is:If you want to make use of ROMboot, you do not h

Page 324 - Instructions

5-58 Computer Group Literature Center Web SiteSystem Calls5.RTC_DSP Name .RTC_DSP - Display time from RTC Code $0052 Description.RTC_DSP displays the

Page 325

System Call Routineshttp://www.motorola.com/computer/literature 5-595.RTC_RD Name .RTC_RD - Read the RTC registers Code $0053 Description.RTC_RD is us

Page 326 - Addressing Modes

5-60 Computer Group Literature Center Web SiteSystem Calls5.REDIR Name .REDIR - Redirect I/O routineCode $0060 Description.REDIR is used to select an

Page 327

System Call Routineshttp://www.motorola.com/computer/literature 5-615.REDIR_I.REDIR_O Name.REDIR_I - Redirect input.REDIR_O - Redirect outputCodes$006

Page 328 - SYSCALL System Call Directive

5-62 Computer Group Literature Center Web SiteSystem Calls5.RETURN Name .RETURN - Return to PPCBug Code $0063 Description.RETURN is used to return con

Page 329

System Call Routineshttp://www.motorola.com/computer/literature 5-635.BINDEC Name .BINDEC - Calculate the Binary Coded Decimal (BCD) equivalent of the

Page 330 - Entering a Source Line

5-64 Computer Group Literature Center Web SiteSystem Calls5.CHANGEV Name.CHANGEV - Parse value, assign to variableCode$0067DescriptionAttempt to parse

Page 331 - Entering Branch Operands

System Call Routineshttp://www.motorola.com/computer/literature 5-655.STRCMP Name.STRCMP - Compare two strings (pointer/count)Code$0068DescriptionComp

Page 332 - Assembler Error Messages

5-66 Computer Group Literature Center Web SiteSystem Calls5.MULU32 Name.MULU32 - Unsigned 32-bit x 32-bit multiplyCode$0069DescriptionTwo 32-bit unsig

Page 333 - 5System Calls

System Call Routineshttp://www.motorola.com/computer/literature 5-675.DIVU32 Name.DIVU32 - Unsigned 32-bit x 32-bit divideCode$006ADescriptionUnsigned

Page 334 - System Call Routines

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

Page 335 - System Call function

1-16 Computer Group Literature Center Web SiteGeneral Information11. Search direct address for “BOOT”. The direct address points to an installed ROM

Page 336

5-68 Computer Group Literature Center Web SiteSystem Calls5.CHK_SUM Name.CHK_SUM - Generate checksum for address rangeCode$006BDescriptionThis routine

Page 337

System Call Routineshttp://www.motorola.com/computer/literature 5-695.BRD_ID Name.BRD_ID - Return pointer to board ID packetCode$0070DescriptionThis r

Page 338

5-70 Computer Group Literature Center Web SiteSystem Calls5Refer to Appendix G for data on supported network controllers.Board Number Half-Word contai

Page 339

System Call Routineshttp://www.motorola.com/computer/literature 5-715Entry ConditionsNoneExit Conditions Different From EntryR03: Address (word) Sta

Page 340 - .INSTAT

5-72 Computer Group Literature Center Web SiteSystem Calls5.ENVIRON Name.ENVIRON - Read/write environment parametersCode$0071DescriptionThe purpose of

Page 341 - <CR>

System Call Routineshttp://www.motorola.com/computer/literature 5-735For operation 0R03: The number of bytes required to store the debugger informatio

Page 342 - .READSTR

5-74 Computer Group Literature Center Web SiteSystem Calls52$15Disk Auto Boot Enable Disk Auto Boot at power-up only Disk Auto Boot Controller Logical

Page 343

System Call Routineshttp://www.motorola.com/computer/literature 5-755For an explanation of each entry and definition of options, refer to the ENV comm

Page 344 - .READLN

5-76 Computer Group Literature Center Web SiteSystem Calls5.PFLASH FunctionName.PFLASH - Program Flash memory Code$0073DescriptionThe purpose of this

Page 345 - .CHKBRK

System Call Routineshttp://www.motorola.com/computer/literature 5-775Field descriptions: Control/Status Word Specifies control and status of the vario

Page 346

ROMboothttp://www.motorola.com/computer/literature 1-171Do the following to prepare the ROMboot routine (includes checksum calculation):1. Assemble an

Page 347 - Field descriptions:

5-78 Computer Group Literature Center Web SiteSystem Calls5The next table describes the definitions of the control and status bits in the Control/Stat

Page 348

System Call Routineshttp://www.motorola.com/computer/literature 5-795.DIAGFCN Name.DIAGFCN - Diagnostic routineCode$0074 Description.DIAGFCN is a syst

Page 349 - .DSKCFIG

5-80 Computer Group Literature Center Web SiteSystem Calls502: .TESTSTAT (output test status report)This diagcfn call allows access to selftest diagno

Page 350 - Device Descriptor Packet

System Call Routineshttp://www.motorola.com/computer/literature 5-815The caller will then typically allocate the number of bytes of memory requested f

Page 351

5-82 Computer Group Literature Center Web SiteSystem Calls5The P status will only ever be saved, if the previous status for the test was B, M, N, or E

Page 352

System Call Routineshttp://www.motorola.com/computer/literature 5-835The result is returned in R0303: .MEMSTAT (memory status)This function implements

Page 353

5-84 Computer Group Literature Center Web SiteSystem Calls52. When a match is found, walk down through the tests, ignore any functions that are not of

Page 354

System Call Routineshttp://www.motorola.com/computer/literature 5-855MEMSTAT will return a zero from the system call if there were no errors.04: .ST_N

Page 355

5-86 Computer Group Literature Center Web SiteSystem Calls5The caller should place the structure pointer in processor register R03. An integer result

Page 356

System Call Routineshttp://www.motorola.com/computer/literature 5-875Example 2: .TESTSTATPPC1-Bug>MM 10100;DI <Return>00010100 59200074 SYSCA

Page 357 - Table 5-8. CFGA Fields

1-18 Computer Group Literature Center Web SiteGeneral Information18. Verify the functionality of the user ROMboot routine with the RB command.PPC1-Bug

Page 358

5-88 Computer Group Literature Center Web SiteSystem Calls5PPC1-Bug>MD 20104 <Return> (display report)00020104 2372616D 23717569 6B235175 696

Page 359 - .DSKFMT

System Call Routineshttp://www.motorola.com/computer/literature 5-895PPC1-Bug>MD 20100:40 <Return> (display report)00020100 00000005 00000000

Page 360 - Entry Conditions

5-90 Computer Group Literature Center Web SiteSystem Calls5PPC1-Bug>MM 20008 <Return> (size of buffer)00020008 00000000? AFE . <Return>

Page 361

System Call Routineshttp://www.motorola.com/computer/literature 5-915.SIOPEPS Name.SIOPEPS - Retrieve SCSI pointers Code$0090 DescriptionThe purpose o

Page 362 - .DSKCTRL

5-92 Computer Group Literature Center Web SiteSystem Calls5script_ptrPointer to the NCR scripts index pointer arrayscript_ptr_szSize of the NCR script

Page 363

System Call Routineshttp://www.motorola.com/computer/literature 5-935.FORKMPU FunctionNote This is a PPCBug system call for MVME4600 series or Dual P

Page 364 - System Calls

5-94 Computer Group Literature Center Web SiteSystem Calls5.FORKMPUR FunctionNote This is a PPCBug system call for MVME4600 or dual processor MTX moth

Page 365

System Call Routineshttp://www.motorola.com/computer/literature 5-955$058 GPR22$05C GPR23$060 GPR24$064 GPR25$068 GPR26$06C GPR27$070 GPR28$074 GPR29$

Page 366 - .NETCFIG

5-96 Computer Group Literature Center Web SiteSystem Calls5$198 SR06$19C SR07$1A0 SR08$1A4 SR09$1A8 SR10$1AC SR11$1B0 SR12$1B4 SR13$1B8 SR14$1BC SR15$

Page 367

System Call Routineshttp://www.motorola.com/computer/literature 5-975Field descriptions: $25C SPR542$260 SPR543$264 SPR936$268 SPR937$26C SPR938$270 S

Page 368

Restarting the Systemhttp://www.motorola.com/computer/literature 1-191Network Autoboot is controlled by parameters contained in the NIOT and ENV comma

Page 369

5-98 Computer Group Literature Center Web SiteSystem Calls5GPR00 to GPR31 general purpose registersFPR00 to FPR31 floating point registersSR00 to SR15

Page 370

System Call Routineshttp://www.motorola.com/computer/literature 5-995.IDLEMPU Function Name.IDLEMPU - Idle MPU (Multiple MPU Configuration)Code$0110De

Page 371

5-100 Computer Group Literature Center Web SiteSystem Calls5.IOINQ Name.IOINQ - Port InquireCode$0120 DescriptionWrites the Port Control Structure at

Page 372 - .NETFOPN

System Call Routineshttp://www.motorola.com/computer/literature 5-1015Field descriptions:$1C Error Code$20 Reserved$24 Reserved$28 ReservedPort Number

Page 373

5-102 Computer Group Literature Center Web SiteSystem Calls5Modem ID Modem Type1 Non-intelligent modem2 Terminal - Refer to the Using the Service Call

Page 374 - .NETFRD

System Call Routineshttp://www.motorola.com/computer/literature 5-1035I/O Control StructureThe I/O Control Structure is of the form:Field descriptions

Page 375

5-104 Computer Group Literature Center Web SiteSystem Calls5Note Only the asynchronous protocol is supported by PPCBug.Bit 046 bit character wordBit

Page 376 - .NETCTRL

System Call Routineshttp://www.motorola.com/computer/literature 5-1055.IOINFORM Name.IOINFORM - Port InformCode$0124DescriptionThis trap will inform t

Page 377

5-106 Computer Group Literature Center Web SiteSystem Calls5Port Control StructureThe Port Control Structure is of the form:31 24 23 16 15 8 7 0$00 Po

Page 378

System Call Routineshttp://www.motorola.com/computer/literature 5-1075.IOCONFIG Name.IOCONFIG - Port ConfigureCode$0128DescriptionThis trap will instr

Page 379 - .OUTCHR

1-20 Computer Group Literature Center Web SiteGeneral Information1this reason, abort is most appropriate when terminating a user program that is being

Page 380 - <CR><LF>

5-108 Computer Group Literature Center Web SiteSystem Calls5.IODELETE Name.IODELETE - Port DeleteCode$012C DescriptionCauses the PPCBug to delete the

Page 381 - .WRITELN

System Call Routineshttp://www.motorola.com/computer/literature 5-109531 24 23 16 15 8 7 0$00 Port Number$04 Board Name Pointer$08 Channel$0C Device A

Page 382

5-110 Computer Group Literature Center Web SiteSystem Calls5.SYMBOLTA Name.SYMBOLTA - Attach Symbol TableCode$0130DescriptionThis routine attaches a s

Page 383 - .ERASLN

System Call Routineshttp://www.motorola.com/computer/literature 5-1115Field descriptions: Entry ConditionsR03: Address (word) Starting address o

Page 384 - .WRITDLN

5-112 Computer Group Literature Center Web SiteSystem Calls5.SYMBOLTD Name.SYMBOLTD - Detach Symbol TableCode$0131DescriptionThis routine detaches a s

Page 385

AA-1ARelated DocumentationMotorola Computer Group DocumentsThe Motorola publications listed below are referenced in this manual. You can obtain paper

Page 386 - .SNDBRK

A-2 Computer Group Literature Center Web SiteRelated DocumentationAMVME3600/4600 Series VME Processor Modules Programmer’s Reference GuideV3600A/PGMVM

Page 387

Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-3AMicroprocessor and Controller DocumentsFor additional informati

Page 388 - .RTC_TM

A-4 Computer Group Literature Center Web SiteRelated DocumentationAPowerPC 604TM RISC Microprocessor User’s ManualLiterature Distribution Center for M

Page 389 - .RTC_DT

Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-5AAlpineTM VGA Family - CL-GD543X/’4X Technical Reference ManualF

Page 390 - .RTC_DSP

Restarting the Systemhttp://www.motorola.com/computer/literature 1-211Board FailureThe following conditions result in a board failure. These condition

Page 391 - .RTC_RD

A-6 Computer Group Literature Center Web SiteRelated DocumentationAPC87307VUL ( Super I/OTM Enhanced Sidewinder Lite) Floppy DiskController,, Keyboard

Page 392

Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-7ASYM 53CXX (was NCR 53C8XX) Family PCI-SCSI I/O Processors Progr

Page 393 - .REDIR_O

A-8 Computer Group Literature Center Web SiteRelated DocumentationAZ8536 CIO Counter/Timer and Parallel I/O UnitProduct Specification and User’s Manua

Page 394 - .RETURN

Related Specificationshttp://www.motorola.com/computer/literature A-9ARelated SpecificationsFor additional information, refer to the following table f

Page 395 - .BINDEC

A-10 Computer Group Literature Center Web SiteRelated DocumentationAVME64 SpecificationVITA (VMEbus International Trade Association) 7825 E. Gelding

Page 396 - .CHANGEV

Related Specificationshttp://www.motorola.com/computer/literature A-11ABidirectional Parallel Port Interface SpecificationInstitute of Electrical and

Page 397 - .STRCMP

A-12 Computer Group Literature Center Web SiteRelated DocumentationAInformation Technology - Local and Metropolitan Networks - Part 3: Carrier Sense M

Page 398 - .MULU32

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

Page 399 - .DIVU32

B-2 Computer Group Literature Center Web SiteSystem MenuB*Enter Alternate Boot Device:Controller: Drive : File :". The devices supported

Page 400 - .CHK_SUM

Menu Itemshttp://www.motorola.com/computer/literature B-3BOther files (files 1 through n) written by the Tape Dump Utility are simply image(s) of memo

Page 401 - .BRD_ID

1-22 Computer Group Literature Center Web SiteGeneral Information1Notes Assert indicates a signal is active or true. Negate indicates a signal is inac

Page 402

B-4 Computer Group Literature Center Web SiteSystem MenuBTape Dump Example: 1) Continue System Start Up2) Select Alternate Boot Device3) Go to System

Page 403

Using the Service Call Functionhttp://www.motorola.com/computer/literature B-5BUsing the Service Call FunctionOperationThe service call function displ

Page 404 - .ENVIRON

B-6 Computer Group Literature Center Web SiteSystem MenuBWhen a connection has been made to a customer service center (or any other remote device), ha

Page 405

Using the Service Call Functionhttp://www.motorola.com/computer/literature B-7BThe remote system can now send either the MESS (Message Control) to sen

Page 406

B-8 Computer Group Literature Center Web SiteSystem MenuBThe menu is redisplayed and concurrent mode is in effect. Any normal system operation can now

Page 407

Using the Service Call Functionhttp://www.motorola.com/computer/literature B-9BThe system responds with the following series of messages if the discon

Page 408 - .PFLASH Function

B-10 Computer Group Literature Center Web SiteSystem MenuBIf you answer Y to the question, the system then continues with a normal dialog with the rem

Page 409

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

Page 410

C-2 Computer Group Literature Center Web SitePPCBug MessagesCError MessagesTable C-1. Debugger Error MessagesDebugger Error Message MeaningBad VID Bl

Page 411 - .DIAGFCN

Other Messageshttp://www.motorola.com/computer/literature C-3COther MessagesSTRING POOL FULL, LAST LINE DISCARDEDString pool size (511 characters) is

Page 412

Disk I/O Supporthttp://www.motorola.com/computer/literature 1-231Blocks and SectorsThe logical block defines the unit of information for disk devices.

Page 413 - F

C-4 Computer Group Literature Center Web SitePPCBug MessagesCEscape character: $HH=AAExit code from transparent mode, in hex (HH) and ASCII (AA) durin

Page 414

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 415

D-2 Computer Group Literature Center Web SiteS-Record FormatDEach record may be terminated with a carriage return, line feed, or null. Additionally, a

Page 416

Creating S-Recordshttp://www.motorola.com/computer/literature D-3DNote The upper bytes are assumed to be zero in addresses that are smaller than 4 byt

Page 417

D-4 Computer Group Literature Center Web SiteS-Record FormatDoperating system, a build utility allows an executable load module to be built from S-rec

Page 418

Examplehttp://www.motorola.com/computer/literature D-5DThe second S2 record is explained as follows:040000 Six-character 3-byte address field; hexadec

Page 419 - Example 2: .TESTSTAT

D-6 Computer Group Literature Center Web SiteS-Record FormatDThe S8 record is explained as follows:Each printable character in an S-record is encoded

Page 420 - Example 3: .MEMSTAT

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

Page 421 - Example 4: .ST_NMLIST

E-2 Computer Group Literature Center Web SiteDisk and Tape ControllersEFloppy Drive Configuration ParametersThe following table lists the parameters u

Page 422

Floppy Drive Configuration Parametershttp://www.motorola.com/computer/literature E-3ENote 1.All numerical parameters are in hexadecimal unless otherwi

Page 423 - .SIOPEPS

1-24 Computer Group Literature Center Web SiteGeneral Information1Disk I/O via Debugger CommandsThe following debugger commands are provided for disk

Page 424 - Size of the scripts array

E-4 Computer Group Literature Center Web SiteDisk and Tape ControllersE

Page 425 - .FORKMPU Function

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 426 - .FORKMPUR Function

F-2 Computer Group Literature Center Web SiteDisk Status CodesFATA (Hard Disks/CD-ROM Drives)The ATA command is the byte that identifies the command c

Page 427

Controller-Independent Status Codeshttp://www.motorola.com/computer/literature F-3FController-Independent Status CodesThe definitions for the controll

Page 428

F-4 Computer Group Literature Center Web SiteDisk Status CodesFIf the SCSI Bus Status byte returned by the firmware is non-zero, this byte is returned

Page 429

SCSI Firmware Status Codeshttp://www.motorola.com/computer/literature F-5F$08 Data underrun - Not enough data$09 Clock faster than 75 MHz$0A Bad Clock

Page 430

F-6 Computer Group Literature Center Web SiteDisk Status CodesFATA/ATAPI Firmware Status CodesNote The marketing terms IDE and EIDE are often used whe

Page 431 - .IDLEMPU Function

ATA/ATAPI Firmware Status Codeshttp://www.motorola.com/computer/literature F-7FTable F-3. ATA/ATAPI Controller-Dependent ErrorsCode Description$00 Go

Page 432

F-8 Computer Group Literature Center Web SiteDisk Status CodesF

Page 433

GG-1GEstablishing NetworkConnections with PPCBugThe procedure below can be used to establish a network connection using standard PPCBug commands from

Page 434

Disk I/O Supporthttp://www.motorola.com/computer/literature 1-251PBOOT (Bootstrap Operating System)The PBOOT command reads an operating system or cont

Page 435 - I/O Control Structure

G-2 Computer Group Literature Center Web SiteEstablishing Network Connections with PPCBugGGateway IP address: set if a gateway will be required to tra

Page 436

HH-1HNetwork Communication StatusCodesThere are two types of network communication status codes, controller independent and controller (DEC21040, DEC2

Page 437 - .IOINFORM

H-2 Computer Group Literature Center Web SiteNetwork Communication Status CodesH$08 Illegal IPL load address$09 User abort, break key depressed$0A Tim

Page 438 - Port Control Structure

http://www.motorola.com/computer/literature H-3H$19 Transmitter timeout on PHY$20 Receiver CRC error$21 Receiver overflow error$22 Receiver framing er

Page 439 - .IOCONFIG

H-4 Computer Group Literature Center Web SiteNetwork Communication Status CodesH

Page 440 - .IODELETE

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

Page 441

IndexIN-2 Computer Group Literature Center Web SiteINDEXarguments 2-2ADDR 2-4EXP 2-2PORT 2-6ARP 1-30AS command 3-5, 4-11assembler 3-131, 4-1, 4-2, 4-1

Page 442 - .SYMBOLTA

http://www.motorola.com/computer/literature IN-3INDEXcheck function 5-79checksumCS command 3-35generate 5-68clockreal-time 5-58clock speed calculation

Page 443

IndexIN-4 Computer Group Literature Center Web SiteINDEXRM 3-205RS 3-208RUN 3-210SD 3-212SET 3-213SROM 3-214SYM 3-218SYMS 3-221T 3-223TA 3-227TIME 3-2

Page 444 - .SYMBOLTD

http://www.motorola.com/computer/literature IN-5INDEXdefault controller parameters 1-27default device parameters 1-27default input port 5-1default out

Page 445 - ARelated Documentation

vContentsAbout This ManualSummary of Changes...xviOvervi

Page 446

1-26 Computer Group Literature Center Web SiteGeneral Information1Disk I/O via Debugger System CallsAll operations that actually access the disk are d

Page 447 - Publication

IndexIN-6 Computer Group Literature Center Web SiteINDEXedit macros 3-118enable macro listing 3-120enable ROMboot 3-193entering and debugging programs

Page 448 - Related Documentation

http://www.motorola.com/computer/literature IN-7INDEXGEVs (Global Environment Variables) 3-64GEVSHOW command 3-74Global Environment Variables (GEVs) 3

Page 449

IndexIN-8 Computer Group Literature Center Web SiteINDEXLLAN coprocessor 1-28LED/serial startup diagnostic codes 1-7, 3-57lineerase 5-51output 5-48, 5

Page 450

http://www.motorola.com/computer/literature IN-9INDEXMultiprocessor Control Register (MPCR)1-32contents of 1-33status codes in 1-33multiprocessor supp

Page 451

IndexIN-10 Computer Group Literature Center Web SiteINDEXoutput test status report 5-80PPA command 3-173, 4-13packets 3-151parameter mask (IOSPRM, IOS

Page 452

http://www.motorola.com/computer/literature IN-11INDEXmain processor 4-5RTC 5-59related documentation A-1related specifications A-9REMOTE command 3-20

Page 453 - Related Specifications

IndexIN-12 Computer Group Literature Center Web SiteINDEXSmall Computer System Interface (SCSI)5-69source code 4-11source line 4-3, 4-12source program

Page 454

http://www.motorola.com/computer/literature IN-13INDEXtimedisplay 3-228set 3-213TIME command 3-228time display 5-58time initialize 5-56timer delay 5-5

Page 455

IndexIN-14 Computer Group Literature Center Web SiteINDEX

Page 456

Disk I/O Supporthttp://www.motorola.com/computer/literature 1-271controller it is sent to. Refer to documentation on the particular controller module

Page 457 - BSystem Menu

1-28 Computer Group Literature Center Web SiteGeneral Information1Network I/O SupportThe network autoboot firmware provides the capability to boot the

Page 458 - Dump Memory to Tape

Network I/O Supporthttp://www.motorola.com/computer/literature 1-291Figure 1-1. Network Boot Modules1273 9401Bootstrap Protocol(BOOTP)RFC 951Boot Con

Page 459 - Menu Items

1-30 Computer Group Literature Center Web SiteGeneral Information1RARP and ARP ModulesThe Reverse Address Resolution Protocol (RARP) basically consist

Page 460 - Tape Dump Example:

Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-311Network I/O Error CodesPPCBug returns an error code if an attemp

Page 461 - Operation

1-32 Computer Group Literature Center Web SiteGeneral Information1PPCBug remote start can be utilized by either the MPCR or GCSR methods, which are de

Page 462 - System Menu

Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-331The host’s access address of the MPCR is affected by memory mapp

Page 463 - Concurrent mode (Y/N)?

1-34 Computer Group Literature Center Web SiteGeneral Information1The MPCR command codes that may be set by the host processor are:The MPAR register c

Page 464

Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-351In either sequence, an E is placed in the MPCR to indicate that

Page 465 - Manual Connection

viIOP (Physical I/O to Disk)...1-24IOT (I/O Configure)...

Page 466 - Terminal Connection

1-36 Computer Group Literature Center Web SiteGeneral Information1The LM/SIG register is assigned the following bit definitions: The VME host board ca

Page 467 - CPPCBug Messages

Data and Address Sizeshttp://www.motorola.com/computer/literature 1-371Data and Address SizesData and address sizes are defined as follows:A byte is e

Page 468 - Error Messages

1-38 Computer Group Literature Center Web SiteGeneral Information1

Page 469 - Other Messages

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

Page 470

2-2 Computer Group Literature Center Web SiteUsing the Debugger2Command ArgumentsThe following arguments are common to many of the commands. Additiona

Page 471 - DS-Record Format

Entering Commandshttp://www.motorola.com/computer/literature 2-32Numeric values may be expressed in either hexadecimal, decimal, octal, or binary by i

Page 472 - S-Record Types

2-4 Computer Group Literature Center Web SiteUsing the Debugger2The total value of the expression must be between 0 and $FFFFFFFF.ADDRThe syntax for t

Page 473 - Creating S-Records

Entering Commandshttp://www.motorola.com/computer/literature 2-52If the address range specified as ADDR ADDR, with a size option of either H (half-wor

Page 474 - S804040000F7

2-6 Computer Group Literature Center Web SiteUsing the Debugger2PORTThe PORT argument is the logical number of the port to be used to input or output.

Page 475

Entering and Debugging Programshttp://www.motorola.com/computer/literature 2-72You may use the following control characters for limited editing while

Page 476

viiSingle Precision Real...2-13Double Precision Real ...

Page 477 - EDisk and Tape Controllers

2-8 Computer Group Literature Center Web SiteUsing the Debugger2Another way is to download an object file from a host system. The program must be in S

Page 478

Preserving the Operating Environmenthttp://www.motorola.com/computer/literature 2-92Memory RequirementsThe debugger requires approximately 768KB (mayb

Page 479

2-10 Computer Group Literature Center Web SiteUsing the Debugger2These vectors may be taken over under a user’s application. However, prior to returni

Page 480 - Disk and Tape Controllers

Context Switchinghttp://www.motorola.com/computer/literature 2-112When the context switch transitions from the debugger state to the user state, the f

Page 481 - FDisk Status Codes

2-12 Computer Group Literature Center Web SiteUsing the Debugger2Note that on a restoration context switch, registers whose perspectives feature MMU c

Page 482 - ATAPI (CD-ROM Drives)

Floating Point Supporthttp://www.motorola.com/computer/literature 2-132❏ The exponent field is the second field and is a hexadecimal field.❏ The manti

Page 483 - SCSI Firmware Status Codes

2-14 Computer Group Literature Center Web SiteUsing the Debugger2Scientific NotationThe scientific notation format provides a convenient way to enter

Page 484

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

Page 485

3-2 Computer Group Literature Center Web SiteDebugger Commands3FORK Fork Idle MPU at Address (NOTE 2)FORKWR Fork Idle MPU with Registers (NOTE 2)GD Go

Page 486 - Disk Status Codes

Debugger Commandshttp://www.motorola.com/computer/literature 3-33NIOC Network I/O ControlNIOP Network I/O PhysicalNIOT Network I/O Teach (Configuratio

Page 487

viiiGT - Go to Temporary Breakpoint...3-80HE - Help...

Page 488

3-4 Computer Group Literature Center Web SiteDebugger Commands3Notes1. This command was added at revision 1.8 of PPCBug, dated 10/05/95.2. This comman

Page 489 - Connections with PPCBug

Debugger Commandshttp://www.motorola.com/computer/literature 3-53AS - One-Line AssemblerCommand InputAS ADDRDescriptionThe AS command provides access

Page 490 - M). If this value is invalid

3-6 Computer Group Literature Center Web SiteDebugger Commands3BC - Block of Memory CompareCommand InputBC RANGE ADDR [;B|H|W]OptionsDescriptionThe BC

Page 491 - HNetwork Communication Status

Debugger Commandshttp://www.motorola.com/computer/literature 3-73Example 2: Compare the memory, with nothing printed.PPC1-Bug>BC 20000:20 21000;B &

Page 492

3-8 Computer Group Literature Center Web SiteDebugger Commands3BF - Block of Memory FillCommand InputBF RANGE data [increment] [;B|H|W]ArgumentsOption

Page 493

Debugger Commandshttp://www.motorola.com/computer/literature 3-93If the upper address of the range is not on the correct boundary for an integer multi

Page 494

3-10 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>BF 20000,20006 12345678;W <Return>Effective address: 00020000Effecti

Page 495

Debugger Commandshttp://www.motorola.com/computer/literature 3-113BI - Block of Memory InitializeCommand InputBI RANGE [;B|H|W]OptionsDescriptionThe B

Page 496

3-12 Computer Group Literature Center Web SiteDebugger Commands3Example 2: For this example, assume system memory from $0 to $000FFFFF.PPC1-Bug>BI

Page 497

Debugger Commandshttp://www.motorola.com/computer/literature 3-133BM - Block of Memory MoveCommand InputBM RANGE ADDR [;B|H|W]OptionsDescriptionThe BM

Page 498

ixRD - Register Display...3-195REMOTE - Remote ...

Page 499

3-14 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>MD 20000:10;H <Return>00020000 5448 4953 2049 5320 4120 5445 5354 2

Page 500

Debugger Commandshttp://www.motorola.com/computer/literature 3-153PPC1-Bug>MD 20000 20014;DI <Return>00020000 3C401000 ADDIS R2,R0,$10

Page 501

3-16 Computer Group Literature Center Web SiteDebugger Commands3BR - Breakpoint InsertNOBR - Breakpoint DeleteCommand InputBR [ADDR[:COUNT]]NOBR [ADDR

Page 502

Debugger Commandshttp://www.motorola.com/computer/literature 3-173Example 2: Delete specified breakpoint.PPC1-Bug>NOBR 1E200 <Return>BREAKPOI

Page 503 - NAB 3-143

3-18 Computer Group Literature Center Web SiteDebugger Commands3BS - Block of Memory SearchCommand InputBS RANGE TEXT [;B|H|W]orBS RANGE data [mask] [

Page 504

Debugger Commandshttp://www.motorola.com/computer/literature 3-193Data SearchIn the Data Search mode, a data pattern (data) is matched against a range

Page 505

3-20 Computer Group Literature Center Web SiteDebugger Commands3to display. To resume output, you should simply press any character key. To cancel the

Page 506

Debugger Commandshttp://www.motorola.com/computer/literature 3-213Example 4: Mode 1, using RANGE with COUNT and size option: COUNT is displayed in dec

Page 507

3-22 Computer Group Literature Center Web SiteDebugger Commands3Example 8: Mode 2, using RANGE with COUNT, mask option, and size option: COUNT is disp

Page 508

Debugger Commandshttp://www.motorola.com/computer/literature 3-233BV - Block of Memory VerifyCommand InputBV RANGE data [increment] [;B|H|W]ArgumentsO

Commentaires sur ces manuels

Pas de commentaire