PPCBugFirmware PackageUser’s ManualParts 1 & 2 PPCBUGA1/UM4 PPCBUGA2/UM4
x MAE - Macro Edit... 3-117MAL - Enable Macro Listing NOMAL - D
CNFG - Configure Board Information Block3-323Example 3: Modify the Board Information Block.PPC1-Bug>CNFG;M <Return>WARNING: Board Information
CS - Checksum3-333CS - ChecksumCommand InputCS RANGE [;B|H|W]OptionsDescriptionThe CS command calculates a checksum to verify the contents of a block
CS - Checksum3-343ExamplesExample 1: Default size is word.PPC1-Bug>CS 1000 2000 <Return>Effective address: 00001000Effective address: 00001FF
CSAR - PCI Configuration Space READ Access3-353CSAR - PCI Configuration Space READ AccessCommand InputCSAR busnum devnum function addr [;B|H|W]OptionsD
CSAW - PCI Configuration Space WRITE Access3-363CSAW - PCI Configuration Space WRITE AccessCommand InputCSAW busnum devnum function addr data [;B|H|W]O
DC - Data Conversion3-373DC - Data ConversionCommand InputDC EXP | ADDR [;[B] [O] [A]]OptionsDescriptionThe DC command calculates an expression into a
DC - Data Conversion3-383Example 4:PPC1-Bug>DC (2*3*8)/4 <Return> 0000000C = $C = &12PPC1-Bug>Example 5:PPC1-Bug>DC 55&
DC - Data Conversion3-393Example 10: For this example, assume R2=00030000 and the following data resides in memory:00030000 11111111 22222222 333333
DMA - Block of Memory Move3-403DMA - Block of Memory MoveNote This command works for MVME160x series modules only.Command InputDMA RANGE ADDR VDIR AM
DMA - Block of Memory Move3-413OptionsDescriptionThe DMA command moves blocks of data from the local bus to the VMEbus, or from the VMEbus to the loca
xi T - Trace ...3-216TA - Terminal Attach...
DMA - Block of Memory Move3-423Note If the block transfer modes are used to transfer data make sure that your VMEbus and VME memory actually support t
DMA - Block of Memory Move3-433First a range is given for the source location of the data on the VMEbus. Note that this is an exact address on the VME
DMA - Block of Memory Move3-443000000F0 000000F0 000000F4 000000F8 000000FC ...00000100 00000100 00000104 00000108 0000010C ...
DMA - Block of Memory Move3-453Example 3: Transfer data from the local bus to the VMEbus. First, show the data at the destination so we can see it cha
DMA - Block of Memory Move3-463View the transferred data:PPC1-Bug>MD C1000000:40 <Return>C1000000 7C3043AF 7CFFFBBF 7C3143A7 48FFFFDF |0C.|
DMA - Block of Memory Move3-473PPC1-Bug>DMA 01000000:10 80002000 1 D 0 <Return>Effective address: 01000000Effective count : &64Effective
DS - One-Line Disassembler3-483DS - One-Line DisassemblerCommand InputDS ADDR [:COUNT | ADDR]DescriptionThe DS command enables the one-line disassembl
DU - Dump S-Records3-493DU - Dump S-RecordsCommand InputDU [PORT] RANGE [TEXT] [ADDR] [OFFSET] [;B|H|W]DescriptionThe DU command outputs data from mem
DU - Dump S-Records3-503ExamplesExample 1: Dump memory from $20000 to $2002F to port 1.PPC1-Bug>DU ,,20000 2002F <Return>Effective address: 0
ECHO - Echo String3-513ECHO - Echo StringCommand InputECHO [PORT] {hexadecimal number} {'string'}DescriptionThe ECHO command displays string
xii System Call Routines...5-2.INCHR ...
ECHO - Echo String3-523Example 4: This example handles a string with quotes.PPC1-Bug>ECHO ,, 'This is "PPCBUG"' <Return>T
ENV - Set Environment3-533ENV - Set EnvironmentCommand InputENV [;[D]] DescriptionThe ENV command allows you to view and configure all PPCBug operatio
ENV - Set Environment3-543You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fields. The
ENV - Set Environment3-5533. Determine any necessary VMEbus translation offset. The offset value is added to the VMEbus address to create the PCI bus
ENV - Set Environment3-563To enable prefetch reads for incoming VMEbus block read cycles, OR the following value with those chosen above:0x20000000To
ENV - Set Environment3-573LED/Serial Startup Diagnostic CodesThese codes can be displayed at key points in the initialization of the hardware devices.
FORK - Fork Idle MPU at Address3-583FORK - Fork Idle MPU at AddressNote This command is for multi-processor boards only.Command InputFORK MPU# ADDRDes
FORKWR - Fork Idle MPU with Registers3-593FORKWR - Fork Idle MPU with RegistersNote This command is for multi-processor boards only.Command InputFORKW
GD - Go Direct (Ignore Breakpoints)3-603GD - Go Direct (Ignore Breakpoints)Command InputGD [ADDR]DescriptionThe GD command starts target code executio
GD - Go Direct (Ignore Breakpoints)3-613PPC1-Bug>BR 20028 <Return>BREAKPOINTS00020028PPC1-Bug>Initialize R7 and start target the program.P
xiii .DIVU32...5-67.CHK_SUM...
GEVBOOT - Global Environment Variable Boot3-623GEVBOOT - Global Environment Variable BootCommand InputGEVBOOT Variable-NameDescriptionThe GEVBOOT comm
GEVBOOT - Global Environment Variable Boot3-633RequirementsSome high-level requirements that this release meets are:❏ Residual Data as specified above
GEVBOOT - Global Environment Variable Boot3-643❏ fw-boot-pathThis variable contains a list (four maximum) of boot devices which can be booted from. Th
GEVBOOT - Global Environment Variable Boot3-653Styles of BootingThe older Motorola mode of mass storage device booting was also preserved for backward
GEVBOOT - Global Environment Variable Boot3-663NVRAM Boot List (GEV.fw-boot-path) Boot Enable [Y/N], defaults to 'Y' NVRAM Boot List (GEV.fw
GEVBOOT - Global Environment Variable Boot3-673fw-boot-path needs to be defined as a device that was shown to be available via ioiPPC1-Bug>gevshowf
GEVDEL - Global Environment Variable Delete3-683GEVDEL - Global Environment Variable DeleteCommand InputGEVDEL Variable-NameDescriptionThe GEVDEL comm
GEVDUMP - Global Environment Variable(s) Dump3-693GEVDUMP - Global Environment Variable(s) DumpCommand InputGEVDUMPDescriptionThe GEVDUMP command perm
GEVDUMP - Global Environment Variable(s) Dump3-70301F8B100 64 65 76 69 63 65 3D 2F 70 63 69 40 38 30 30 30 device=/pci@800001F8B110 30 30 30 30 2F
GEVEDIT - Global Environment Variable Edit3-713GEVEDIT - Global Environment Variable EditCommand InputGEVEDIT Variable-NameDescriptionThe GEVEDIT comm
xiv APPENDIX C PPCBug Messages Introduction...
GEVINIT - Global Environment Variable Initialization3-723GEVINIT - Global Environment Variable InitializationCommand InputGEVINITDescriptionThe GEVINI
GEVSHOW - Global Environment Variable(s) Display3-733GEVSHOW - Global Environment Variable(s) DisplayCommand InputGEVSHOW [string]DescriptionThe GEVSH
GN - Go to Next Instruction3-743GN - Go to Next InstructionCommand InputGNCommand InputThe GN command sets a temporary breakpoint at the address of th
GN - Go to Next Instruction3-753Execute up to the BL instruction.PPC1-Bug>RM IP <Return>IP =00020020 ? 20000. <Return>PPC1-Bug>P
GO - Go Execute User Program3-763GO - Go Execute User ProgramCommand InputGO [ADDR]DescriptionThe GO command initiates target code execution. All prev
GO - Go Execute User Program3-773PPC1-Bug>DS 30000 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B040000 CMPLI CRF6,0,R4,$0
GO - Go Execute User Program3-783Continue target program execution.PPC1-Bug>G <Return>Effective address: 00030018At BreakpointIP =0003001
GT - Go to Temporary Breakpoint3-793GT - Go to Temporary BreakpointCommand InputGT ADDRCommand InputThe GT command sets a temporary breakpoint and sta
GT - Go to Temporary Breakpoint3-803PPC1-Bug>DS 30000:8 <Return>00030000 3CA00000 ADDIS R5,R0,$000030004 2B040000 CMPLI CRF6,0,
GT - Go to Temporary Breakpoint3-813Set another temporary breakpoint at $20000 and continue the target program execution.PPC1-Bug>GT 20000 <Retu
xv List of Tables Table 1-1. LED/Serial Startup Diagnostic Codes ...1-8Table 3-1. Debugger Commands...
HE - Help3-823HE - HelpCommand InputHE [COMMAND]DescriptionThe HE command displays information about the debugger commands.HE displays the description
HE - Help3-833ECHO Echo StringENV Set Environment to Bug/Operating SystemFORK Fork Idle MPU at AddressFORKWR Fork Idle MPU with Registe
HE - Help3-843NIOP Network I/O PhysicalNIOT I/O "Teach" for Configuring Network ControllerNOBR Breakpoint DeleteNOCM No Conc
HE - Help3-853
3IDLE - Idle Master MPU3-863Debugger CommandsIDLE - Idle Master MPUNote This command is for multi-processor boards only.Command InputIDLEDescriptionTh
IOC - I/O Control for Disk3-873IOC - I/O Control for DiskCommand InputIOCDescriptionThe IOC command sends command packets directly to a disk controlle
IOC - I/O Control for Disk3-883You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fields
IOC - I/O Control for Disk3-893ExampleSend the packet at $10000 to a controller device configured as CLUN #0. Specify an operation to the hard disk wh
IOI - I/O Inquiry3-903IOI - I/O InquiryCommand InputIOI [;[C|D|L|N]]OptionsDescriptionThe IOI command inquires for all of the possible attached device
IOI - I/O Inquiry3-913where: mm = the CLUN number andwhile: nn = the DLUN numberThe CLUN/DLUN numbers are always sent to the 7-segment LEDs regardless
IOI - I/O Inquiry3-923PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTYPE RM Inquiry-Data 0 0 NCR53C825 0
IOP - I/O Physical (Direct Disk Access)3-933IOP - I/O Physical (Direct Disk Access)Command InputIOP DescriptionThe IOP command allows you to read, wri
IOP - I/O Physical (Direct Disk Access)3-943entry into the device descriptor table with the pertinent data. After an entry has been made, the next tim
IOP - I/O Physical (Direct Disk Access)3-953Memory Address =00003000?The starting address for the memory block to be accessed. For disk read operation
IOP - I/O Physical (Direct Disk Access)3-963Flag Byte =00?The ßag byte is used to specify variations of the same command, and to receive special statu
IOP - I/O Physical (Direct Disk Access)3-973ExamplesExample 1: Read 25 blocks starting at block 370 from device 2 of controller 0 into memory beginnin
IOP - I/O Physical (Direct Disk Access)3-983Example 4: Format the specified device with the option to ignore the grown defect list.PPC1-Bug>IOPCont
IOT - I/O Configure Disk Controller3-993IOT - I/O Configure Disk ControllerCommand InputIOT [;[A|F|H|T]] OptionsDescriptionThe IOT command allows you t
IOT - I/O Configure Disk Controller3-1003Note that during a boot, the configuration sector is normally read from the disk, and the device descriptor t
IOT - I/O Configure Disk Controller3-1013All numerical values are interpreted as hexadecimal numbers. You may enter decimal values by preceding the nu
xvii List of Figures Figure 1-1. Network Boot Modules ...1-29Figure 3-1. Boot Record
IOT - I/O Configure Disk Controller3-1023Only the $00, $01, $05, and $07 are supported by the I/O controller drivers.Attribute ParametersThe parameter
IOT - I/O Configure Disk Controller3-1033Number of Heads =05?The number of heads on the drive. Number of Cylinders =0337?The number of cylinde
IOT - I/O Configure Disk Controller3-1043The rate at which the read/write heads can be moved when seeking a track on the disk. The encoding is as foll
IOT - I/O Configure Disk Controller3-1053Gap 1 =07?The number of words of zeros that are written before the header Þeld in each sector
IOT - I/O Configure Disk Controller3-1063Sectors/track =0010? <Return>Number of heads =02? <Return>Number of cylinders =0050?
IRD, IRM, IRS - Idle MPU Register Display/Modify/Set3-1073IRD, IRM, IRS - Idle MPU Register Display/Modify/SetNote These commands are for multi-proces
LO - Load S-Records from Host3-1083LO - Load S-Records from HostCommand InputLO [PORT] [ADDR] [;[X] [C] [T]] [=text]ArgumentsOptionsMore than one opti
LO - Load S-Records from Host3-1093DescriptionThe LO command downloads Motorola S-record files from a host system to the debugger host. The LO command
LO - Load S-Records from Host3-1103The S-record format (refer to Appendix D) allows for an entry point to be specified in the address field of the ter
LO - Load S-Records from Host3-1113ExampleFor this example, assume that a host system was used to create the following program: .file “test.s
LO - Load S-Records from Host3-1123Load this file into memory for execution at address $40000 as follows:PPC1-Bug>TM <Return>Escape character
LO - Load S-Records from Host3-1133PPC1-Bug>RD <Return>IP =00040000 MSR =00003030 CR =00000020 FPSCR =00000000R0 =00000000 R1
MA - Macro Define/Display NOMA - Macro Delete3-1143MA - Macro Define/Display NOMA - Macro DeleteCommand InputMA [NAME|;L]NOMA [NAME]DescriptionThe M
MA - Macro Define/Display NOMA - Macro Delete3-1153Macro definitions are stored in a string pool of fixed size. If the string pool becomes full whil
MA - Macro Define/Display NOMA - Macro Delete3-1163Example 2: Define the macro DIS.PPC1-Bug>MA DIS <Return>M=MD \0:17;DI <Return>M= &
MAE - Macro Edit3-1173MAE - Macro EditCommand InputMAE NAME LINE # [STRING]ArgumentsDescriptionThe MAE command allows you to edit a macro. MAE is line
MAE - Macro Edit3-1183Line numbers serve one purpose: specifying the location within a macro definition to perform the editing function. After the edi
MAL - Enable Macro Listing NOMAL - Disable Macro Listing3-1193MAL - Enable Macro Listing NOMAL - Disable Macro ListingCommand InputMALNOMALDescript
MAR - Load Macros3-1203MAR - Load MacrosCommand InputMAR [controllerLUN] [[deviceLUN] [block#]]ArgumentsDescriptionThe MAR command loads macros that h
MAR - Load Macros3-1213ExampleFor the example, assume that controller 0, device 2 is accessible.Load macros from block 3.PPC1-Bug> MAR 0,2,3 <Re
1 1-1 1General Information PPCBug Overview PPCBug is a powerful evaluation and debugging tool for systems built around the Motorola PowerPC microproc
MAW - Save Macros3-1223MAW - Save MacrosCommand InputMAW [controllerLUN] [[deviceLUN] [block#]] ArgumentsDescriptionThe MAW command saves the currentl
MAW - Save Macros3-1233ExampleFor the example, assume that controller 0, device 2 is accessible.Load macros from block 3.PPC1-Bug> MAR 0,2,3 <Re
MD, MDS - Memory Display3-1243MD, MDS - Memory DisplayCommand InputMD ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI] ]MDS ADDR[:COUNT | ADDR] [; [B|H|W|S|D|DI]
MD, MDS - Memory Display3-1253ExamplesExample 1:PPC1-Bug>MD 22000;H <Return>00022000 2800 1942 2900 1942 2800 1842 2900 2846 (..B)..B(..B)
MD, MDS - Memory Display3-1263Example 5:PPC1-Bug>MD 10000;S <Return>00020000 0_A4_194155= 1.6455652147200000_E+001100020004 0_27_3BFC7C= 4.74
MD, MDS - Memory Display3-1273Example 7:PPC1-Bug>MDS 30000;B <Return>00030000 3C A0 00 00 2B 04 00 00 41 9A 00 14 98 A3 00 00 <...+...A
MENU - System Menu3-1283MENU - System MenuCommand InputMENU DescriptionThe MENU command displays the System Menu, which is shown below:1 Continue Sys
MM - Memory Modify3-1293MM - Memory ModifyCommand InputMM ADDR [;[[B|H|W|S|D] [A] [N]]|[DI] ]OptionsDescriptionThe MM command is used to view and chan
MM - Memory Modify3-1303The command reads the memory and verifies that the new contents match what was written. An error message appears if the value
MM - Memory Modify3-1313ExamplesExample 1: Access location $20000, modify memory, modify and backup, and modify memory and exit.PPC1-Bug>MM 20000;H
Notice While reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omissi
Comparison with other Motorola Bugs1-21 They are collectively referred to in this manual as the PowerPC board or board .The debugger includes: ❏ C
MM - Memory Modify3-1323Example 5: Step to next location and exit MM.PPC1-Bug>MM 40000;DI <Return>00040000 3D401000 ADDIS R10,R0,$1000
MMD - Memory Map Diagnostic3-1333MMD - Memory Map DiagnosticCommand InputMMD RANGE INCREMENT [;B|H|W]OptionsDescriptionThe MMD command is used to find
MMD - Memory Map Diagnostic3-1343Example 2: Look for any memory between $10000000 and $FFFFFFFF with an increment of $40000 by bytes.PPC1-Bug>MMD 1
MS - Memory Set3-1353MS - Memory SetCommand InputMS ADDR {Hexadecimal number} {'string'}ArgumentsDescriptionThe MS command writes data to me
MW - Memory Write3-1363MW - Memory WriteCommand InputMW ADDR DATA [;B|H|W]OptionsThe default data size is word.DescriptionThe MW command writes a data
MW - Memory Write3-1373Example 3:PPC1-Bug>MW 1E002 33CC;H <Return>Effective address: 0001E002Effective data : 33CCPPC1-Bug>PPC1-Bug>M
NAB - Network Auto Boot3-1383NAB - Network Auto BootCommand InputNABDescriptionThe NAB command re-invokes the network auto boot feature. This command
NAP - NAP MPU3-1393NAP - NAP MPUNote This command is for multi-processor boards only.Command InputNAP MPU#OptionsNoneDescriptionThe NAP command puts a
NBH - Network Boot Operating System, Halt3-1403NBH - Network Boot Operating System, HaltCommand InputNBH [ControllerLUN] [DeviceLUN] [ClientIPAddress]
NBH - Network Boot Operating System, Halt3-1413After the registers are initialized, control is returned to the debugger monitor and the prompt reappea
General Information1-31 The executable code is checksummed at every power-on or reset firmware entry. The result is checked with a pre-calculated che
NBO - Network Boot Operating System3-1423NBO - Network Boot Operating SystemCommand InputNBO [ControllerLUN] [DeviceLUN] [ClientIPAddress] [ServerIPAd
NBO - Network Boot Operating System3-1433NBO uses primarily the BOOTP, RARP, and TFTP protocols to load the boot file. Refer to the DARPA Internet Req
NBO - Network Boot Operating System3-1443Note that certain arguments are passed (through MPU registers) to the loaded program. The following is a list
NBO - Network Boot Operating System3-1453the boot file is loaded into the user memory, the statistics of the TFTP phase (file transfer) are displayed.
NIOC - Network I/O Control3-1463NIOC - Network I/O ControlCommand InputNIOC DescriptionThe NIOC command sends command packets directly to the Ethernet
NIOC - Network I/O Control3-1473The reset device/channel/node (type 5) would be used if another operating system (node driver) needs to be control of
NIOC - Network I/O Control3-1483ExamplesExample 1: Initialize (type 0) the device/channel/node.PPC1-Bug>NIOC <Return>Controller LUN
NIOC - Network I/O Control3-1493PPC1-Bug>MD E000:&21 <Return>0000E000 FFFF FFFF FFFF 0800 3E21 0FCC 0806 0001 ...>!...0
NIOC - Network I/O Control3-1503View the address data retrieval.PPC1-Bug>MD E000:222;B <Return>0000E000 FF FF FF FF FF FF 08 00 3E 20 C8 0A 0
NIOC - Network I/O Control3-1513This entry point is useful when the interface has not been accessed for some time and you do not want receive data. Th
Set-up1-41 Set-up Refer to the board installation and use manual for information on installing the hardware, configuring jumpers, and assigning the c
NIOP - Network I/O Physical3-1523NIOP - Network I/O PhysicalCommand InputNIOPDescriptionThe NIOP command allows you to get files from the supported Et
NIOP - Network I/O Physical3-1533You may also enter a special character, either at the prompt or after typing new data, for scrolling through the fiel
NIOP - Network I/O Physical3-1543Controller LUN =00?The Logical Unit Number (LUN) of the controller to accessDevice LUN =00?The LUN of the device to a
NIOP - Network I/O Physical3-1553ExampleRead a file into memory.This example illustrates the reading (or getting) of the file /tftboot/motorola.bin fr
NIOT - Network I/O Teach (Configuration)3-1563NIOT - Network I/O Teach (Configuration)Command InputNIOT [;[A|H|D]] OptionsDescriptionThe NIOT command a
NIOT - Network I/O Teach (Configuration)3-1573Each mass storage boot device and network interface boot device is identified by a device name. Each dev
NIOT - Network I/O Teach (Configuration)3-1583Node Control Memory Address=FFE10000?The starting address of the necessary memory needed for the transmi
NIOT - Network I/O Teach (Configuration)3-1593Boot File Name (“NULL” for None) =?The name of the boot file to load. Once the file is loaded, con
NIOT - Network I/O Teach (Configuration)3-1603Trace Character Buffer Address=00000000?The starting address of memory in which to place the trace chara
NIOT - Network I/O Teach (Configuration)3-1613BOOTP/RARP Request Control: Always/When-Needed (A/W) =WBOOTP/RARP Reply Update Control: Yes/No (Y/N)
General Information1-51The system performs the self test diagnostics if you do not terminate system start-up. Upon successful completion of these test
NIOT - Network I/O Teach (Configuration)3-1623Example 2: Display the network controllers/nodes that are present in the system.PPC1-Bug>NIOT;H <R
3NPING - Network Ping3-1633Debugger CommandsNPING - Network PingCommand InputNPING ControllerLUN DeviceLUN SourceIP DestinationIP [NPackets]ArgumentsD
NPING - Network Ping3-1643If the destination does not respond within 10 seconds, the command continues on with the next transmission. Between each suc
OF - Offset Registers Display/Modify3-1653OF - Offset Registers Display/ModifyCommand InputOF [Zn[;A] ]DescriptionThe OF command allows you to access
OF - Offset Registers Display/Modify3-1663Enter the following parameters:[base_address [top_address] ]or[base_address [: byte_count] ]The top_address
OF - Offset Registers Display/Modify3-1673ExamplesExample 1: Display offset registers.PPC1-Bug>OF <Return>Z0 =00000000 00000000 Z1 = 0000000
PA - Printer Attach NOPA - Printer Detach3-1683PA - Printer Attach NOPA - Printer DetachCommand InputPA [PORT]NOPA [PORT]DescriptionThe PA command
PA - Printer Attach NOPA - Printer Detach3-1693Example 2: Display current attached printers.PPC1-Bug>PA <Return>Printer $02 attachedPPC1-Bu
PBOOT - Bootstrap Operating System3-1703PBOOT - Bootstrap Operating SystemCommand InputPBOOT ; A|VPBOOT CLUN DLUN PARTITION [String] [;H ]ArgumentsOpt
PBOOT - Bootstrap Operating System3-1713DescriptionThe PBOOT command loads an operating system or control program from a mass storage device (e.g., ha
Start-up1-6113. Set base address of memory to $00000000.14. Retrieve the speed of read/write memory from NVRAM.15. Initialize read/write memory contro
PBOOT - Bootstrap Operating System3-1723The layout of the boot record must be designed as shown in the Figure 3-1. The first 446 bytes of the boot rec
PBOOT - Bootstrap Operating System3-1733The 32-bit start RBA is zero-based. The 32-bit count RBA value is one-based and indicates the number of 512-by
PBOOT - Bootstrap Operating System3-1743PC Compatibility Block0Entry Point Offset (LE)512Load Image Length (LE)516Flag Field520OS_ID521Partition Name5
PBOOT - Bootstrap Operating System3-1753Once the boot partition is located by using the boot record, the debugger will typically:1. Read into memory t
PBOOT - Bootstrap Operating System3-1763PPC1-Bug>IOI <Return>I/O Inquiry Status:CLUN DLUN CNTRL-TYPE DADDR DTYPE RM Inquiry-Data 0
PBOOT - Bootstrap Operating System3-1773Example 3: This example demonstrates a boot from a direct-access device (i.e., hard disk). The default partiti
PF - Port Format NOPF - Port Detach3-1783PF - Port Format NOPF - Port DetachCommand InputPF [PORT]NOPF [PORT]DescriptionThe PF command allows you t
PF - Port Format NOPF - Port Detach3-1793You may also enter a special character, either at the prompt or after typing new data, for scrolling throug
PF - Port Format NOPF - Port Detach3-1803ConÞguring a PortThese are the configurable parameters (these may vary depending on the driver):Port base a
PF - Port Format NOPF - Port Detach3-1813PPC1-Bug>PF 1 <Return>Baud rate [110,300,600,1200,2400,4800,9600,19200] = 9600? <Return>Even
General Information1-7130. Verify the configuration data that is resident in NVRAM, and display a warning message if the verification failed.31. Cal
PF - Port Format NOPF - Port Detach3-1823If the new port has not been configured, the interactive configuration mode is entered (refer to Configurin
PFLASH - Program FLASH Memory3-1833PFLASH - Program FLASH MemoryCommand InputPFLASH SSADDR SEADDR DSADDR [IEADDR][;[A|R][X]]PFLASH SSADDR:COUNT DSADDR
PFLASH - Program FLASH Memory3-1843DescriptionThe PFLASH command loads an application or program into Flash memory. The command line arguments are che
PFLASH - Program FLASH Memory3-1853is not specified, upon successful completion, the driver blinks the FAIL LED at the rate of once per 1/2 second. Up
PFLASH - Program FLASH Memory3-1863PPC1-Bug>BM FFF00000:100000/4 100000 <Return>Effective address: FFF00000 Effective count : &1048576 E
PS - Put RTC into Power Save Mode3-1873PS - Put RTC into Power Save ModeCommand InputPS DescriptionThe PS command turns off the oscillator in the RTC
RB - ROMboot Enable NORB - ROMboot Disable3-1883RB - ROMboot Enable NORB - ROMboot DisableCommand InputRB[;V]NORB DescriptionThe RB command invokes
RB - ROMboot Enable NORB - ROMboot Disable3-1893Example 3: PPC1-Bug> NORB <Return>ROM boot disabledPPC1-Bug>
RD - Register Display3-1903RD - Register DisplayCommand InputRD [{[+|-|=] [DNAME] [/]}{[+|-|=] [REG1[-REG2]] [/]}] [;E]ArgumentsDescriptionThe RD comm
RD - Register Display3-1913Note the following when specifying any arguments in the command line:❏ The +, -, or = qualifier applies to the next registe
Start-up1-81Under normal conditions, the startup sequence begins at 0x1100 and continues to the PPC1-Bug> prompt just after 0x11D4. RAM initializat
RD - Register Display3-1923ExamplesExample 1: Default display - MPU subset (also called out by DEF):PPC1-Bug>RD <Return>IP =00040010 MSR
RD - Register Display3-1933FR6 =0_000_0000000000000= 0.0000000000000000_E+0000FR7 =0_000_0000000000000= 0.0000000000000000_E+0000FR8 =0_000_0
RD - Register Display3-1943Example 3: Add only FR0 and FR1 to the original default display.PPC1-Bug>RD FR0/FR1 <Return>IP =00040010 MSR
RD - Register Display3-1953Example 6: Restore the display to the original set.PPC1-Bug>RD =DEF <Return>IP =00040010 MSR =00003030 CR
REMOTE - Remote3-1963REMOTE - RemoteCommand InputREMOTEDescriptionThe REMOTE command initiates a service call through a remote modem. This command dup
RESET - Cold/Warm Reset3-1973RESET - Cold/Warm ResetCommand InputRESETDescriptionThe RESET command allows you to specify the level of reset operation
RESET - Cold/Warm Reset3-1983MPU Clock Speed =xxMhz BUS Clock Speed =xxMhzPPC1-Bug>
RL - Read Loop3-1993RL - Read LoopCommand InputRL ADDR[;B|H|W]OptionsDescriptionThe RL command establishes an infinite loop consisting of a processor
RM - Register Modify3-2003RM - Register ModifyCommand InputRM [REG]DescriptionThe RM command allows you to display and change the target registers. RE
RM - Register Modify3-2013Example 2: Modify register FR0 and view the results.PPC1-Bug>RM FR0 <Return>FR0 =0_384_4ED67D467D9BF= 1.2300000000
General Information1-91111C Setting up the DRAM init parameters111E Initializing DRAM in bridge/memory controller1120 Setting up debugger memory page
RM - Register Modify3-2023SPR20 =FFEC0000? <Return>SPR21 =FFEC0000? <Return>SPR22 =16A30500? <Return>SPR25 =00000000? <Return
RS - Register Set3-2033RS - Register SetCommand InputRS REG [EXP|ADDR]DescriptionThe RS command allows you to change the data in the specified target
RS - Register Set3-2043Example 2: Examine register R5.PPC1-Bug>RS R5 <Return>R5 =12345678PPC1-Bug>Example 3: Examine register FR0.PPC1
RUN - MPU Execution/Status3-2053RUN - MPU Execution/StatusNote This command is for multi-processor boards only.Command InputRUN [MPU#]DescriptionThe R
RUN - MPU Execution/Status3-2063Descriptions of all possible states:Note The debugger only permits one processor to execute the debugger monitor. This
SD - Switch Directories3-2073SD - Switch DirectoriesCommand InputSDDescriptionThe SD command allows you to switch from the debugger directory to the d
SET - Set Time and Date3-2083SET - Set Time and DateCommand InputSET mmddyyhhmmDescriptionThe SET command starts the RTC and sets the time and date. T
SROM - SROM Examine/Modify3-2093SROM - SROM Examine/ModifyCommand InputSROM [offset]Options:NoneDescription:The SROM command allows the user to examin
SROM - SROM Examine/Modify3-2103Examples:Example 1: To simply view the first 26 bytes of SROM contents and not change any entry:PPC1-Bug>sromDevice
SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2113SYM - Symbol Table Attach NOSYM - Symbol Table DetachCommand InputSYM [ADDR]NOSYMDescrip
Start-up1-101114E Initializing FALCON ROM1150 Initializing VME bridge1152 Initializing ISA bridge1154 Sending speaker beep1160 Checking abort switch s
SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2123The format of the symbol table is shown below:Upon execution of the command, the debugger
SYM - Symbol Table Attach NOSYM - Symbol Table Detach3-2133Example 4:PPC1-Bug>MD _LDCHAR+4 <Return>_ldchar+$0004 04050607 08090A0B 0C0D0E0
SYMS - Symbol Table Display/Search3-2143SYMS - Symbol Table Display/SearchCommand InputSYMS [symbol-name]|[;S]DescriptionThe SYMS command displays the
SYMS - Symbol Table Display/Search3-2153Example 4: Display the attached symbol table in ascending ASCII order.PPC1-Bug>SYMS;S <Return>_ldchar
T - Trace3-2163T - TraceCommand InputT [COUNT]DescriptionThe T command executes one instruction at a time, displaying the target state after execution
T - Trace3-2173PPC1-Bug>BR <Return>BREAKPOINTS00030014PPC1-Bug>Initialize IP and R3, R4:PPC1-Bug>RM IP <Return>IP =0000E000 ? 3
T - Trace3-2183Trace next instruction:PPC1-Bug> <Return>IP =00030008 MSR =00003030 CR =00000040 FPSCR =00000000R0 =00000000 R
T - Trace3-2193Trace the next instruction:PPC1-Bug>T <Return>At BreakpointIP =00030014 MSR =00003030 CR =00000040 FPSCR =00000000
TA - Terminal Attach3-2203TA - Terminal AttachCommand InputTA [PORT]DescriptionThe TA command assigns a serial port to be the console. The port specif
TIME - Display Time and Date3-2213TIME - Display Time and DateCommand InputTIME [;L]DescriptionThe TIME command displays the date and time to the cons
General Information1-1111194 Setting up special init section pointers and runtime variables1196 Initializing abort switch1198 Setting up board sufÞx a
TM - Transparent Mode3-2223TM - Transparent ModeCommand InputTM [PORT] [ESCAPE]DescriptionThe TM command connects the current console serial port to t
TM - Transparent Mode3-2233TM without any arguments displays the current escape character, which you must enter in order to return to the debugger.Exa
TT - Trace to Temporary Breakpoint3-2243TT - Trace to Temporary BreakpointCommand InputTT ADDRDescriptionThe TT command sets a temporary breakpoint at
TT - Trace to Temporary Breakpoint3-2253PPC1-Bug>BR <Return>BREAKPOINTS00030014PPC1-Bug>Initialize IP and R3, R4:PPC1-Bug>RM IP <Ret
TT - Trace to Temporary Breakpoint3-2263R4 =00000100 R5 =00000000 R6 =00000000 R7 =00000000R8 =00000000 R9 =00000000 R10 =0
VE - Verify S-Records Against Memory3-2273VE - Verify S-Records Against MemoryCommand InputVE [PORT] [ADDR] [;[X] [C]] [=text]OptionsDescriptionThe VE
VE - Verify S-Records Against Memory3-2283and should begin immediately following the equals sign, and terminate with the carriage return. If the host
VE - Verify S-Records Against Memory3-2293ExampleFor the example, assume that the program has been compiled and linked to start at address 65040000.
VE - Verify S-Records Against Memory3-2303This file is downloaded into memory at address $40000. The program may be examined in memory using the MD co
VER - Revision/Version Display3-2313VER - Revision/Version DisplayCommand InputVER [;E]DescriptionThe VER command displays the various revisions and v
Preface The PPCBug Firmware Package UserÕs Manual provides information on the PPCBug Þrmware, the start-up and boot routines, the debugger commands
Running the Diagnostics and Debugger1-121Running the Diagnostics and DebuggerIn order to use the diagnostics, terminate the start-up process by pressi
VER - Revision/Version Display3-2323PCI Function 00/0B/2 (00005A00) ID/Revision...=30381106/02PCI Function 00/0B/3 (00005B00) ID/Revision...
VER - Revision/Version Display3-2333PCI Function 00/0B/0 (0005800) ID/Revision...=05861106/33Class:Bridge Device Subclass: PCI/ISA BridgeBase+$
VER - Revision/Version Display3-2343PCI Function 00/14/0 (0000A000) ID/Revision...=00261011/01Class: Bridge Device Subclass:PCI/PCI BridgeBase+
WL - Write Loop3-2353WL - Write LoopCommand InputWL ADDR:DATA[;B|H|W]OptionsDescriptionThe WL command establishes an infinite loop consisting of a pro
PPCBugFirmware PackageUser’s ManualPart 2 of 2PPCBUGA2/UM4
NoticeWhile reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omission
PrefaceThe PPCBug Firmware Package UserÕs Manual provides information on the PPCBug Þrmware, the start-up and boot routines, the debugger commands, th
ConventionsThe following conventions are used in this document:boldis used for user input that you type just as it appears. Bold is also used forcomma
Safety SummarySafety Depends On YouThe following general safety precautions must be observed during all phases of operation, service, andrepair of thi
General Information1-131Auto BootNote The PowerPlus architecture boards do not execute a configured boot routine.Auto Boot is the default boot routine
The computer programs stored in the Read Only Memory of this device contain material copyrighted by Motorola Inc., 1995, 1996, and 1997, and may be us
44-14One-Line Assembler/DisassemblerIntroductionThe PPCBug one-line assembler is an interactive assembler/editor in which the source program is not sa
Comparison with the Standard Assembler4-24Machine-Instruction Operation CodesRefer to PowerPC 603 RISC Microprocessor UserÕs Manual, PowerPC 604 RISC
One-Line Assembler/ Disassembler4-34❏ No conditional assembly is used.❏ Several symbols recognized by the resident assembler are not included in the P
Source Program Coding4-44Operation FieldBecause there is no label field, the operation field may begin in the first available column. It may also foll
One-Line Assembler/ Disassembler4-54Mnemonics and DelimitersThe assembler recognizes all PowerPC instruction mnemonics. Numbers are recognized as bina
Source Program Coding4-64InstructionsThe following is a list of the instruction fields and their default number bases:CRBA DecimalCRBB DecimalBD Signe
One-Line Assembler/ Disassembler4-74The assembly/disassembly format of the instruction mnemonics and operands follow the syntax specified in the Power
Source Program Coding4-84Addressing ModesEffective address modes, combined with operation codes, define the particular function to be performed by a g
One-Line Assembler/ Disassembler4-94The order of evaluation is strictly left to right with no precedence granted to some operators over others. The on
ROMboot1-141ROMbootNote The PowerPlus architecture boards do not execute a configured boot routine.ROMboot is a mechanism for booting an operating sys
Source Program Coding4-104An ASCII string which contains spaces may not be used as an argument to the WORD directive, even if the string is enclosed i
One-Line Assembler/ Disassembler4-114Refer to Chapter 5, System Calls, for information on the system call routines.Entering and Modifying Source Progr
Entering and Modifying Source Programs4-124(always hexadecimal) is returned. Because the disassembler gives precedence to instructions, a word of data
One-Line Assembler/ Disassembler4-134Entering Branch OperandsIn the case of forward branches, the absolute address of the destination may not be known
Entering and Modifying Source Programs4-144Assembler Error MessagesThe following is a list of the assembler error messages:An Operand has a Length of
55-15System CallsIntroductionThis chapter describes the PPCBug System Call handler, which allows system calls from user programs. The system calls can
System Call Routines5-25String Formats for I/OWithin the context of the System Call handler there are two formats for strings:A line is defined as a s
System Calls5-35$0012 .DSKCFIG Disk conÞgure$0014 .DSKFMT Disk format$0015 .DSKCTRL Disk control$0018 .NETRD Read/get from host$0019 .NETWR Write/send
System Call Routines5-45 $0069 .MULU32 Multiply two 32-bit unsigned integers$006A .DIVU32 Divide two 32-bit unsigned integers$006B .CHK_SUM Generate c
System Calls5-55.DSKCFIG $0012 Disk conÞgure.DSKCTRL $0015 Disk control.DSKFMT $0014 Disk format.DSKRD $0010 Disk read.DSKWR $0011 Disk write.ENVIRON
General Information1-151The format of the beginning of the routine is:If you want to make use of ROMboot, you do not have to fill a complete FLASH dev
System Call Routines5-65.REDIR $0060 Redirect I/O of a System Call function.REDIR_I $0061 Redirect input.REDIR_O $0062 Redirect output.RETURN $0063 Re
5.INCHR5-75System Calls.INCHR Name.INCHR - Input character routine Code $0000 Description .INCHR reads a character from the default input port. Th
.INSTAT5-85.INSTAT Name.INSTAT - Input serial port status routineCode $0001 Description.INSTAT is used to see if there are characters in the default i
.INLN5-95.INLN Name .INLN - Input line routine Code $0002 Description.INLN is used to read a line from the default input port. The buffer size should
.READSTR5-105.READSTR Name .READSTR - Read string into variable-length buffer Code $0003 Description.READSTR is used to read a string of characters fr
.READSTR5-115Note This routine allows the caller to dictate the maximum length of input to be less than 254 characters. If more characters are entered
.READLN5-125.READLN Name .READLN - Read line to Þxed-length buffer Code$0004 Description.READLN is used to read a string of characters from the defaul
.CHKBRK5-135.CHKBRK Name .CHKBRK - Check for break Code $0005 Description.CHKBRK alters R03 according to a break status being detected at the default
.DSKRD .DSKWR5-145.DSKRD .DSKWR Name.DSKRD - Disk read routine .DSKWR - Disk write routine Codes$0010 $0011 DescriptionThese routines are used to r
.DSKRD .DSKWR5-155Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number (LUN) of device
ROMboot1-161established that the routine was meant to be used for ROMboot.Under control of the ENV command, the sequence of searches is as follows: 1.
.DSKRD .DSKWR5-165Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry Status half-word of command packet is
.DSKCFIG5-175.DSKCFIG Name.DSKCFIG - disk conÞgure routine Code$0012 DescriptionThis routine allows you to change the conÞguration of the speciÞed dev
.DSKCFIG5-185Command PacketThe command packet format is as follows:Field descriptions:FEDCBA9876543210$00 Controller LUN Device LUN$02 Status Half-Wor
.DSKCFIG5-195Device Descriptor PacketThe Device Descriptor Packet is as follows:Most of the Þelds in the Device Descriptor Packet are equivalent to th
.DSKCFIG5-205The Disk Packet Parameters are shown in the following table. The parameters that do not have an exact equivalent CFGA field are indicated
.DSKCFIG5-215P_DBS* $13 1 IOSREC Record (Block) size, encoded as follows (IOSREC is a two-byte Þeld containing the actual block size):$00 128 bytes$01
.DSKCFIG5-225Configuration Area Block CFGA FieldsAttribute Mask -- IOSATM and IOSEATMThe IOSATM field bits are defined in the following table: A 1 in a
.DSKCFIG5-235Attribute Word -- IOSATW and IOSEATWIOSATW contains various flags that specify characteristics of the media and drive, which are defined
.DSKCFIG5-245Table 5-7. IOSATW Fields (CFGA)Bit NumberDescriptionBit 0 Data density: 0 = Single density (FM encoding)1 = Double density (MFM encodin
.DSKCFIG5-255Table 5-8. CFGA FieldsParameter DescriptionIOSREC Record (Block) size Number of bytes per record (block). Must be an integer multiple of
General Information1-171Do the following to prepare the ROMboot routine (includes checksum calculation):1. Assemble and link the code, leaving $00 in
.DSKCFIG5-265IOSRWCC Reduced writecurrent cylinderThe cylinder number at which the write current should be reduced when writing to the drive. This par
.DSKFMT5-275.DSKFMT Name .DSKFMT - Disk format routine Code $0014 DescriptionThis routine allows you to send a format command to the speciÞed device.
.DSKFMT5-285Entry Conditions R03: 32-bit address of command packet Memory AddressAddress of buffer in memory. On disk read, data is written starting a
.DSKFMT5-295Exit Conditions Different From Entry Status half-word of command packet is updated. R03: Bit 3 (ne) = 1; Bit 2 (eq) = 0 if errors. R03: Bi
.DSKCTRL5-305.DSKCTRL Name .DSKCTRL - Disk control routine Code $0015 DescriptionThis routine is used to implement any special device control routines
.DSKCTRL5-315Entry Conditions R03: 32-bit address of command packet Exit Conditions Different From Entry Status half-word of command packet is updated
.NETRD .NETWR5-325.NETRD .NETWR Name .NETRD - Read/get from host .NETWR - Write/put to hostCode $0018/$0019 Description This routine is used to get
.NETRD .NETWR5-335Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use S
5.NETCFIG5-345System Calls.NETCFIG Name .NETCFIG - ConÞgure network parameters Code $001A DescriptionThis routine allows you to change the conÞguratio
.NETCFIG5-355Field descriptions: The Network ConÞguration Parameters structure has the following format: Controller LUN Logical Unit Number (LUN) of c
Network Auto Boot1-1818. Verify the functionality of the user ROMboot routine with the RB command.PPC1-Bug>RB; V <Return>ROMboot about to Beg
.NETCFIG5-365$0CBoot File Execution AddressMost SigniÞcant Word$0E Least SigniÞcant Word$10Boot File Execution DelayMost SigniÞcant Word$12 Least Sign
.NETCFIG5-375Field descriptions: Node Control Memory AddressThe starting address of the necessary memory needed for the transmit and receive buffers.
.NETCFIG5-385Boot File Execution DelayThe delay, in seconds, before control is passed to the loaded Þle (program). Boot File Length The number of byte
.NETCFIG5-395) ARP reply- Unsupported RARP type{ RARP request} RARP reply^ Unsupported TFTPtype\ TFTP read request/ TFTP write request< TFTP acknow
.NETFOPN5-405.NETFOPN Name .NETFOPN - Open Þle for reading Code $001B DescriptionThis routine allows the user to open a Þle for reading. The Þrmware b
.NETFOPN5-415Field descriptions: Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status
.NETFRD5-425.NETFRD Name .NETFRD - Retrieve speciÞed Þle blocks Code $001C DescriptionThis routine allows you to retrieve the speciÞed Þle blocks. You
.NETFRD5-435Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status Wo
.NETCTRL5-445.NETCTRLName .NETCTRL - Implement special control routinesCode $001D DescriptionThis routine is used to implement any special control r
.NETCTRL5-455Field descriptions:Controller LUN Logical Unit Number (LUN) of controller to use Device LUN Logical Unit Number of device to use Status W
General Information1-191During the delay, you can gain control without Network Autoboot by pressing either the BREAK key or the software abort or rese
.NETCTRL5-465Memory Address The memory address in which the data transfer operation (types 1, 2, and 3) would take place from/to. Number of Bytes The
.OUTCHR5-475.OUTCHR Name .OUTCHR - Output character routine Code $0020 DescriptionThis routine outputs a character to the default output port. Entry C
.OUTSTR .OUTLN5-485.OUTSTR .OUTLN Names.OUTSTR - Output string to default output port .OUTLN - Output string with a <CR><LF> sequenceCo
.WRITE .WRITELN5-495.WRITE .WRITELN Names.WRITE - Output string without a <CR> or <LF>.WRITELN - Output string with a <CR><LF&
.PCRLF5-505.PCRLF Name .PCRLF - Print a <CR><LF> sequence Code $0026 Description.PCRLF sends a <CR><LF> sequence to the defaul
.ERASLN5-515.ERASLN Name .ERASLN - Erase Line Code $0027 Description.ERASLN is used to erase the line at the present cursor position. If a printer is
.WRITD .WRITDLN5-525.WRITD .WRITDLN Names.WRITD - Output string with data .WRITDLN - Output string with data and a <CR><LF> sequenceCod
.WRITD .WRITDLN5-535Notes 1. The string must be formatted such that the first byte (the byte pointed to by the passed address) contains the count (i
.SNDBRK5-545.SNDBRK Name .SNDBRK - Send break Code $0029 Description.SNDBRK is used to send a break to the default output port. Entry Conditions No ar
.DELAY5-555.DELAY Name .DELAY - Timer delay routine Code $0043 Description.DELAY is used to generate accurate timing delays that are independent of th
Restarting the System1-201AbortAbort is invoked by pressing and releasing the ABORT switch. Whenever abort is invoked while executing a user program (
.RTC_TM5-565.RTC_TM Name .RTC_TM - Time initialization for RTC Code $0050 Description.RTC_TM initializes Real-Time Clock with the time that is located
.RTC_DT5-575.RTC_DT Name .RTC_DT - Date initialization Code $0051 Description.RTC_DT initializes Real-Time Clock with the date that is located in a us
.RTC_DSP5-585.RTC_DSP Name .RTC_DSP - Display time from RTC Code $0052 Description.RTC_DSP displays the date and time on the console from the current
.RTC_RD5-595.RTC_RD Name .RTC_RD - Read the RTC registers Code $0053 Description.RTC_RD is used to read the Real-Time Clock registers. The data return
.REDIR5-605.REDIR Name .REDIR - Redirect I/O routine Code $0060 Description.REDIR is used to select an I/O port and at the same time invoke a particul
.REDIR_I .REDIR_O5-615.REDIR_I .REDIR_O Name.REDIR_I - Redirect input .REDIR_O - Redirect output Codes$0061$0062 DescriptionThe .REDIR_I and .REDIR
.RETURN5-625.RETURN Name .RETURN - Return to PPCBug Code $0063 Description.RETURN is used to return control to PPCBug from the target program in an or
.BINDEC5-635.BINDEC Name .BINDEC - Calculate the Binary Coded Decimal (BCD) equivalent of the binary number speciÞedCode $0064 Description.BINDEC take
5.CHANGEV5-645System Calls.CHANGEV Name.CHANGEV - Parse value, assign to variable Code $0067 DescriptionAttempt to parse value in user-speciÞed buffer
.STRCMP5-655.STRCMP Name.STRCMP - Compare two strings (pointer/count) Code$0068 DescriptionComparison for equality is made and Boolean ßags are return
General Information1-211BreakA break is generated by pressing and releasing the BREAK key on the current-console keyboard. Break does not generate an
.MULU325-665.MULU32 Name.MULU32 - Unsigned 32-bit x 32-bit multiply Code$0069DescriptionTwo 32-bit unsigned integers are multiplied and the product is
.DIVU325-675.DIVU32 Name.DIVU32 - Unsigned 32-bit x 32-bit divide Code$006A DescriptionUnsigned division is performed on two 32-bit integers and the q
.CHK_SUM5-685.CHK_SUM Name.CHK_SUM - Generate checksum for address range Code$006B DescriptionThis routine generates a checksum for an address rangeth
.BRD_ID5-695.BRD_ID Name.BRD_ID - Return pointer to board ID packet Code$0070 DescriptionThis routine returns a pointer in R03 to the board identiÞcat
.BRD_ID5-705Refer to Appendix G for data on supported network controllers.Board Number Half-Word containing the board number (in BCD) Board SufÞx Half
.BRD_ID5-715Entry ConditionsNoneExit Conditions Different From EntryR03: Address (word) Starting address of ID packetDevice TypeDevice00 Direct-Acce
.ENVIRON5-725.ENVIRON Name.ENVIRON - Read/write environment parameters Code$0071 DescriptionThe purpose of the TRAP is to allow a user program access
.ENVIRON5-735For operation 0R03: The number of bytes required to store the debugger information.Description Of Parameter Packets The data contained in
.ENVIRON5-7452 Disk Auto Boot Information 2 $15 Disk Auto Boot Enable Disk Auto Boot at power-up only Disk Auto Boot Controller Logical Unit Nu
.ENVIRON5-755For an explanation of each entry and deÞnition of options, refer to the ENV command.The debugger will return all parameter packets on a r
Conventions The following conventions are used in this document: bold is used for user input that you type just as it appears. Bold is also used forc
Restarting the System1-221SYSFAIL* Assertion and Negation (MVME230x, MVME260x, MVME360x, and MVME460x)On VMEbus boards, the board fail is the same as
.PFLASH Function5-765.PFLASH FunctionName.PFLASH - Program Flash memory Code$0073 DescriptionThe purpose of this TRAP is to program Flash memory under
.PFLASH Function5-775Field descriptions: Control/Status WordSpeciÞes control and status of the various phases of the Flash memory programming. This pa
.PFLASH Function5-785The next table describes the definitions of the control and status bits in the Control/Status Word field. Note: When programming
.DIAGFCN5-795.DIAGFCN Name.DIAGFCN - Diagnostic routineCode$0074 Description.DIAGFCN is a system-call-like routine, for the diagnostics. This system c
.DIAGFCN5-80502: .TESTSTAT (output test status report)This diagcfn call allows access to selftest diagnostic results. The calling function must supply
.DIAGFCN5-815The caller will then typically allocate the number of bytes of memory requested for the report, and call the TESTSTAT function again. Thi
.DIAGFCN5-825The B status indicates a test has decided not to run, due to some conÞguration limitation (an example would be when the MCECC tests repor
.DIAGFCN5-835if ( 4 < size < count ) write ‘count’ to ‘bufptr’ location in RAM return -1;if ( count <= size ) write ‘count’ to ‘bufptr’
.DIAGFCN5-845This report may return:1. Walk down through the diag directory, looking for test groups that match our list. 2. When a match is found, wa
.DIAGFCN5-855The argument pointer in the diagfcn struct points to the report buffer. This buffer is 452 bytes long, and has the structure:MEMSTAT will
General Information1-231Disk I/O SupportThe debugger can initiate disk input and output by communicating with intelligent disk controllers over the PC
.DIAGFCN5-865The caller must provide a pointer to a structure when calling this function. The structure Þrst contains an ÕintÕ (4 bytes) giving the si
.DIAGFCN5-875ExamplesExample 1: .CHKFCNPPC1-Bug>MM 10100;DI <Return>00010100 59200074 SYSCALL .DIAGFCN <Return>00010108 59200063 SYSCAL
.DIAGFCN5-885PPC1-Bug>RM R02 <Return> (pointer to DIAGFCN struct)R03 =00000000? 20000 . <Return> PPC1-Bug>MM 20008 <Return> (s
.DIAGFCN5-895PPC1-Bug>MD 20100:40 <Return> (display report)00020100 00000005 00000000 00000000 0000004E ...N00020110 72616D00 000
.DIAGFCN5-905PPC1-Bug>MM 20008 <Return> (size of buffer)00020008 00000000? AFE . <Return>PPC1-Bug>BF 20100:800 FFFFFFFF <Return&g
.SIOPEPS5-915.SIOPEPS Name.SIOPEPS - Retrieve SCSI pointers Code$0090 DescriptionThe purpose of this TRAP is to allow a user program to access the SCS
.SIOPEPS5-925script_ptr Pointer to the NCR scripts index pointer arrayscript_ptr_sz Size of the NCR scripts index pointer arrayscript_array_sz Size of
5.FORKMPU Function5-935System Calls.FORKMPU FunctionNote This is a PPC1Bug system call for MVME4600 series or Dual Processor MTX motherboards.Name.FO
.FORKMPUR Function5-945.FORKMPUR FunctionNote This is a PPC1Bug system call for MVME4600 or dual processor MTX motherboards.Name.FORKMPUR - Fork Idle
.FORKMPUR Function5-955$054 GPR21$058 GPR22$05C GPR23$060 GPR24$064 GPR25$068 GPR26$06C GPR27$070 GPR28$074 GPR29$078 GPR30$07C GPR31$080 FPR00$088 FP
Disk I/O Support1-241initiate the transfer. If the conversion from blocks to sectors yields a fractional sector count, an error is returned and no dat
.FORKMPUR Function5-965$194 SR05$198 SR06$19C SR07$1A0 SR08$1A4 SR09$1A8 SR10$1AC SR11$1B0 SR12$1B4 SR13$1B8 SR14$1BC SR15$1C0 SPR00$1C4 SPR01$1C8 SPR
.FORKMPUR Function5-975$258 SPR541$25C SPR542$260 SPR543$264 SPR936$268 SPR937$26C SPR938$270 SPR939$274 SPR940$278 SPR941$27C SPR942$280 SPR952$284 S
.FORKMPUR Function5-985Field descriptions: GPR00 to GPR31 general purpose registersFPR00 to FPR31 floating point registersSR00 to SR15 segment registe
.IDLEMPU Function5-995.IDLEMPU Function Name.IDLEMPU - Idle MPU (Multiple MPU Configuration)Code$0110 Description.IDLEMPU is used to idle the processo
.IOINQ5-1005.IOINQ Name.IOINQ - Port Inquire Code$0120 DescriptionWrites the Port Control Structure at the user-speciÞed address. The Port Control Str
.IOINQ5-1015Field descriptions:$10 Concurrent Mode$14 Modem ID$18 I/O Control Structure Pointer$1C Error Code$20 Reserved$24 Reserved$28 ReservedPort
.IOINQ5-1025Concurrent ModeNonzero Value ßags concurrent mode operation of this port. Zero ßags normal operation for this port. Modem ID Modem identiÞ
.IOINQ5-1035I/O Control StructureThe I/O Control Structure is of the form:6 No info available on CM port because CM not active 7 All legal Port Number
.IOINQ5-1045Field descriptions:ctrlbits The bits of this 32-bit wide integer are deÞned as high true ßags with the following meanings: Bit 00 odd pari
.IOINQ5-1055Note Only the asynchronous protocol is supported by PPCBug.sync1 8 bit value to be used as the sync1 character in the synchronous communic
General Information1-251IOP (Physical I/O to Disk)!CautionIf you start the IOP format procedure, it must be allowed to complete (PPC1Bug> prompt re
.IOINFORM5-1065.IOINFORM Name.IOINFORM - Port Inform Code$0124 DescriptionThis trap will inform the PPCBug about change in I/O Port operation. The PPC
.IOINFORM5-1075Port Control StructureThe Port Control Structure is of the form:31 24 23 16 15
.IOCONFIG5-1085.IOCONFIG Name.IOCONFIG - Port Configure Code$0128 DescriptionThis trap will instruct the PPCBug to access the I/O device to change por
.IODELETE5-1095.IODELETE Name.IODELETE - Port Delete Code$012C DescriptionCauses the PPCBug to delete the named I/O port from its internal port list.
.IODELETE5-110531 24 23 16 15 8 70$00 Port Number$04 Board Name Pointe
.SYMBOLTA5-1115.SYMBOLTA Name.SYMBOLTA - Attach Symbol Table Code$0130 DescriptionThis routine attaches a symbol table to the debugger. Once a symbol
.SYMBOLTA5-1125Field descriptions: Entry ConditionsR03: Address (word) Starting address of symbol table Exit Conditions Different From EntryR03:
.SYMBOLTD5-1135.SYMBOLTD Name.SYMBOLTD - Detach Symbol Table Code$0131 DescriptionThis routine detaches a symbol table from the debugger. This command
AA-1ARelated DocumentationMotorola Computer Group DocumentsThe publications listed below are on related products, and some may be referenced in this d
Disk I/O Support1-261Disk I/O via Debugger System CallsAll operations that actually access the disk are done directly or indirectly by debugger system
Related DocumentationA-2ATable A-1. Motorola Computer Group Documents Document TitlePublicationNumber MCP750 CompactPCI Single Board Computer Install
Microprocessor and Controller DocumentsA-3AMicroprocessor and Controller DocumentsFor additional information, refer to the following table for manufac
Related DocumentationA-4AMPC750TM RISC Microprocessor UserÕs Manual Motorola Literature Distribution Center Telephone: (800) 441-2447 or (303)
Microprocessor and Controller DocumentsA-5AMPC2604GA Integrated Secondary Cache for PowerPC Microprocessors Data Sheets Literature Distribution C
Related DocumentationA-6APC87303VUL (Super I/OTM Sidewinder Lite) Floppy Disk Controller, Keyboard Controller, Real-Time Clock, Dual UARTs, IEEE 1284
Microprocessor and Controller DocumentsA-7AMK48T559 Address/Data Multiplexer 8K x 8 TIMEKEEPERTM SRAM Data Sheet SGS-Thomson Microelectronics Grou
Related DocumentationA-8ADigital Semiconductor 21154PCI-to-PCI Bridge Data Sheet Digital Equipment Corporation Maynard, MA Telephone (Uni
Related SpecificationsA-9ARelated SpecificationsFor additional information, refer to the following table for related specifications. As an additional h
Related DocumentationA-10AVME64 SpeciÞcation VITA (VMEbus International Trade Association) 7825 E. Gelding Drive, Suite 104 Scottsdale, Ar
Related SpecificationsA-11ABidirectional Parallel Port Interface SpeciÞcation Institute of Electrical and Electronics Engineers, Inc. Publicat
General Information1-271The packets which a controller module expects to receive vary from controller to controller. The disk driver module for the pa
Related DocumentationA-12AInformation Technology - Local and Metropolitan Networks - Part 3: Carrier Sense Multiple Access with Collision Detection (C
BB-1BSystem MenuIntroductionEnter the MENU command at either the PPC1-Bug> or PPC1-Diag> prompt to display the System Menu, which is shown below
Menu ItemsB-2B*Enter Alternate Boot Device:Controller: Drive : File :". The devices supported by the PPCBug are listed in Appendix E. Af
System MenuB-3Babout the Tape Dump Utility that created the tape, certain hardware specific information, and, an array of Tape Dump File Map Entries.
Menu ItemsB-4BThe first member of the Tape Dump File Map Entry structure is File Number (fileno). The normal range of values for fileno is from 1 to M
System MenuB-5B1) Continue System Start Up2) Select Alternate Boot Device3) Go to System Debugger4) Initiate Service Call5) Display System Test Errors
Using the Service Call FunctionB-6BWhen an option is selected, the system asks: Do you want to change the baud rate from 1200 (Y/N)? If you answer Y (
System MenuB-7BEnter the number, including area code if required. Do not use any separators except for a comma (,) or equal sign (=) if required to se
Using the Service Call FunctionB-8BEither the console or the remote console may terminate the concurrent mode at any time by typing CTRL-a. The phone
System MenuB-9BTo exit the conversation mode as well as to terminate the concurrent mode and hang up the modem, type Ctrl-a.The system then redisplays
Network I/O Support1-281Network I/O Support The network autoboot firmware provides the capability to boot the CPU through the ROM debugger using a ne
Using the Service Call FunctionB-10BWhen manual modem control is attempted, the user terminal is in effect connected directly to the modem for control
System MenuB-11BTerminal ConnectionEnter Terminal mode by selecting Terminal as the modem type.Operation with the terminal mode is similar to system m
CC-1CPPCBug MessagesIntroductionThis section lists the PPCBug messages.Refer to the PPC1Bug Diagnostics UserÕs Manual for error messages displayed whi
Other MessagesC-2COther Messages*** Invalid LUN ***Invalid controller and device selected in IOP or IOT commands *** Invalid Range ***Invalid range en
PPCBug MessagesC-3CConcurrent Mode ActiveThe speciÞed port echoes the system console terminal after CM command Data = $nnnn is truncated data cut to Þ
Other MessagesC-4C-not found-String not found in BS commandOK to proceed (y/n)?Interlock prompt before writing macros in the MAW command or before con
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
S-Record TypesD-2DEach record may be terminated with a carriage return, line feed, or null. Additionally, an s-record may have an initial field to acc
S-Record FormatD-3DAn S-record-format module may contain S-records of the following types:Note The upper bytes are assumed to be zero in addresses tha
General Information1-291Figure 1-1. Network Boot Modules1273 9401Bootstrap Protocol(BOOTP)RFC 951Boot Control Module(Two phases)Trivial File Transfer
Creating S-RecordsD-4DOnly one termination record is used for each block of S-records. S7 and S8 records are usually used only when control is to be p
S-Record FormatD-5DThe S0 record is explained as follows:The first S2 record is explained as follows:S0 S-record type S0, indicating that it is a head
ExampleD-6DThe second S2 record is explained as follows:The S8 record is explained as follows:00040018 65040000 ORIS R4,R8,$00004001C 65040024 ORIS R
S-Record FormatD-7DEach printable character in an S-record is encoded in a hexadecimal representation of the binary bits which are actually transmitte
EE-1EDisk and Tape ControllersDisk and Tape SupportPPCBug supports the disk and tape controller devices listed in Table E-1. The controller addresses
Floppy Drive Configuration ParametersE-2EFloppy Drive Configuration ParametersThe following table lists the parameters used for configuring floppy disk
Disk and Tape ControllersE-3ENote 1.All numerical parameters are in hexadecimal unless otherwise noted.2. PS2 is the default format for PPCBug.3. The
FF-1FDisk Status CodesIntroductionThe status word returned by the disk system call routine flags an error condition if it is nonzero. The most signifi
Network I/O Support1-301RARP and ARP ModulesThe Reverse Address Resolution Protocol (RARP) basically consists of an identity-less node that broadcasts
IntroductionF-2FATA (Hard Disks/CD-ROM Drives)The ATA command is the byte that identifies the command creating the error condition reported in the err
Disk Status CodesF-3FController-Independent Status CodesThe definitions for the controller-independent errors are defined in Table F-1, shown below.SC
SCSI Firmware Status CodesF-4FIf the SCSI Bus Status byte returned by the firmware is non-zero, this byte is returned as the Controller-Dependent code
Disk Status CodesF-5F$09 Clock faster than 75 MHz$0A Bad Clock parameter - ASCII clock value Zero or Non-ASCII $0B Queue depth too large (> 255)$0C
ATA/ATAPI Firmware Status CodesF-6FATA/ATAPI Firmware Status CodesNote The marketing terms IDE and EIDE are often used when describing the ATA and ATA
Disk Status CodesF-7FTable F-3. ATA/ATAPI Controller-Dependent ErrorsCode Description$00 Good Status$01 Error Register contents valid$02 Index error
GG-1GNetwork Controller DevicesPPCBug supports the DEC21040 and DEC21140 devices for Ethernet network control.The default address is $80804000. Use CL
HH-1HNetwork CommunicationStatus CodesThere are two types of network communication status codes, controller independent and controller (DEC21040 orDEC
General Information1-311Network I/O Error CodesPPCBug returns an error code if an attempted network operation is unsuccessful. Refer to Appendix H for
Network Communication Status CodesH-2H$07 NVRAM write failure$08 Illegal IPL load address$09 User abort, break key depressed$0A Time-out expired$81 TF
Network Communication Status CodesH-3H$19 Transmitter timeout on PHY$20 Receiver CRC error$21 Receiver overßow error$22 Receiver framing error$23 Rece
GL-1GlossaryAbbreviations, Acronyms, and Terms to KnowThis glossary defines some of the abbreviations, acronyms, and key terms used in this document.1
GlossaryGL-2GLOSSARYASIC Application-Specific Integrated CircuitAUI Attachment Unit InterfaceBBRAM Battery Backed-up Random Access Memorybi-endian Hav
GlossaryGL-3GLOSSARYinstructions that the CPU is most likely to use over and over again and avoids accessing the slower hard or floppy disk drive.CAS
GlossaryGL-4GLOSSARYCPU Central Processing Unit. The master computer unit in a system.DCE Data Circuit-terminating Equipment.DLL Dynamic Link Library.
GlossaryGL-5GLOSSARYEPROM Erasable Programmable Read-Only Memory. A memory storage device that can be written once (per erasure cycle) and read many t
GlossaryGL-6GLOSSARYhardware A computing system is normally spoken of as having two major components: hardware and software. Hardware is the term used
GlossaryGL-7GLOSSARYISDN Integrated Services Digital Network. A standard for digitally transmitting video, audio, and electronic data over public phon
Safety SummarySafety Depends On You The following general safety precautions must be observed during all phases of operation, service, andrepair of t
Multiprocessor Support (Remote Start)1-321Code P is used only by the MVME260x, MVME360x, MVME460x, and MVME230x boards. You can only program FLASH mem
GlossaryGL-8GLOSSARYMTBF Mean Time Between Failures. A statistical term relating to reliability as expressed in power on hours (poh). It was originall
GlossaryGL-9GLOSSARYPCI (local bus) Peripheral Component Interconnect (local bus) (Intel). A high-performance, 32-bit internal interconnect bus used f
GlossaryGL-10GLOSSARYunified (instruction and data) cache. It provides a 64-bit data bus and a separate 32-bit address bus. PowerPC 601 is used by Mot
GlossaryGL-11GLOSSARYRaven The PowerPC-to-PCI local bus bridge chip developed by Motorola for the PowerPlus architecture (8+ boards). It provides the
GlossaryGL-12GLOSSARYSMP Symmetric MultiProcessing. A computer architecture in which tasks are distributed among two or more local processors.SMT Surf
GlossaryGL-13GLOSSARYUV UltraVioletUVGA Ultra Video Graphics Array. An improved VGA monitor standard that provides at least 256 simultaneous colors an
GlossaryGL-14GLOSSARYWindows NT™ The trademark representing Windows New Technology, a computer operating system developed by the Microsoft Corporation
IN-1IndexSymbols.BINDEC routine 5-63.BRD_ID routine 5-69, B-3.CHANGEV routine 5-64.CHK_SUM routine 5-68.CHKBRK routine 5-13.DELAY routine 5-55.DIAGFCN
IndexIN-2INDEXAddress Resolution Protocol (ARP) 1-30address sizes 1-33alternate boot device B-1arguments 2-2ADDR 2-4EXP 2-2PORT 2-6ARP 1-30AS command
IN-3INDEXchecksumCS command 3-33generate 5-68clockreal-time 5-58clock speed calculation 1-22clock, real-time 5-57CLUN 1-24, 3-87, 3-90, 3-101, 3-146,
General Information1-331If no terminal is connected to the port, the MPCR is still polled to see whether an external processor requires control to be
IndexIN-4INDEXdefault output port 5-1define macros 3-114delay timer 5-55delete I/O port 5-109delete macros 3-114detachport 3-168, 3-178symbol table 3-
IN-5INDEXerase line 5-51error codesdisk I/O 1-27disk system calls F-1network I/O 1-31network system calls H-1SCSI F-1error correction code (ECC) 3-103
IndexIN-6INDEXHhalf-word 1-33hardcopy mode 2-7, 3-130, 5-51, 5-104HE command 3-82help 3-82hostread/write 5-32II/Odisk 1-23network 1-28I/O controldisk
IN-7INDEXLO command 2-8, 3-108load control program 3-140load FLASH memory 3-184load macros 3-120load operating system 3-140load S-records 3-108, 3-109
IndexIN-8INDEXNBO command 3-138, 3-142negate SYSFAIL* 1-22network auto boot 1-18, 3-138network boot control module 1-30Network Boot Operating System 3
IN-9INDEXpointer/count format 5-2pointer/pointer format 5-2portassign 3-178, 3-181attach printer 3-168change 5-106configure 3-178, 3-180, 5-108connect
IndexIN-10INDEXRTC 5-58, 5-59RTC chipstart 3-208stop 3-187RTC power save mode 3-187RTC time initialization 5-56RUN command 3-205Ssave macros 3-122SC i
IN-11INDEXstringoutput 5-48, 5-49string formats 5-2string with dataoutput 5-52stringscompare 5-65switch directories 3-207SYM command 3-211symbol base
IndexIN-12INDEXWwarm reset 3-197WL command 3-235word 1-33WORD directive 4-2, 4-9writeblocks (IOP command) 1-25data 3-136data loop 3-235disk 3-93, 5-14
Byte Ordering1-341Byte OrderingThe MPU on the PowerPC board is programmed to big-endian byte ordering. Any attempt to use little-endian byte ordering
22-12Using the DebuggerEntering CommandsThe debugger is command-driven and performs its various operations in response to commands that you enter at t
Entering Commands2-22❏ Any required options. Precede an option or a string of options with a semi-colon (;). If no option is selected, the default opt
Using the Debugger2-32Numeric values may be expressed in either hexadecimal, decimal, octal, or binary by immediately preceding them with the proper b
Entering Commands2-42Valid expression examples:The total value of the expression must be between 0 and $FFFFFFFF.ADDRThe syntax for the ADDR argument
Using the Debugger2-52Once a qualifier has been entered, it remains valid for all addresses entered for that command sequence, until either the debugg
Entering Commands2-62PORTThe PORT argument is the logical number of the port to be used to input or output. Valid port numbers which may be used for t
Using the Debugger2-72Control CharactersSome commands, such as CNFG, MM, or RM, allow you to edit parameter fields or the contents of registers or mem
The computer programs stored in the Read Only Memory of this device contain material copyrighted by Motorola Inc., 1995, 1996, and 1997, and may be u
Entering and Debugging Programs2-82The XON and XOFF characters in effect for the terminal port may be entered to control the output from any debugger
Using the Debugger2-92The System Call handler is accessible through the SC (system call) instruction, with exception vector $00C00 (System Call Except
Preserving the Operating Environment2-102Whenever the host hardware is reset, the target IP is initialized to $00004000 (i.e., just above the memory s
Using the Debugger2-112MPU Register SPR275MPU register SPR275 is reserved for usage by the debugger. If SPR275 is to be used by the user program, it m
Context Switching2-122When the context switch transitions from the debugger state to the user state, the following MPU registers are restored: PPC
Using the Debugger2-132Note that on a restoration context switch, registers whose perspectives feature MMU characteristics and operating modes of the
Floating Point Support2-142❏ The sign field, the exponent field, and at least the first digit of the mantissa field must be present (any unspecified d
Using the Debugger2-152Scientific NotationThe scientific notation format provides a convenient way to enter and display a floating point decimal number
33-13Debugger CommandsIntroductionThis chapter contains descriptions of each debugger command, with one or more examples of each. The debugger command
vii Contents CHAPTER 1 General Information PPCBug Overview ...
Debugger Commands3-23FORK Fork Idle MPU at Address (NOTE 2)FORKWR Fork Idle MPU with Registers (NOTE 2)GD Go Direct (Ignore Breakpoints)GEVBOOT Global
Debugger Commands3-33Notes1. This command was added at revision 1.8 of PPCBug, dated 10/05/95.2. This command was added at Revision 3.1 of PPCBug, dat
3AS - One-Line Assembler3-43Debugger CommandsAS - One-Line AssemblerCommand InputAS ADDRDescriptionThe AS command provides access to the one-line asse
BC - Block of Memory Compare3-53BC - Block of Memory CompareCommand InputBC RANGE ADDR [;B|H|W]OptionsDescriptionThe BC command compares the contents
BC - Block of Memory Compare3-63Example 2: Compare the memory, with nothing printed.PPC1-Bug>BC 20000:20 21000;B <Return>Effective address: 0
BF - Block of Memory Fill3-73BF - Block of Memory FillCommand InputBF RANGE data [increment] [;B|H|W]ArgumentsOptionsDescriptionThe BF command fills t
BF - Block of Memory Fill3-83If the upper address of the range is not on the correct boundary for an integer multiple of the data to be stored, then d
BF - Block of Memory Fill3-93Example 3: For this example, assume that memory from $20000 through $2002F is clear.The word pattern does not fit evenly
BI - Block of Memory Initialize3-103BI - Block of Memory InitializeCommand InputBI RANGE [;B|H|W]OptionsDescriptionThe BI initializes parity for a blo
BI - Block of Memory Initialize3-113Example 2: For this example, assume system memory from $0 to $000FFFFF.PPC1-Bug>BI 0,1FFFFF <Return>Effec
viii Physical Layer Manager Ethernet Driver...1-28UDP and IP Modules ...
BM - Block of Memory Move3-123BM - Block of Memory MoveCommand InputBM RANGE ADDR [;B|H|W]OptionsDescriptionThe BM command copies the contents of the
BM - Block of Memory Move3-133PPC1-Bug>BM 21000 2100F 20000 <Return>Effective address: 00021000Effective address: 0002100FEffective address:
BM - Block of Memory Move3-143PPC1-Bug>MD 20000 20014;DI <Return>00020000 3C401000 ADDIS R2,R0,$100000020004 60420001 ORI R2,
BR - Breakpoint Insert NOBR - Breakpoint Delete3-153BR - Breakpoint Insert NOBR - Breakpoint DeleteCommand InputBR [ADDR[:COUNT]]NOBR [ADDR]Descrip
BR - Breakpoint Insert NOBR - Breakpoint Delete3-163ExamplesExample 1: Set some breakpoints.PPC1-Bug>BR 1E000,1E200 1E700:&12 <Return>B
BS - Block of Memory Search3-173BS - Block of Memory SearchCommand InputBS RANGE TEXT [;B|H|W]orBS RANGE data [mask] [;B|H|W [,N] [,V]]ArgumentsOption
BS - Block of Memory Search3-183String SearchIn the string search mode, a search is carried out for the TEXT argument. The size option Þeld indicates
BS - Block of Memory Search3-193Data VeriÞcationIf the V (verify) option has been selected, the addresses and data are displayed only when the memory
BS - Block of Memory Search3-203Example 3: Mode 1: The string is found, but it ends outside of the range, so the address of its first byte and a messa
BS - Block of Memory Search3-213Example 8: Mode 2, using RANGE with COUNT, mask option, and size option: COUNT is displayed in decimal, and the actual
ix BC - Block of Memory Compare...3-5BF - Block of Memory Fill ...
BV - Block of Memory Verify3-223BV - Block of Memory VerifyCommand InputBV RANGE data [increment] [;B|H|W]ArgumentsOptionsDescriptionThe BV command co
BV - Block of Memory Verify3-233If the upper address of the range is not on the correct boundary for an integer multiple of the data to be verified, d
BV - Block of Memory Verify3-243Example 3: For this example, assume memory from $20000 to $2002F is as indicated. Size is half-word, mismatches are pr
CM - Concurrent Mode NOCM - No Concurrent Mode3-253CM - Concurrent Mode NOCM - No Concurrent ModeCommand InputCM [[PORT] [ID-STRING] [BAUD] [PHONE-
CM - Concurrent Mode NOCM - No Concurrent Mode3-263OptionsDescriptionThe CM command activates a mode in which everything that appears on the system
CM - Concurrent Mode NOCM - No Concurrent Mode3-273Example 2: Activate the concurrent mode.PPC1-Bug>CM <Return>Concurrent Mode Active This
CM - Concurrent Mode NOCM - No Concurrent Mode3-283This results in the following changes:Example 5: Activate the concurrent mode, with error.PPC1-Bu
CNFG - Configure Board Information Block3-293CNFG - Configure Board Information BlockCommand InputCNFG [;[I] [M]]OptionsDescriptionThe CNFG command dis
CNFG - Configure Board Information Block3-303Option M allows you to modify the board information block. When invoked, this command prompts for entry i
CNFG - Configure Board Information Block3-313needs to be done if the firmware complains that there is a mismatch in values. To correct it, invoke CNFG
Commentaires sur ces manuels