PPCBugFirmware PackageUser’s ManualPart 1 and 2PPCBUGA1/UM5 and PPCBUGA2/UM5February 2001 Edition
xInvoking the Assembler/Disassembler...4-11Entering a Source Line...
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-253PPC1-Bug>BV 20000:18 0 1;H <Return>Effective address: 00020000Effective cou
3-26 Computer Group Literature Center Web SiteDebugger Commands3CACHE - Cache ControlCommand InputCACHE;[D|E]OptionsD Disable instruction cachesE Enab
Debugger Commandshttp://www.motorola.com/computer/literature 3-273CM - Concurrent ModeNOCM - No Concurrent ModeCommand InputCM [[PORT] [ID-STRING] [BA
3-28 Computer Group Literature Center Web SiteDebugger Commands3OptionsDescriptionThe CM command activates a mode in which everything that appears on
Debugger Commandshttp://www.motorola.com/computer/literature 3-293This results in the default settings remaining intact:Example 3: Activate the concur
3-30 Computer Group Literature Center Web SiteDebugger Commands3This results in the following changes:Example 5: Activate the concurrent mode, with er
Debugger Commandshttp://www.motorola.com/computer/literature 3-313CNFG - Configure Board Information BlockCommand InputCNFG [;[I] [M]]OptionsDescripti
3-32 Computer Group Literature Center Web SiteDebugger Commands3You may also enter a special character, either at the prompt or after typing new data,
Debugger Commandshttp://www.motorola.com/computer/literature 3-333ExamplesExample 1: Shown below is a sample of a valid board information block: PPC1-
xi.RTC_DT ...5-57.RTC_DSP ...
3-34 Computer Group Literature Center Web SiteDebugger Commands3Example 3: Modify the Board Information Block.PPC1-Bug>CNFG;M <Return>WARNING
Debugger Commandshttp://www.motorola.com/computer/literature 3-353CS - ChecksumCommand InputCS RANGE [;B|H|W]OptionsDescriptionThe CS command calculat
3-36 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Default size is word.PPC1-Bug>CS 1000 2000 <Return>Effecti
Debugger Commandshttp://www.motorola.com/computer/literature 3-373CSAR - PCI Configuration Space READ AccessCommand InputCSAR busnum devnum function a
3-38 Computer Group Literature Center Web SiteDebugger Commands3CSAW - PCI Configuration Space WRITE AccessCommand InputCSAW busnum devnum function ad
Debugger Commandshttp://www.motorola.com/computer/literature 3-393DC - Data ConversionCommand InputDC EXP | ADDR [;[B] [O] [A]]OptionsDescriptionThe D
3-40 Computer Group Literature Center Web SiteDebugger Commands3Example 4:PPC1-Bug>DC (2*3*8)/4 <Return> 0000000C = $C = &12PPC1
Debugger Commandshttp://www.motorola.com/computer/literature 3-413Example 10: For this example, assume R2=00030000 and the following data resides in m
3-42 Computer Group Literature Center Web SiteDebugger Commands3DMA - Block of Memory MoveNote This command works on boards with a VME2 bridge only.Co
Debugger Commandshttp://www.motorola.com/computer/literature 3-433OptionsDescriptionThe DMA command moves blocks of data from the local bus to the VME
xiiInitiate Service Call... B-2Display System Test Errors ...
3-44 Computer Group Literature Center Web SiteDebugger Commands3When the command is given on a non-VMEbus board, the following message is shown: This
Debugger Commandshttp://www.motorola.com/computer/literature 3-453The destination for the memory transfer is back to local memory on the board beginni
3-46 Computer Group Literature Center Web SiteDebugger Commands300000150 00000150 00000154 00000158 0000015C ...P...T...X...\00000160 00000160 0000
Debugger Commandshttp://www.motorola.com/computer/literature 3-473001000C0 00000004 00FFF88F 00000005 00FFFF2F .../001000D0 00000009 00
3-48 Computer Group Literature Center Web SiteDebugger Commands3Transfer the 64 bytes from the beginning of VMEbus memory to location $2000 in local m
Debugger Commandshttp://www.motorola.com/computer/literature 3-493DS - One-Line DisassemblerCommand InputDS ADDR [:COUNT | ADDR]DescriptionThe DS comm
3-50 Computer Group Literature Center Web SiteDebugger Commands3DU - Dump S-RecordsCommand InputDU [PORT] RANGE [TEXT] [ADDR] [OFFSET] [;B|H|W]Descrip
Debugger Commandshttp://www.motorola.com/computer/literature 3-513ExamplesExample 1: Dump memory from $20000 to $2002F to port 1.PPC1-Bug>DU ,,2000
3-52 Computer Group Literature Center Web SiteDebugger Commands3ECHO - Echo StringCommand InputECHO [PORT] {hexadecimal number} {’string’}DescriptionT
Debugger Commandshttp://www.motorola.com/computer/literature 3-533Example 4: This example handles a string with quotes.PPC1-Bug>ECHO ,, ’This is &q
xiiiAPPENDIX G Establishing Network Connections with PPCBugAPPENDIX H Network Communication Status Codes
3-54 Computer Group Literature Center Web SiteDebugger Commands3ENV - Set EnvironmentCommand InputENV [;[D]] DescriptionThe ENV command allows you to
Debugger Commandshttp://www.motorola.com/computer/literature 3-553You may also enter a special character, either at the prompt or after typing new dat
3-56 Computer Group Literature Center Web SiteDebugger Commands34. Determine the necessary VMEbus slave image control. The value used for slave image
Debugger Commandshttp://www.motorola.com/computer/literature 3-573To enable the selected VME Slave Image Map Decoder, OR the following value with thos
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-593FORK - Fork Idle MPU at AddressNote This command is for multi-processor boards only.
3-60 Computer Group Literature Center Web SiteDebugger Commands3FORKWR - Fork Idle MPU with RegistersNote This command is for multi-processor boards o
Debugger Commandshttp://www.motorola.com/computer/literature 3-613GD - Go Direct (Ignore Breakpoints)Command InputGD [ADDR]DescriptionThe GD command s
3-62 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>BR 20028 <Return>BREAKPOINTS00020028PPC1-Bug>Initialize R7 and st
Debugger Commandshttp://www.motorola.com/computer/literature 3-633GEVBOOT - Global Environment Variable BootCommand InputGEVBOOT Variable-NameDescript
3-64 Computer Group Literature Center Web SiteDebugger Commands3RequirementsSome high-level requirements that this release meets are:❏ Residual Data a
Debugger Commandshttp://www.motorola.com/computer/literature 3-653❏ fw-boot-pathThis variable contains a list (four maximum) of boot devices which can
3-66 Computer Group Literature Center Web SiteDebugger Commands3Styles of BootingThe older Motorola mode of mass storage device booting was also prese
Debugger Commandshttp://www.motorola.com/computer/literature 3-673The default state of the ENV configuration parameter is set to ’Y’ for yes/enabled.
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-693GEVDEL - Global Environment Variable DeleteCommand InputGEVDEL Variable-NameDescript
3-70 Computer Group Literature Center Web SiteDebugger Commands3GEVDUMP - Global Environment Variable(s) DumpCommand InputGEVDUMPDescriptionThe GEVDUM
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
3-72 Computer Group Literature Center Web SiteDebugger Commands3GEVEDIT - Global Environment Variable EditCommand InputGEVEDIT Variable-NameDescriptio
Debugger Commandshttp://www.motorola.com/computer/literature 3-733GEVINIT - Global Environment Variable InitializationCommand InputGEVINITDescriptionT
xvList of FiguresFigure 1-1. Network Boot Modules ...1-29Figure 3-1. Boot Record
3-74 Computer Group Literature Center Web SiteDebugger Commands3GEVSHOW - Global Environment Variable(s) DisplayCommand InputGEVSHOW [string]Descripti
Debugger Commandshttp://www.motorola.com/computer/literature 3-753GN - Go to Next InstructionCommand InputGNCommand InputThe GN command sets a tempora
3-76 Computer Group Literature Center Web SiteDebugger Commands3Execute up to the BL instruction.PPC1-Bug>RM IP <Return>IP =00020020 ? 20
Debugger Commandshttp://www.motorola.com/computer/literature 3-773G, GO - Go Execute User ProgramCommand InputG [ADDR], GO [ADDR]DescriptionThe G and
3-78 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>DS 30000 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B0
Debugger Commandshttp://www.motorola.com/computer/literature 3-793Continue target program execution.PPC1-Bug>G <Return>Effective address: 000
3-80 Computer Group Literature Center Web SiteDebugger Commands3GT - Go to Temporary BreakpointCommand InputGT ADDRCommand InputThe GT command sets a
Debugger Commandshttp://www.motorola.com/computer/literature 3-813PPC1-Bug>DS 30000:8 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004
3-82 Computer Group Literature Center Web SiteDebugger Commands3Set another temporary breakpoint at $20000 and continue the target program execution.P
Debugger Commandshttp://www.motorola.com/computer/literature 3-833HE - HelpCommand InputHE [COMMAND]DescriptionThe HE command displays information abo
3-84 Computer Group Literature Center Web SiteDebugger Commands3ENV Set Environment to Bug/Operating SystemFORK Fork Idle MPU at AddressFORKWR
Debugger Commandshttp://www.motorola.com/computer/literature 3-853NOBR Breakpoint DeleteNOCM No Concurrent ModeNOMA Macro DeleteNOMAL D
3-86 Computer Group Literature Center Web SiteDebugger Commands3IBM - Indirect Block MoveCommand InputIBM <ADDR>[<RANGE>];<D|E|I|N|P>
Debugger Commandshttp://www.motorola.com/computer/literature 3-873ExamplePPC4-Bug>ibm 200000;iDevice Address =$A0 (N/Y)? ySource = I2C SROM (A0:0)
3-88 Computer Group Literature Center Web SiteDebugger Commands3IDLE - Idle Master MPUNote This command is for multi-processor boards only.Command Inp
Debugger Commandshttp://www.motorola.com/computer/literature 3-893IOC - I/O Control for DiskCommand InputIOCDescriptionThe IOC command sends command p
3-90 Computer Group Literature Center Web SiteDebugger Commands3You may also enter a special character, either at the prompt or after typing new data,
Debugger Commandshttp://www.motorola.com/computer/literature 3-913ExampleSend the packet at $10000 to a controller device configured as CLUN #0. Speci
3-92 Computer Group Literature Center Web SiteDebugger Commands3IOI - I/O InquiryCommand InputIOI [;[C|D|L|N]]OptionsDescriptionThe IOI command inquir
Debugger Commandshttp://www.motorola.com/computer/literature 3-933where: mm = the CLUN number andwhile: nn = the DLUN numberThe CLUN/DLUN numbers are
xviiList of TablesTable 1-1. LED/Serial Startup Diagnostic Codes ...1-8Table 1-2. MPCR Method Remot
3-94 Computer Group Literature Center Web SiteDebugger Commands3Note that if the board has a secondary SCSI, and both primary and secondary SCSI contr
Debugger Commandshttp://www.motorola.com/computer/literature 3-953IOP - I/O Physical (Direct Disk Access)Command InputIOP DescriptionThe IOP command a
3-96 Computer Group Literature Center Web SiteDebugger Commands3descriptor table with the pertinent data. After an entry has been made, the next time
Debugger Commandshttp://www.motorola.com/computer/literature 3-973Starting Block =00000000?The starting disk block number to access. For disk read ope
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-993ExamplesExample 1: Read 25 blocks starting at block 370 from device 2 of controller
3-100 Computer Group Literature Center Web SiteDebugger Commands3Example 4: Format the specified device with the option to ignore the grown defect lis
Debugger Commandshttp://www.motorola.com/computer/literature 3-1013IOT - I/O Configure Disk ControllerCommand InputIOT [;[A|F|H|T]] OptionsDescription
3-102 Computer Group Literature Center Web SiteDebugger Commands3A device probe with entry into the device descriptor table is done whenever a specifi
Debugger Commandshttp://www.motorola.com/computer/literature 3-1033Device LUN =00?The Device LUNIf the Controller LUN and Device LUN selecte
xviii
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-1053Interleave Factor =00?The manner in which the sectors are formatted on a track.
3-106 Computer Group Literature Center Web SiteDebugger Commands3Single/Double DATA Density =D (S/D)?Single/Double TRACK Density =D (S/D)?The density
Debugger Commandshttp://www.motorola.com/computer/literature 3-1073Gap 1 =07?The number of words of zeros that are written before the
3-108 Computer Group Literature Center Web SiteDebugger Commands3Sectors/track =0010? <Return>Number of heads =02? <Return>Num
Debugger Commandshttp://www.motorola.com/computer/literature 3-1093IRD, IRM, IRS - Idle MPU Register Display/Modify/SetNote These commands are for mul
3-110 Computer Group Literature Center Web SiteDebugger Commands3LO - Load S-Records from HostCommand InputLO [PORT] [ADDR] [;[X] [C] [T]] [=text]Argu
Debugger Commandshttp://www.motorola.com/computer/literature 3-1113DescriptionThe LO command downloads Motorola S-record files from a host system to t
3-112 Computer Group Literature Center Web SiteDebugger Commands3If a non-hexadecimal character is encountered within the data field of a data record,
Debugger Commandshttp://www.motorola.com/computer/literature 3-1133 .align 2 .globl test[ds] .csect test[ds] .long .t
xixAbout This ManualThe PPCBug Firmware Package User’s Manual provides information on the PPCBug firmware, the start-up and boot routines, the debugge
3-114 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>LO ,,-65000000 ;X=cat test.mx <Return>cat test.mxS325650400007C8402
Debugger Commandshttp://www.motorola.com/computer/literature 3-1153MA - Macro Define/DisplayNOMA - Macro DeleteCommand InputMA [NAME|;L]NOMA [NAME]Des
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-1173Example 3: List all currently defined macros.PPC1-Bug>MA <Return>MACRO ABC
3-118 Computer Group Literature Center Web SiteDebugger Commands3MAE - Macro EditCommand InputMAE NAME LINE # [STRING]ArgumentsDescriptionThe MAE comm
Debugger Commandshttp://www.motorola.com/computer/literature 3-1193ExamplesExample 1: Add a line to macro ABC. List definition of macro ABC. PPC1-Bug&
3-120 Computer Group Literature Center Web SiteDebugger Commands3MAL - Enable Macro ListingNOMAL - Disable Macro ListingCommand InputMALNOMALDescripti
Debugger Commandshttp://www.motorola.com/computer/literature 3-1213MAR - Load MacrosCommand InputMAR [controllerLUN] [[deviceLUN] [block#]]ArgumentsDe
3-122 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug> MAR 0,2,3 <Return>PPC1-Bug>List macros.PPC1-Bug> MA <Retu
Debugger Commandshttp://www.motorola.com/computer/literature 3-1233MAW - Save MacrosCommand InputMAW [controllerLUN] [[deviceLUN] [block#]] ArgumentsD
© Copyright 2001 Motorola, Inc.All rights reserved.Printed in the United States of America.Motorola® and the Motorola symbol are registered trademarks
xxSummary of ChangesThis is the fifth edition of the PPCbug Firmware Package User’s Manual. It supersedes the fourth edition (UM4) and incorporates th
3-124 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug> MAR 0,2,3 <Return>PPC1-Bug>List macros.PPC1-Bug> MAMACRO ABC
Debugger Commandshttp://www.motorola.com/computer/literature 3-1253MD, MDS - Memory DisplayCommand InputMD ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI] ]MDS
3-126 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1:PPC1-Bug>MD 22000;H <Return>00022000 2800 1942 2900 1942
Debugger Commandshttp://www.motorola.com/computer/literature 3-1273Example 5:PPC1-Bug>MD 10000;S <Return>00020000 0_A4_194155= 1.645565214720
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-1293MENU - System MenuCommand InputMENU DescriptionThe MENU command displays the System
3-130 Computer Group Literature Center Web SiteDebugger Commands3M, MM - Memory ModifyCommand InputM ADDR [;[[B|H|W|S|D] [A] [N]]|[DI] ], MM ADDR [;[[
Debugger Commandshttp://www.motorola.com/computer/literature 3-1313The command reads the memory and verifies that the new contents match what was writ
3-132 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Access location $20000, modify memory, modify and backup, and modi
Debugger Commandshttp://www.motorola.com/computer/literature 3-1333Example 5: Step to next location and exit MM.PPC1-Bug>MM 40000;DI <Return>
xxiprocess, an explanation of the ROMboot process, an explanation of the network auto boot process, an explanation on restarting the system, a descrip
3-134 Computer Group Literature Center Web SiteDebugger Commands3MMD - Memory Map DiagnosticCommand InputMMD RANGE INCREMENT [;B|H|W]OptionsDescriptio
Debugger Commandshttp://www.motorola.com/computer/literature 3-1353Example 2: Look for any memory between $10000000 and $FFFFFFFF with an increment of
3-136 Computer Group Literature Center Web SiteDebugger Commands3MMGR - Memory ManagerCommand SynopsisMMGR D [flag]Q [ S [addr] | F | A ]A size [alig
Debugger Commandshttp://www.motorola.com/computer/literature 3-13738 More detailed commentary and displays some data from the start and end of each al
3-138 Computer Group Literature Center Web SiteDebugger Commands3dependent so each must be provided up to the last one desired. For this reason, zero
Debugger Commandshttp://www.motorola.com/computer/literature 3-1393Overhead Sys is the number of bytes required for system management,Overhead Block i
3-140 Computer Group Literature Center Web SiteDebugger Commands3MS - Memory SetCommand InputMS ADDR {Hexadecimal number} {’string’}ArgumentsDescripti
Debugger Commandshttp://www.motorola.com/computer/literature 3-1413MW - Memory WriteCommand InputMW ADDR DATA [;B|H|W]OptionsThe default data size is
3-142 Computer Group Literature Center Web SiteDebugger Commands3Example 3:PPC1-Bug>MW 1E002 33CC;H <Return>Effective address: 0001E002Effect
Debugger Commandshttp://www.motorola.com/computer/literature 3-1433NAB - Network Auto BootCommand InputNABDescriptionThe NAB command re-invokes the ne
xxiiAppendix G, Establishing Network Connections with PPCBug, describes a procedure that can be used to establish a network connection using standard
3-144 Computer Group Literature Center Web SiteDebugger Commands3NAP - NAP MPUNote This command is for multi-processor boards only.Command InputNAP MP
Debugger Commandshttp://www.motorola.com/computer/literature 3-1453NBH - Network Boot Operating System, HaltCommand InputNBH [ControllerLUN] [DeviceLU
3-146 Computer Group Literature Center Web SiteDebugger Commands3The device and controller configuration parameters used when NBH is initiated can be
Debugger Commandshttp://www.motorola.com/computer/literature 3-1473NBO - Network Boot Operating SystemCommand InputNBO [ControllerLUN] [DeviceLUN] [Cl
3-148 Computer Group Literature Center Web SiteDebugger Commands3protocols. You may skip the BOOTP phase (address determination and bootfile selection
Debugger Commandshttp://www.motorola.com/computer/literature 3-1493Invoke the NIOT command with the H option to see which LUNs are available. Refer to
3-150 Computer Group Literature Center Web SiteDebugger Commands3ExamplesExample 1: Boot from controller LUN 0, device LUN 0, with default client addr
Debugger Commandshttp://www.motorola.com/computer/literature 3-1513NIOC - Network I/O ControlCommand InputNIOC DescriptionThe NIOC command sends comma
3-152 Computer Group Literature Center Web SiteDebugger Commands3Whenever an error occurs, the initiated I/O control process is terminated and the app
Debugger Commandshttp://www.motorola.com/computer/literature 3-1533ExamplesExample 1: Initialize (type 0) the device/channel/node.PPC1-Bug>NIOC <
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
3-154 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>MD E000:&21 <Return>0000E000 FFFF FFFF FFFF 0800 3E21 0FCC 0806
Debugger Commandshttp://www.motorola.com/computer/literature 3-1553View the address data retrieval.PPC1-Bug>MD E000:222;B <Return>0000E000 FF
3-156 Computer Group Literature Center Web SiteDebugger Commands3This entry point is useful when the interface has not been accessed for some time and
Debugger Commandshttp://www.motorola.com/computer/literature 3-1573NIOP - Network I/O PhysicalCommand InputNIOPDescriptionThe NIOP command allows you
3-158 Computer Group Literature Center Web SiteDebugger Commands3The NIOP command utilizes the necessary configuration parameters to perform the TFTP
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
3-160 Computer Group Literature Center Web SiteDebugger Commands3a desired length by specifying the desired length (non-zero). The byte offset field c
Debugger Commandshttp://www.motorola.com/computer/literature 3-1613NIOT - Network I/O Teach (Configuration)Command InputNIOT [;[A|H|D]] OptionsDescrip
3-162 Computer Group Literature Center Web SiteDebugger Commands3Each mass storage boot device and network interface boot device is identified by a de
Debugger Commandshttp://www.motorola.com/computer/literature 3-1633As of version 1.8 of PPC1Bug, the node control memory address is dynamically calcul
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
3-164 Computer Group Literature Center Web SiteDebugger Commands3Boot File Name (“NULL” for None) =?The name of the boot file to load. Once the
Debugger Commandshttp://www.motorola.com/computer/literature 3-1653Trace Character Buffer Address=00000000?The starting address of memory in which to
3-166 Computer Group Literature Center Web SiteDebugger Commands3BOOTP/RARP Request Control: Always/When-Needed (A/W) =WBOOTP/RARP Reply Update Contr
Debugger Commandshttp://www.motorola.com/computer/literature 3-1673Example 2: Display the network controllers/nodes that are present in the system.PPC
3-168 Computer Group Literature Center Web SiteDebugger Commands3NPING - Network PingCommand InputNPING ControllerLUN DeviceLUN SourceIP DestinationIP
Debugger Commandshttp://www.motorola.com/computer/literature 3-1693If the number of packets is not specified on the command line, the command will ind
3-170 Computer Group Literature Center Web SiteDebugger Commands3OF - Offset Registers Display/ModifyCommand InputOF [Zn[;A] ]DescriptionThe OF comman
Debugger Commandshttp://www.motorola.com/computer/literature 3-1713[base_address [: byte_count] ]The top_address must equal or exceed the base_address
3-172 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>OF <Return>Z0 =00000000 00000000 Z1 = 00000000 00000000Z2 =0000000
Debugger Commandshttp://www.motorola.com/computer/literature 3-1733PA - Printer AttachNOPA - Printer DetachCommand InputPA [PORT]NOPA [PORT]Descriptio
1-111General InformationPPCBug OverviewPPCBug is a powerful evaluation and debugging tool for systems built around the Motorola PowerPC microprocessor
3-174 Computer Group Literature Center Web SiteDebugger Commands3Example 3: Detach device at logical unit $02.PPC1-Bug>NOPA 2 <Return>Printer
Debugger Commandshttp://www.motorola.com/computer/literature 3-1753PBOOT - Bootstrap Operating SystemCommand InputPBOOT ; APBOOT ; VPBOOT CLUN DLUN PA
3-176 Computer Group Literature Center Web SiteDebugger Commands3DescriptionThe PBOOT command loads an operating system or control program from a mass
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
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-1793PC Compatibility Block0Entry Point Offset (LE)512Load Image Length (LE)516Flag Fiel
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-1813PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTY
3-182 Computer Group Literature Center Web SiteDebugger Commands3Example 3: This example demonstrates a boot from a direct-access device (i.e., hard d
Debugger Commandshttp://www.motorola.com/computer/literature 3-1833PF - Port FormatNOPF - Port DetachCommand InputPF [PORT]NOPF [PORT]DescriptionThe P
1-2 Computer Group Literature Center Web SiteGeneral Information1Because PPCBug is command-driven, it performs its various operations in response to u
3-184 Computer Group Literature Center Web SiteDebugger Commands3Any changes will remain in effect until a reset operation occurs, or another PF execu
Debugger Commandshttp://www.motorola.com/computer/literature 3-1853Note If a number base is not specified, the default is decimal, not hexadecimal.Eve
3-186 Computer Group Literature Center Web SiteDebugger Commands3The device driver. Press the Return key to see a list the currently supported PowerPC
Debugger Commandshttp://www.motorola.com/computer/literature 3-1873ExamplePPC1-Bug>PF 10 <Return>Logical unit $10 unassignedName of board? &l
3-188 Computer Group Literature Center Web SiteDebugger Commands3PFLASH - Program FLASH MemoryCommand InputPFLASH SSADDR SEADDR DSADDR [IEADDR][;[A|R]
Debugger Commandshttp://www.motorola.com/computer/literature 3-1893DescriptionThe PFLASH command loads an application or program into Flash memory. Th
3-190 Computer Group Literature Center Web SiteDebugger Commands3If the Flash memory driver was not downloaded, one or more of the following messages
Debugger Commandshttp://www.motorola.com/computer/literature 3-1913Program FLASH Memory (Y/N)? Y <Return>The reset option R was utilized to rest
3-192 Computer Group Literature Center Web SiteDebugger Commands3PS - Put RTC into Power Save ModeCommand InputPS DescriptionThe PS command turns off
Debugger Commandshttp://www.motorola.com/computer/literature 3-1933RB - ROMboot EnableNORB - ROMboot DisableCommand InputRB[;V]NORB DescriptionThe RB
Memory Requirementshttp://www.motorola.com/computer/literature 1-31Memory RequirementsThe debugger requires approximately 768KB of read/write memory (
3-194 Computer Group Literature Center Web SiteDebugger Commands3Example 3: PPC1-Bug> NORB <Return>ROM boot disabledPPC1-Bug>
Debugger Commandshttp://www.motorola.com/computer/literature 3-1953RD - Register DisplayCommand InputRD [{[+|-|=] [DNAME] [/]}{[+|-|=] [REG1[-REG2]] [
3-196 Computer Group Literature Center Web SiteDebugger Commands3Note the following when specifying any arguments in the command line:❏ The +, -, or =
Debugger Commandshttp://www.motorola.com/computer/literature 3-1973ExamplesExample 1: Default display - MPU subset (also called out by DEF):PPC1-Bug&g
3-198 Computer Group Literature Center Web SiteDebugger Commands3FR6 =0_000_0000000000000= 0.0000000000000000_E+0000FR7 =0_000_0000000000000= 0.
Debugger Commandshttp://www.motorola.com/computer/literature 3-1993Example 3: Add only FR0 and FR1 to the original default display.PPC1-Bug>RD FR0/
3-200 Computer Group Literature Center Web SiteDebugger Commands3Example 6: Restore the display to the original set.PPC1-Bug>RD =DEF <Return>
Debugger Commandshttp://www.motorola.com/computer/literature 3-2013REMOTE - RemoteCommand InputREMOTEDescriptionThe REMOTE command initiates a service
3-202 Computer Group Literature Center Web SiteDebugger Commands3RESET - Cold/Warm ResetCommand InputRESETDescriptionThe RESET command allows you to s
Debugger Commandshttp://www.motorola.com/computer/literature 3-2033MPU Clock Speed =xxMhz BUS Clock Speed =xxMhzPPC1-Bug>
1-4 Computer Group Literature Center Web SiteGeneral Information1Start-upAt either power-up or system reset, PPCBug performs the MPU, hardware, and fi
3-204 Computer Group Literature Center Web SiteDebugger Commands3RL - Read LoopCommand InputRL ADDR[;B|H|W]OptionsDescriptionThe RL command establishe
Debugger Commandshttp://www.motorola.com/computer/literature 3-2053RM - Register ModifyCommand InputRM [REG]DescriptionThe RM command allows you to di
3-206 Computer Group Literature Center Web SiteDebugger Commands3Example 2: Modify register FR0 and view the results.PPC1-Bug>RM FR0 <Return>
Debugger Commandshttp://www.motorola.com/computer/literature 3-2073SPR20 =FFEC0000? <Return>SPR21 =FFEC0000? <Return>SPR22 =16A30500? &
3-208 Computer Group Literature Center Web SiteDebugger Commands3RS - Register SetCommand InputRS REG [EXP|ADDR]DescriptionThe RS command allows you t
Debugger Commandshttp://www.motorola.com/computer/literature 3-2093PPC1-Bug>RS FR0 <Return>FR0 =0_44D_09F7E57C92CC4= 3.1399999999999997_E+
3-210 Computer Group Literature Center Web SiteDebugger Commands3RUN - MPU Execution/StatusNote This command is for multi-processor boards only.Comman
Debugger Commandshttp://www.motorola.com/computer/literature 3-2113Descriptions of all possible states:Note The debugger only permits one processor to
3-212 Computer Group Literature Center Web SiteDebugger Commands3SD - Switch DirectoriesCommand InputSDDescriptionThe SD command allows you to switch
Debugger Commandshttp://www.motorola.com/computer/literature 3-2133SET - Set Time and DateCommand InputSET mmddyyhhmmDescriptionThe SET command starts
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
3-214 Computer Group Literature Center Web SiteDebugger Commands3SROM - SROM Examine/ModifyCommand InputSROM [offset][;E|D|I]Options:E Ethernet (Defau
Debugger Commandshttp://www.motorola.com/computer/literature 3-2153!CautionThe network SROM is programmed at the factory to reflect specific board con
3-216 Computer Group Literature Center Web SiteDebugger Commands3Example 2: Assume the proper Ethernet address was 08003E263157 instead of 08003E25315
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
3-218 Computer Group Literature Center Web SiteDebugger Commands3SYM - Symbol Table AttachNOSYM - Symbol Table DetachCommand InputSYM [ADDR]NOSYMDescr
Debugger Commandshttp://www.motorola.com/computer/literature 3-2193The format of the symbol table is shown below:Upon execution of the command, the de
3-220 Computer Group Literature Center Web SiteDebugger Commands3Example 4:PPC1-Bug>MD _LDCHAR+4 <Return>_ldchar+$0004 04050607 08090A0B 0C0
Debugger Commandshttp://www.motorola.com/computer/literature 3-2213SYMS - Symbol Table Display/SearchCommand InputSYMS [symbol-name]|[;S]DescriptionTh
3-222 Computer Group Literature Center Web SiteDebugger Commands3Example 4: Display the attached symbol table in ascending ASCII order.PPC1-Bug>SYM
Debugger Commandshttp://www.motorola.com/computer/literature 3-2233T - TraceCommand InputT [COUNT]DescriptionThe T command executes one instruction at
Safety SummaryThe following general safety precautions must be observed during all phases of operation, service, and repair of thisequipment. Failure
1-6 Computer Group Literature Center Web SiteGeneral Information115. Initialize read/write memory controller with the speed of read/write memory.16. R
3-224 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>RM IP <Return>IP =0000E000 ? 30000.<Return>PPC1-Bug>PPC1
Debugger Commandshttp://www.motorola.com/computer/literature 3-2253Trace next instruction:PPC1-Bug> <Return>IP =00030008 MSR =00003030
3-226 Computer Group Literature Center Web SiteDebugger Commands3Trace the next instruction:PPC1-Bug>T <Return>At BreakpointIP =00030014
Debugger Commandshttp://www.motorola.com/computer/literature 3-2273TA - Terminal AttachCommand InputTA [PORT]DescriptionThe TA command assigns a seria
3-228 Computer Group Literature Center Web SiteDebugger Commands3TIME - Display Time and DateCommand InputTIME [;L]DescriptionThe TIME command display
Debugger Commandshttp://www.motorola.com/computer/literature 3-2293TM - Transparent ModeCommand InputTM [PORT] [ESCAPE]DescriptionThe TM command conne
3-230 Computer Group Literature Center Web SiteDebugger Commands3TM without any arguments displays the current escape character, which you must enter
Debugger Commandshttp://www.motorola.com/computer/literature 3-2313TT - Trace to Temporary BreakpointCommand InputTT ADDRDescriptionThe TT command set
3-232 Computer Group Literature Center Web SiteDebugger Commands3Initialize IP and R3, R4:PPC1-Bug>RM IP <Return>IP =0000E000 ? 30000.<R
Debugger Commandshttp://www.motorola.com/computer/literature 3-2333R4 =00000100 R5 =00000000 R6 =00000000 R7 =00000000R8 =00000000
Start-uphttp://www.motorola.com/computer/literature 1-7132. Display the BUS clock speed. Verify that the BUS clock speed matches the configuration dat
3-234 Computer Group Literature Center Web SiteDebugger Commands3VE - Verify S-Records Against MemoryCommand InputVE [PORT] [ADDR] [;[X] [C]] [=text]O
Debugger Commandshttp://www.motorola.com/computer/literature 3-2353following the equals sign, and terminate with the carriage return. If the host is o
3-236 Computer Group Literature Center Web SiteDebugger Commands3 .file “test.s”## retrieve contents of the RTC registers# .tocT.FD:
Debugger Commandshttp://www.motorola.com/computer/literature 3-2373PPC1-Bug>MD 40000:5;DI <Return>00040000 7C8402A6 MFSPR R4,400040004
3-238 Computer Group Literature Center Web SiteDebugger Commands3VER - Revision/Version DisplayCommand InputVER [;E]DescriptionThe VER command display
Debugger Commandshttp://www.motorola.com/computer/literature 3-2393PCI Function 00/0B/2 (00005A00) ID/Revision...=30381106/02PCI Function 00/0B/
3-240 Computer Group Literature Center Web SiteDebugger Commands3PCI Function 00/0B/0 (0005800) ID/Revision...=05861106/33Class:Bridge Device S
Debugger Commandshttp://www.motorola.com/computer/literature 3-2413PCI Function 00/14/0 (0000A000) ID/Revision...=00261011/01Class: Bridge Devi
3-242 Computer Group Literature Center Web SiteDebugger Commands3WL - Write LoopCommand InputWL ADDR:DATA[;B|H|W]OptionsDescriptionThe WL command esta
4-144One-Line Assembler/DisassemblerIntroductionThe PPCBug one-line assembler is an interactive assembler/editor in which the source program is not sa
1-8 Computer Group Literature Center Web SiteGeneral Information1The operating system boot sequence begins at 0x11E0 with the creation of residual dat
4-2 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Machine-Instruction Operation CodesRefer to PowerPC 603 RISC Microproces
Source Program Codinghttp://www.motorola.com/computer/literature 4-34❏ No conditional assembly is used.❏ Several symbols recognized by the resident as
4-4 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4❏ Define Constant directive -- WORD is recognized to define a constant i
Source Program Codinghttp://www.motorola.com/computer/literature 4-54Numbers are recognized as binary, octal, decimal, and hexadecimal, with hexadecim
4-6 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4InstructionsThe following is a list of the instruction fields and their
Source Program Codinghttp://www.motorola.com/computer/literature 4-74The assembly/disassembly format of the instruction mnemonics and operands follow
4-8 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Addressing ModesEffective address modes, combined with operation codes,
Source Program Codinghttp://www.motorola.com/computer/literature 4-94The order of evaluation is strictly left to right with no precedence granted to s
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
Entering and Modifying Source Programshttp://www.motorola.com/computer/literature 4-114This is assembled as:ADDI R10,R0,$XXXXSCWhere $XXXX is the 16-b
Start-uphttp://www.motorola.com/computer/literature 1-91111A Waiting for hardware to initialize memory111C Setting up the DRAM init parameters111E Ini
4-12 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4instruction or a WORD directive. If the disassembler recognizes a valid
Entering and Modifying Source Programshttp://www.motorola.com/computer/literature 4-134Entering Branch OperandsIn the case of forward branches, the ab
4-14 Computer Group Literature Center Web SiteOne-Line Assembler/ Disassembler4Assembler Error MessagesThe following is a list of the assembler error
5-155System CallsIntroductionThis chapter describes the PPCBug System Call handler, which allows system calls from user programs. The system calls can
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
System Call Routineshttp://www.motorola.com/computer/literature 5-35$0011 .DSKWR Disk write$0012 .DSKCFIG Disk configure$0014 .DSKFMT Disk format$0015
5-4 Computer Group Literature Center Web SiteSystem Calls5$0064 .BINDEC Convert binary to Binary Coded Decimal (BCD)$0067 .CHANGEV Parse value$0068 .S
System Call Routineshttp://www.motorola.com/computer/literature 5-55.DELAY $0043 Timer delay function.DIAGFCN $0074 Diagnostic function(s).DIVU32 $006
5-6 Computer Group Literature Center Web SiteSystem Calls5.OUTSTR $0021 Output string (pointer/pointer format).PCRLF $0026 Output carriage return and
System Call Routineshttp://www.motorola.com/computer/literature 5-75.INCHR Name.INCHR - Input character routine Code $0000 Description.INCHR reads a c
1-10 Computer Group Literature Center Web SiteGeneral Information1114A Initializing RAVEN PCI space114C Initializing RAVEN time base registers114D Ini
5-8 Computer Group Literature Center Web SiteSystem Calls5.INSTAT Name.INSTAT - Input serial port status routineCode $0001Description.INSTAT is used t
System Call Routineshttp://www.motorola.com/computer/literature 5-95.INLN Name .INLN - Input line routine Code $0002 Description.INLN is used to read
5-10 Computer Group Literature Center Web SiteSystem Calls5.READSTR Name .READSTR - Read string into variable-length bufferCode $0003 Description.READ
System Call Routineshttp://www.motorola.com/computer/literature 5-115Note This routine allows the caller to dictate the maximum length of input to be
5-12 Computer Group Literature Center Web SiteSystem Calls5.READLN Name .READLN - Read line to fixed-length bufferCode$0004 Description.READLN is used
System Call Routineshttp://www.motorola.com/computer/literature 5-135.CHKBRK Name .CHKBRK - Check for breakCode $0005 Description.CHKBRK alters R03 ac
5-14 Computer Group Literature Center Web SiteSystem Calls5.DSKRD.DSKWR Name.DSKRD - Disk read routine .DSKWR - Disk write routine Codes$0010 $0011 De
System Call Routineshttp://www.motorola.com/computer/literature 5-155Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to us
5-16 Computer Group Literature Center Web SiteSystem Calls5Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry
System Call Routineshttp://www.motorola.com/computer/literature 5-175.DSKCFIG Name.DSKCFIG - disk configure routine Code$0012 DescriptionThis routine
Start-uphttp://www.motorola.com/computer/literature 1-1111188 Initializing disk I/O subsystem118A Initializing direction flags118C Initializing NVRAM
5-18 Computer Group Literature Center Web SiteSystem Calls5Field descriptions:Device Descriptor PacketThe Device Descriptor Packet is as follows:$0A 0
System Call Routineshttp://www.motorola.com/computer/literature 5-195Most of the fields in the Device Descriptor Packet are equivalent to the fields d
5-20 Computer Group Literature Center Web SiteSystem Calls5The Disk Packet Parameters are shown in the following table. The parameters that do not hav
System Call Routineshttp://www.motorola.com/computer/literature 5-215P_DNCYL $1A 2 IOSTRK Number of cylindersP_DPCYL $1C 2 IOSPCOM Precompensation cyl
5-22 Computer Group Literature Center Web SiteSystem Calls5Configuration Area Block CFGA FieldsAttribute Mask -- IOSATM and IOSEATMThe IOSATM field bi
System Call Routineshttp://www.motorola.com/computer/literature 5-235Parameter Mask -- IOSPRM and IOSEPRMThe IOSPRM and IOSEPRM bits are defined in th
5-24 Computer Group Literature Center Web SiteSystem Calls5Attribute Word -- IOSATW and IOSEATWIOSATW contains various flags that specify characterist
System Call Routineshttp://www.motorola.com/computer/literature 5-255Table 5-8. CFGA FieldsParameter DescriptionIOSREC Record (Block) size Number of
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
System Call Routineshttp://www.motorola.com/computer/literature 5-275.DSKFMT Name .DSKFMT - Disk format routine Code $0014 DescriptionThis routine all
1-12 Computer Group Literature Center Web SiteGeneral Information1Running the Diagnostics and DebuggerIn order to use the diagnostics, terminate the s
5-28 Computer Group Literature Center Web SiteSystem Calls5Entry Conditions R03: 32-bit address of command packet Memory AddressAddress of buffer in m
System Call Routineshttp://www.motorola.com/computer/literature 5-295Exit Conditions Different From Entry Status half-word of command packet is update
5-30 Computer Group Literature Center Web SiteSystem Calls5.DSKCTRL Name .DSKCTRL - Disk control routine Code $0015 DescriptionThis routine is used to
System Call Routineshttp://www.motorola.com/computer/literature 5-315Entry Conditions R03: 32-bit address of command packet Exit Conditions Different
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
System Call Routineshttp://www.motorola.com/computer/literature 5-335Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use
5-34 Computer Group Literature Center Web SiteSystem Calls5.NETCFIG Name .NETCFIG - Configure network parameters Code $001A DescriptionThis routine al
System Call Routineshttp://www.motorola.com/computer/literature 5-355The Network Configuration Parameters structure has the following format: Status W
5-36 Computer Group Literature Center Web SiteSystem Calls5Field descriptions: $18Boot File Byte OffsetMost Significant Word$1A Least Significant Word
System Call Routineshttp://www.motorola.com/computer/literature 5-375Subnet IP Address Mask The subnet IP address mask. This mask is used to determine
Auto Boothttp://www.motorola.com/computer/literature 1-131Refer to the PPCBug Diagnostics Manual for complete descriptions of the diagnostic routines
5-38 Computer Group Literature Center Web SiteSystem Calls5TFTP/ARP Request RetryThe number of retries that should be attempted prior to giving up. A
System Call Routineshttp://www.motorola.com/computer/literature 5-395, Unsupported ICMP type: ICMP echo request; ICMP echo replyBOOTP/RARP Request Con
5-40 Computer Group Literature Center Web SiteSystem Calls5.NETFOPN Name .NETFOPN - Open file for reading Code $001B DescriptionThis routine allows th
System Call Routineshttp://www.motorola.com/computer/literature 5-415Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use
5-42 Computer Group Literature Center Web SiteSystem Calls5.NETFRD Name .NETFRD - Retrieve specified file blocks Code $001CDescriptionThis routine all
System Call Routineshttp://www.motorola.com/computer/literature 5-435Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use
5-44 Computer Group Literature Center Web SiteSystem Calls5.NETCTRLName .NETCTRL - Implement special control routinesCode $001DDescriptionThis routi
System Call Routineshttp://www.motorola.com/computer/literature 5-455Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use
5-46 Computer Group Literature Center Web SiteSystem Calls5Status/Control Flags This parameter specifies control and status flags as needed by the ope
System Call Routineshttp://www.motorola.com/computer/literature 5-475.OUTCHR Name .OUTCHR - Output character routine Code $0020 DescriptionThis routin
1-14 Computer Group Literature Center Web SiteGeneral Information1ROMbootNote The PowerPlus architecture boards do not execute a configured boot routi
5-48 Computer Group Literature Center Web SiteSystem Calls5.OUTSTR.OUTLN Names.OUTSTR - Output string to default output port .OUTLN - Output string wi
System Call Routineshttp://www.motorola.com/computer/literature 5-495.WRITE.WRITELN Names.WRITE - Output string without a <CR> or <LF>.WRI
5-50 Computer Group Literature Center Web SiteSystem Calls5.PCRLF Name .PCRLF - Print a <CR><LF> sequenceCode $0026 Description.PCRLF send
System Call Routineshttp://www.motorola.com/computer/literature 5-515.ERASLN Name .ERASLN - Erase Line Code $0027 Description.ERASLN is used to erase
5-52 Computer Group Literature Center Web SiteSystem Calls5.WRITD.WRITDLN Names.WRITD - Output string with data.WRITDLN - Output string with data and
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
5-54 Computer Group Literature Center Web SiteSystem Calls5.SNDBRK Name.SNDBRK - Send breakCode$0029Description.SNDBRK is used to send a break to the
System Call Routineshttp://www.motorola.com/computer/literature 5-555.DELAY Name .DELAY - Timer delay routine Code $0043 Description.DELAY is used to
5-56 Computer Group Literature Center Web SiteSystem Calls5.RTC_TM Name .RTC_TM - Time initialization for RTC Code $0050Description.RTC_TM initializes
System Call Routineshttp://www.motorola.com/computer/literature 5-575.RTC_DT Name .RTC_DT - Date initialization Code $0051Description.RTC_DT initializ
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
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
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
5-60 Computer Group Literature Center Web SiteSystem Calls5.REDIR Name .REDIR - Redirect I/O routineCode $0060 Description.REDIR is used to select an
System Call Routineshttp://www.motorola.com/computer/literature 5-615.REDIR_I.REDIR_O Name.REDIR_I - Redirect input.REDIR_O - Redirect outputCodes$006
5-62 Computer Group Literature Center Web SiteSystem Calls5.RETURN Name .RETURN - Return to PPCBug Code $0063 Description.RETURN is used to return con
System Call Routineshttp://www.motorola.com/computer/literature 5-635.BINDEC Name .BINDEC - Calculate the Binary Coded Decimal (BCD) equivalent of the
5-64 Computer Group Literature Center Web SiteSystem Calls5.CHANGEV Name.CHANGEV - Parse value, assign to variableCode$0067DescriptionAttempt to parse
System Call Routineshttp://www.motorola.com/computer/literature 5-655.STRCMP Name.STRCMP - Compare two strings (pointer/count)Code$0068DescriptionComp
5-66 Computer Group Literature Center Web SiteSystem Calls5.MULU32 Name.MULU32 - Unsigned 32-bit x 32-bit multiplyCode$0069DescriptionTwo 32-bit unsig
System Call Routineshttp://www.motorola.com/computer/literature 5-675.DIVU32 Name.DIVU32 - Unsigned 32-bit x 32-bit divideCode$006ADescriptionUnsigned
NoticeWhile reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omission
1-16 Computer Group Literature Center Web SiteGeneral Information11. Search direct address for “BOOT”. The direct address points to an installed ROM
5-68 Computer Group Literature Center Web SiteSystem Calls5.CHK_SUM Name.CHK_SUM - Generate checksum for address rangeCode$006BDescriptionThis routine
System Call Routineshttp://www.motorola.com/computer/literature 5-695.BRD_ID Name.BRD_ID - Return pointer to board ID packetCode$0070DescriptionThis r
5-70 Computer Group Literature Center Web SiteSystem Calls5Refer to Appendix G for data on supported network controllers.Board Number Half-Word contai
System Call Routineshttp://www.motorola.com/computer/literature 5-715Entry ConditionsNoneExit Conditions Different From EntryR03: Address (word) Sta
5-72 Computer Group Literature Center Web SiteSystem Calls5.ENVIRON Name.ENVIRON - Read/write environment parametersCode$0071DescriptionThe purpose of
System Call Routineshttp://www.motorola.com/computer/literature 5-735For operation 0R03: The number of bytes required to store the debugger informatio
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
System Call Routineshttp://www.motorola.com/computer/literature 5-755For an explanation of each entry and definition of options, refer to the ENV comm
5-76 Computer Group Literature Center Web SiteSystem Calls5.PFLASH FunctionName.PFLASH - Program Flash memory Code$0073DescriptionThe purpose of this
System Call Routineshttp://www.motorola.com/computer/literature 5-775Field descriptions: Control/Status Word Specifies control and status of the vario
ROMboothttp://www.motorola.com/computer/literature 1-171Do the following to prepare the ROMboot routine (includes checksum calculation):1. Assemble an
5-78 Computer Group Literature Center Web SiteSystem Calls5The next table describes the definitions of the control and status bits in the Control/Stat
System Call Routineshttp://www.motorola.com/computer/literature 5-795.DIAGFCN Name.DIAGFCN - Diagnostic routineCode$0074 Description.DIAGFCN is a syst
5-80 Computer Group Literature Center Web SiteSystem Calls502: .TESTSTAT (output test status report)This diagcfn call allows access to selftest diagno
System Call Routineshttp://www.motorola.com/computer/literature 5-815The caller will then typically allocate the number of bytes of memory requested f
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
System Call Routineshttp://www.motorola.com/computer/literature 5-835The result is returned in R0303: .MEMSTAT (memory status)This function implements
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
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
5-86 Computer Group Literature Center Web SiteSystem Calls5The caller should place the structure pointer in processor register R03. An integer result
System Call Routineshttp://www.motorola.com/computer/literature 5-875Example 2: .TESTSTATPPC1-Bug>MM 10100;DI <Return>00010100 59200074 SYSCA
1-18 Computer Group Literature Center Web SiteGeneral Information18. Verify the functionality of the user ROMboot routine with the RB command.PPC1-Bug
5-88 Computer Group Literature Center Web SiteSystem Calls5PPC1-Bug>MD 20104 <Return> (display report)00020104 2372616D 23717569 6B235175 696
System Call Routineshttp://www.motorola.com/computer/literature 5-895PPC1-Bug>MD 20100:40 <Return> (display report)00020100 00000005 00000000
5-90 Computer Group Literature Center Web SiteSystem Calls5PPC1-Bug>MM 20008 <Return> (size of buffer)00020008 00000000? AFE . <Return>
System Call Routineshttp://www.motorola.com/computer/literature 5-915.SIOPEPS Name.SIOPEPS - Retrieve SCSI pointers Code$0090 DescriptionThe purpose o
5-92 Computer Group Literature Center Web SiteSystem Calls5script_ptrPointer to the NCR scripts index pointer arrayscript_ptr_szSize of the NCR script
System Call Routineshttp://www.motorola.com/computer/literature 5-935.FORKMPU FunctionNote This is a PPCBug system call for MVME4600 series or Dual P
5-94 Computer Group Literature Center Web SiteSystem Calls5.FORKMPUR FunctionNote This is a PPCBug system call for MVME4600 or dual processor MTX moth
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$
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$
System Call Routineshttp://www.motorola.com/computer/literature 5-975Field descriptions: $25C SPR542$260 SPR543$264 SPR936$268 SPR937$26C SPR938$270 S
Restarting the Systemhttp://www.motorola.com/computer/literature 1-191Network Autoboot is controlled by parameters contained in the NIOT and ENV comma
5-98 Computer Group Literature Center Web SiteSystem Calls5GPR00 to GPR31 general purpose registersFPR00 to FPR31 floating point registersSR00 to SR15
System Call Routineshttp://www.motorola.com/computer/literature 5-995.IDLEMPU Function Name.IDLEMPU - Idle MPU (Multiple MPU Configuration)Code$0110De
5-100 Computer Group Literature Center Web SiteSystem Calls5.IOINQ Name.IOINQ - Port InquireCode$0120 DescriptionWrites the Port Control Structure at
System Call Routineshttp://www.motorola.com/computer/literature 5-1015Field descriptions:$1C Error Code$20 Reserved$24 Reserved$28 ReservedPort Number
5-102 Computer Group Literature Center Web SiteSystem Calls5Modem ID Modem Type1 Non-intelligent modem2 Terminal - Refer to the Using the Service Call
System Call Routineshttp://www.motorola.com/computer/literature 5-1035I/O Control StructureThe I/O Control Structure is of the form:Field descriptions
5-104 Computer Group Literature Center Web SiteSystem Calls5Note Only the asynchronous protocol is supported by PPCBug.Bit 046 bit character wordBit
System Call Routineshttp://www.motorola.com/computer/literature 5-1055.IOINFORM Name.IOINFORM - Port InformCode$0124DescriptionThis trap will inform t
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
System Call Routineshttp://www.motorola.com/computer/literature 5-1075.IOCONFIG Name.IOCONFIG - Port ConfigureCode$0128DescriptionThis trap will instr
1-20 Computer Group Literature Center Web SiteGeneral Information1this reason, abort is most appropriate when terminating a user program that is being
5-108 Computer Group Literature Center Web SiteSystem Calls5.IODELETE Name.IODELETE - Port DeleteCode$012C DescriptionCauses the PPCBug to delete the
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
5-110 Computer Group Literature Center Web SiteSystem Calls5.SYMBOLTA Name.SYMBOLTA - Attach Symbol TableCode$0130DescriptionThis routine attaches a s
System Call Routineshttp://www.motorola.com/computer/literature 5-1115Field descriptions: Entry ConditionsR03: Address (word) Starting address o
5-112 Computer Group Literature Center Web SiteSystem Calls5.SYMBOLTD Name.SYMBOLTD - Detach Symbol TableCode$0131DescriptionThis routine detaches a s
AA-1ARelated DocumentationMotorola Computer Group DocumentsThe Motorola publications listed below are referenced in this manual. You can obtain paper
A-2 Computer Group Literature Center Web SiteRelated DocumentationAMVME3600/4600 Series VME Processor Modules Programmer’s Reference GuideV3600A/PGMVM
Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-3AMicroprocessor and Controller DocumentsFor additional informati
A-4 Computer Group Literature Center Web SiteRelated DocumentationAPowerPC 604TM RISC Microprocessor User’s ManualLiterature Distribution Center for M
Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-5AAlpineTM VGA Family - CL-GD543X/’4X Technical Reference ManualF
Restarting the Systemhttp://www.motorola.com/computer/literature 1-211Board FailureThe following conditions result in a board failure. These condition
A-6 Computer Group Literature Center Web SiteRelated DocumentationAPC87307VUL ( Super I/OTM Enhanced Sidewinder Lite) Floppy DiskController,, Keyboard
Microprocessor and Controller Documentshttp://www.motorola.com/computer/literature A-7ASYM 53CXX (was NCR 53C8XX) Family PCI-SCSI I/O Processors Progr
A-8 Computer Group Literature Center Web SiteRelated DocumentationAZ8536 CIO Counter/Timer and Parallel I/O UnitProduct Specification and User’s Manua
Related Specificationshttp://www.motorola.com/computer/literature A-9ARelated SpecificationsFor additional information, refer to the following table f
A-10 Computer Group Literature Center Web SiteRelated DocumentationAVME64 SpecificationVITA (VMEbus International Trade Association) 7825 E. Gelding
Related Specificationshttp://www.motorola.com/computer/literature A-11ABidirectional Parallel Port Interface SpecificationInstitute of Electrical and
A-12 Computer Group Literature Center Web SiteRelated DocumentationAInformation Technology - Local and Metropolitan Networks - Part 3: Carrier Sense M
BB-1BSystem MenuIntroductionEnter the MENU command at either the PPCx-Bug> or PPCx-Diag> prompt to display the System Menu, which is shown below
B-2 Computer Group Literature Center Web SiteSystem MenuB*Enter Alternate Boot Device:Controller: Drive : File :". The devices supported
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
1-22 Computer Group Literature Center Web SiteGeneral Information1Notes Assert indicates a signal is active or true. Negate indicates a signal is inac
B-4 Computer Group Literature Center Web SiteSystem MenuBTape Dump Example: 1) Continue System Start Up2) Select Alternate Boot Device3) Go to System
Using the Service Call Functionhttp://www.motorola.com/computer/literature B-5BUsing the Service Call FunctionOperationThe service call function displ
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
Using the Service Call Functionhttp://www.motorola.com/computer/literature B-7BThe remote system can now send either the MESS (Message Control) to sen
B-8 Computer Group Literature Center Web SiteSystem MenuBThe menu is redisplayed and concurrent mode is in effect. Any normal system operation can now
Using the Service Call Functionhttp://www.motorola.com/computer/literature B-9BThe system responds with the following series of messages if the discon
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
CC-1CPPCBug MessagesIntroductionThis section lists the PPCBug messages.Refer to the PPCBug Diagnostics User’s Manual for error messages displayed whil
C-2 Computer Group Literature Center Web SitePPCBug MessagesCError MessagesTable C-1. Debugger Error MessagesDebugger Error Message MeaningBad VID Bl
Other Messageshttp://www.motorola.com/computer/literature C-3COther MessagesSTRING POOL FULL, LAST LINE DISCARDEDString pool size (511 characters) is
Disk I/O Supporthttp://www.motorola.com/computer/literature 1-231Blocks and SectorsThe logical block defines the unit of information for disk devices.
C-4 Computer Group Literature Center Web SitePPCBug MessagesCEscape character: $HH=AAExit code from transparent mode, in hex (HH) and ASCII (AA) durin
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
D-2 Computer Group Literature Center Web SiteS-Record FormatDEach record may be terminated with a carriage return, line feed, or null. Additionally, a
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
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
Examplehttp://www.motorola.com/computer/literature D-5DThe second S2 record is explained as follows:040000 Six-character 3-byte address field; hexadec
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
EE-1EDisk and Tape ControllersDisk and Tape SupportPPCBug supports the disk and tape controller devices listed in Table E-1. The controller addresses
E-2 Computer Group Literature Center Web SiteDisk and Tape ControllersEFloppy Drive Configuration ParametersThe following table lists the parameters u
Floppy Drive Configuration Parametershttp://www.motorola.com/computer/literature E-3ENote 1.All numerical parameters are in hexadecimal unless otherwi
1-24 Computer Group Literature Center Web SiteGeneral Information1Disk I/O via Debugger CommandsThe following debugger commands are provided for disk
E-4 Computer Group Literature Center Web SiteDisk and Tape ControllersE
FF-1FDisk Status CodesIntroductionThe status word returned by the disk system call routine flags an error condition if it is nonzero. The most signifi
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
Controller-Independent Status Codeshttp://www.motorola.com/computer/literature F-3FController-Independent Status CodesThe definitions for the controll
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
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
F-6 Computer Group Literature Center Web SiteDisk Status CodesFATA/ATAPI Firmware Status CodesNote The marketing terms IDE and EIDE are often used whe
ATA/ATAPI Firmware Status Codeshttp://www.motorola.com/computer/literature F-7FTable F-3. ATA/ATAPI Controller-Dependent ErrorsCode Description$00 Go
F-8 Computer Group Literature Center Web SiteDisk Status CodesF
GG-1GEstablishing NetworkConnections with PPCBugThe procedure below can be used to establish a network connection using standard PPCBug commands from
Disk I/O Supporthttp://www.motorola.com/computer/literature 1-251PBOOT (Bootstrap Operating System)The PBOOT command reads an operating system or cont
G-2 Computer Group Literature Center Web SiteEstablishing Network Connections with PPCBugGGateway IP address: set if a gateway will be required to tra
HH-1HNetwork Communication StatusCodesThere are two types of network communication status codes, controller independent and controller (DEC21040, DEC2
H-2 Computer Group Literature Center Web SiteNetwork Communication Status CodesH$08 Illegal IPL load address$09 User abort, break key depressed$0A Tim
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
H-4 Computer Group Literature Center Web SiteNetwork Communication Status CodesH
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
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
http://www.motorola.com/computer/literature IN-3INDEXcheck function 5-79checksumCS command 3-35generate 5-68clockreal-time 5-58clock speed calculation
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
http://www.motorola.com/computer/literature IN-5INDEXdefault controller parameters 1-27default device parameters 1-27default input port 5-1default out
vContentsAbout This ManualSummary of Changes...xviOvervi
1-26 Computer Group Literature Center Web SiteGeneral Information1Disk I/O via Debugger System CallsAll operations that actually access the disk are d
IndexIN-6 Computer Group Literature Center Web SiteINDEXedit macros 3-118enable macro listing 3-120enable ROMboot 3-193entering and debugging programs
http://www.motorola.com/computer/literature IN-7INDEXGEVs (Global Environment Variables) 3-64GEVSHOW command 3-74Global Environment Variables (GEVs) 3
IndexIN-8 Computer Group Literature Center Web SiteINDEXLLAN coprocessor 1-28LED/serial startup diagnostic codes 1-7, 3-57lineerase 5-51output 5-48, 5
http://www.motorola.com/computer/literature IN-9INDEXMultiprocessor Control Register (MPCR)1-32contents of 1-33status codes in 1-33multiprocessor supp
IndexIN-10 Computer Group Literature Center Web SiteINDEXoutput test status report 5-80PPA command 3-173, 4-13packets 3-151parameter mask (IOSPRM, IOS
http://www.motorola.com/computer/literature IN-11INDEXmain processor 4-5RTC 5-59related documentation A-1related specifications A-9REMOTE command 3-20
IndexIN-12 Computer Group Literature Center Web SiteINDEXSmall Computer System Interface (SCSI)5-69source code 4-11source line 4-3, 4-12source program
http://www.motorola.com/computer/literature IN-13INDEXtimedisplay 3-228set 3-213TIME command 3-228time display 5-58time initialize 5-56timer delay 5-5
IndexIN-14 Computer Group Literature Center Web SiteINDEX
Disk I/O Supporthttp://www.motorola.com/computer/literature 1-271controller it is sent to. Refer to documentation on the particular controller module
1-28 Computer Group Literature Center Web SiteGeneral Information1Network I/O SupportThe network autoboot firmware provides the capability to boot the
Network I/O Supporthttp://www.motorola.com/computer/literature 1-291Figure 1-1. Network Boot Modules1273 9401Bootstrap Protocol(BOOTP)RFC 951Boot Con
1-30 Computer Group Literature Center Web SiteGeneral Information1RARP and ARP ModulesThe Reverse Address Resolution Protocol (RARP) basically consist
Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-311Network I/O Error CodesPPCBug returns an error code if an attemp
1-32 Computer Group Literature Center Web SiteGeneral Information1PPCBug remote start can be utilized by either the MPCR or GCSR methods, which are de
Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-331The host’s access address of the MPCR is affected by memory mapp
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
Multiprocessor Support (Remote Start)http://www.motorola.com/computer/literature 1-351In either sequence, an E is placed in the MPCR to indicate that
viIOP (Physical I/O to Disk)...1-24IOT (I/O Configure)...
1-36 Computer Group Literature Center Web SiteGeneral Information1The LM/SIG register is assigned the following bit definitions: The VME host board ca
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
1-38 Computer Group Literature Center Web SiteGeneral Information1
2-122Using the DebuggerEntering CommandsThe debugger is command-driven and performs its various operations in response to commands that you enter at t
2-2 Computer Group Literature Center Web SiteUsing the Debugger2Command ArgumentsThe following arguments are common to many of the commands. Additiona
Entering Commandshttp://www.motorola.com/computer/literature 2-32Numeric values may be expressed in either hexadecimal, decimal, octal, or binary by i
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
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
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.
Entering and Debugging Programshttp://www.motorola.com/computer/literature 2-72You may use the following control characters for limited editing while
viiSingle Precision Real...2-13Double Precision Real ...
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
Preserving the Operating Environmenthttp://www.motorola.com/computer/literature 2-92Memory RequirementsThe debugger requires approximately 768KB (mayb
2-10 Computer Group Literature Center Web SiteUsing the Debugger2These vectors may be taken over under a user’s application. However, prior to returni
Context Switchinghttp://www.motorola.com/computer/literature 2-112When the context switch transitions from the debugger state to the user state, the f
2-12 Computer Group Literature Center Web SiteUsing the Debugger2Note that on a restoration context switch, registers whose perspectives feature MMU c
Floating Point Supporthttp://www.motorola.com/computer/literature 2-132❏ The exponent field is the second field and is a hexadecimal field.❏ The manti
2-14 Computer Group Literature Center Web SiteUsing the Debugger2Scientific NotationThe scientific notation format provides a convenient way to enter
3-133Debugger CommandsIntroductionThis chapter contains descriptions of each debugger command, with one or more examples of each. The debugger command
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-33NIOC Network I/O ControlNIOP Network I/O PhysicalNIOT Network I/O Teach (Configuratio
viiiGT - Go to Temporary Breakpoint...3-80HE - Help...
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
Debugger Commandshttp://www.motorola.com/computer/literature 3-53AS - One-Line AssemblerCommand InputAS ADDRDescriptionThe AS command provides access
3-6 Computer Group Literature Center Web SiteDebugger Commands3BC - Block of Memory CompareCommand InputBC RANGE ADDR [;B|H|W]OptionsDescriptionThe BC
Debugger Commandshttp://www.motorola.com/computer/literature 3-73Example 2: Compare the memory, with nothing printed.PPC1-Bug>BC 20000:20 21000;B &
3-8 Computer Group Literature Center Web SiteDebugger Commands3BF - Block of Memory FillCommand InputBF RANGE data [increment] [;B|H|W]ArgumentsOption
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
3-10 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>BF 20000,20006 12345678;W <Return>Effective address: 00020000Effecti
Debugger Commandshttp://www.motorola.com/computer/literature 3-113BI - Block of Memory InitializeCommand InputBI RANGE [;B|H|W]OptionsDescriptionThe B
3-12 Computer Group Literature Center Web SiteDebugger Commands3Example 2: For this example, assume system memory from $0 to $000FFFFF.PPC1-Bug>BI
Debugger Commandshttp://www.motorola.com/computer/literature 3-133BM - Block of Memory MoveCommand InputBM RANGE ADDR [;B|H|W]OptionsDescriptionThe BM
ixRD - Register Display...3-195REMOTE - Remote ...
3-14 Computer Group Literature Center Web SiteDebugger Commands3PPC1-Bug>MD 20000:10;H <Return>00020000 5448 4953 2049 5320 4120 5445 5354 2
Debugger Commandshttp://www.motorola.com/computer/literature 3-153PPC1-Bug>MD 20000 20014;DI <Return>00020000 3C401000 ADDIS R2,R0,$10
3-16 Computer Group Literature Center Web SiteDebugger Commands3BR - Breakpoint InsertNOBR - Breakpoint DeleteCommand InputBR [ADDR[:COUNT]]NOBR [ADDR
Debugger Commandshttp://www.motorola.com/computer/literature 3-173Example 2: Delete specified breakpoint.PPC1-Bug>NOBR 1E200 <Return>BREAKPOI
3-18 Computer Group Literature Center Web SiteDebugger Commands3BS - Block of Memory SearchCommand InputBS RANGE TEXT [;B|H|W]orBS RANGE data [mask] [
Debugger Commandshttp://www.motorola.com/computer/literature 3-193Data SearchIn the Data Search mode, a data pattern (data) is matched against a range
3-20 Computer Group Literature Center Web SiteDebugger Commands3to display. To resume output, you should simply press any character key. To cancel the
Debugger Commandshttp://www.motorola.com/computer/literature 3-213Example 4: Mode 1, using RANGE with COUNT and size option: COUNT is displayed in dec
3-22 Computer Group Literature Center Web SiteDebugger Commands3Example 8: Mode 2, using RANGE with COUNT, mask option, and size option: COUNT is disp
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