📄 bbu_help.s
字号:
DCB " is no mapping for the virtual addressed that was entered.",0xD,0xA,0xA
DCB " VTPA address",0xD,0xA,0xA
DCB " address = Virtual address to be converted to a physical address.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** SELFTEST ***** PLATFORM SELFTEST
;
180 cmp r2, #18 ; Help for SELFTEST command?
bne %F190 ; Nope
ldr r0, =BBU_HELP_SELF ; Message address
b %F9000 ; Print it
BBU_HELP_SELF DCB 0xA,0xD
DCB " SELFTEST - Tests MOST of the peripherals on the platform.",0xD,0xA,0xA
DCB " SELFTEST requires user interaction and takes 3-4 minutes to run.",0xD,0xA
DCB " If the plaform passes selftest, the general health of the platform",0xD,0xA
DCB " is good. NOTE: USB interfaces are NOT tested by BBU.",0xD,0xA,0xA,0
ALIGN 4
;
; ******************
; ** **
; ** LITERAL POOL ** LOCAL DATA STORAGE
; ** **
; ******************
;
LTORG
;
; ***** FREQ ***** SET/DISPLAY BUS FREQUENCIES
;
190 cmp r2, #19 ; Help for FREQ command?
bne %F230 ; Nope
ldr r0, =BBU_HELP_FREQ ; Message address
b %F9000 ; Print it
BBU_HELP_FREQ DCB 0xA,0xD
DCB " FREQ - Set/Display bus frequencies.",0xD,0xA,0xA
DCB " FREQ displays the current bus frequencies within the processor.",0xD,0xA
DCB " If the command is supplied with a valid parameter, it may also be used",0xD,0xA
DCB " to set processor frequecies according to the table shown below. Other",0xD,0xA
DCB " frequency combinations may be set by using the ACCR and IFCS commands.",0xD,0xA,0xA
DCB " FREQ [set_freq]",0xD,0xA,0xA
DCB " set_freq = Optional parameter to set bus frequencies as follows:",0xD,0xA,0xA
DCB " COMMAND CORE HS I/O DDR MEM iSRAM DF_SCLK",0xD,0xA
DCB " ======= ======= ======= ======= ======= =======",0xD,0xA
DCB " FREQ 0 104 MHz 104 MHz 26 MHz 104 Mhz POR ",0xD,0xA
DCB " FREQ 1 104 MHz 104 MHZ 260 MHz 104 MHz 26 MHz",0xD,0xA
DCB " FREQ 2 208 MHz 104 MHz 260 MHz 208 MHz 26 MHz",0xD,0xA
DCB " FREQ 3 312 MHz 104 MHz 260 MHz 312 MHz 26 MHz",0xD,0xA
DCB " FREQ 4 416 MHz 104 MHz 260 MHz 312 MHz 26 MHz",0xD,0xA
DCB " FREQ 5 624 MHz 156 MHz 260 MHz 312 MHz 26 MHz",0xD,0xA
DCB " FREQ 6 806 MHz 156 MHz 260 MHz 312 MHz 52 MHz",0xD,0xA,0xA
DCB " POR = Power On Reset value.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** SMTD ***** SET MEMORY TEST DEFAULTS
;
230 cmp r2, #23 ; Help for SMTD command?
bne %F250 ; Nope
ldr r0, =BBU_HELP_SMTD ; Message address
b %F9000 ; Print it
BBU_HELP_SMTD DCB 0xA,0xD
DCB " SMTD - Set Memory Test Defaults.",0xD,0xA,0xA
DCB " The SMTD command is used to set the memory test defaults for several memory",0xD,0xA
DCB " test subroutines - most notably the MTSP set of memory tests.",0xD,0xA,0xA
DCB " SMTD (No parameters at this time - BBU prompts the user for input)",0xD,0xA,0xA
DCB " AND mask - BBU prompts user for an AND mask. Dafault is 0xFFFF_FFFF.",0xD,0xA
DCB " OR mask - BBU prompts user for an OR mask. Default is 0x0000_0000.",0xD,0xA
DCB " loops - BBU prompts user for how many times to run each test.",0xD,0xA
DCB " start pat - User enters a stating pattern (not used on all tests)",0xD,0xA
DCB " start ena - Allows user to enable/disable default staring pattern.",0xD,0xA
DCB " burst typ - User selects burst type, interleaved or sequencial.",0xD,0xA
DCB " burst len - User enters burst length of 2, 4, 8, or 16.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** MEM_COPY ***** MEMORY COPY
;
250 cmp r2, #25 ; Help for MEM_COPY command?
bne %F270 ; Nope
ldr r0, =BBU_HELP_MCOP ; Message address
b %F9000 ; Print it
BBU_HELP_MCOP DCB 0xA,0xD
DCB " MEM_COPY - Copy data from one memory location to another.",0xD,0xA,0xA
DCB " The MEM_COPY command is used copy data from one memory (or register) area",0xD,0xA
DCB " to another area in memory.",0xD,0xA,0xA
DCB " MEM_COPY source_address, destination_address, byte_count",0xD,0xA,0xA
DCB " source_address - Starting address to copy data from.",0xD,0xA
DCB " destiation_address - Starting address where data is to be copied to.",0xD,0xA
DCB " byte_count - Number of bytes to be copied.",0xD,0xA,0xA
DCB " Byte_count should be in doubleword increments. BBU clears bits 0:1 of this",0xD,0xA
DCB " entry before starting the copy.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** IRDA ***** IRDA PORT ENABLE/DISABLE
;
270 cmp r2, #27 ; Help for MEM_COPY command?
bne %F280 ; Nope
ldr r0, =BBU_HELP_IRDA ; Message address
b %F9000 ; Print it
BBU_HELP_IRDA DCB 0xA,0xD
DCB " IRDA - Enable/Disable the IrDA port on the platform",0xD,0xA,0xA
DCB " This command switches the BBU interface between the RS232 UART connection",0xD,0xA
DCB " at J20 on the debug board and the IrDA interface on the main platform.",0xD,0xA,0xA
DCB " IRDA config",0xD,0xA,0xA
DCB " config = 0 (or no parameter) switches BBU I/O to J20 RS232 port use.",0xD,0xA
DCB " config = 1 will switch BBU I/O to using the IrDA transceiver.",0xD,0xA,0xA
DCB " NOTE: Some IrDA devices are designed to work only at 115200 baud. If you",0xD,0xA
DCB " are not sure of the baud rate range of the device you are using",0xD,0xA
DCB " use the BAUD command to change the BBU baud rate to 115200 before",0xD,0xA
DCB " enableing the IrDA interface.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** HEX_LEDS ***** SEND DATA TO HEX LEDS
;
280 cmp r2, #28 ; Help for HEX_LEDS command?
bne %F290 ; Nope
ldr r0, =BBU_HELP_HLED ; Message address
b %F9000 ; Print it
BBU_HELP_HLED DCB 0xA,0xD
DCB " HEX_LEDS - Sends 16-bit data to the hex LEDs.",0xD,0xA,0xA
DCB " HEX_LEDS [/R=]data[,reg]",0xD,0xA,0xA
DCB " /R= = To specify READ the current value (data = reg 0 or 1).",0xD,0xA
DCB " data = 16 bit data (write) or register to read (with /R= option).",0xD,0xA
DCB " reg = Register number to write to (0 or 1) when writing to LEDs.",0xD,0xA,0xA,0
ALIGN 4
;
; ******************
; ** **
; ** LITERAL POOL ** LOCAL DATA STORAGE
; ** **
; ******************
;
LTORG
;
; ***** HEX_SWITCH ***** READ DATA FROM THE HEX SWITCHS
;
290 cmp r2, #29 ; Help for HEX_SWITCH command?
bne %F340 ; Nope
ldr r0, =BBU_HELP_HSWI ; Message address
b %F9000 ; Print it
BBU_HELP_HSWI DCB 0xA,0xD
DCB " HEX_SWITCH - Reads 8-bit data from the debug board hex switches",0xD,0xA,0xA
DCB " HEX_SWITCH",0xD,0xA,0xA
DCB " No parameters. entering the command will read the hex switches on the",0xD,0xA
DCB " debug board and report the value to the user.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** IMEM ***** INIT DDR MEMORY FOR USE
;
340 cmp r2, #34 ; Help for IMEM command?
bne %F360 ; Nope
ldr r0, =BBU_HELP_IMEM ; Message address
b %F9000 ; Print it
BBU_HELP_IMEM DCB 0xA,0xD
DCB " IMEM - Init DDR memory for use.",0xD,0xA,0xA
DCB " The IMEM command is used to set up the DDR SDRAM memory for use. There",0xD,0xA
DCB " is an optional parameter used to set up DDR operating conditions as",0xD,0xA
DCB " follows:",0xD,0xA,0xA
DCB " IMEM [parameter]",0xD,0xA,0xA
DCB " parameter bit 0 is set to have interrrupt driven RCOMP updates.",0xD,0xA
DCB " parameter bit 1 is set to change clock drive impedance from 40 to 25 ohms.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** CORE_VOLTS ***** DISPLAY/SET ISRAM VOLTAGE
;
360 cmp r2, #36 ; Help for CORE_VOLTS command?
bne %F370 ; Nope
ldr r0, =BBU_HELP_CORV ; Message address
b %F9000 ; Print it
BBU_HELP_CORV DCB 0xA,0xD
DCB " CORE_VOLTS - Display/Set the processor core voltage level.",0xD,0xA,0xA
DCB " CORE_VOLTS [milivolts]",0xD,0xA,0xA
DCB " milivolts = optional value that sets the core voltage to any value",0xD,0xA
DCB " between 0.725 and 1.500 volts. The value must be entered",0xD,0xA
DCB " in millivolts (725 to 1500). BBU will round this value down",0xD,0xA
DCB " to the closest 25 milivolt increment. If no value is entered",0xD,0xA
DCB " the core voltage is displayed.",0xD,0xA,0xA
DCB " NOTE: The valid range for the processor is 1.000 to 1.500 volts.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** MOUNT_MMC ***** MOUNT A MMC/SD DEVICE FOR FILE TRANSFER
;
370 cmp r2, #37 ; Help for MOUNT_MMC command?
bne %F380 ; Nope
ldr r0, =BBU_HELP_MMMC ; Message address
b %F9000 ; Print it
BBU_HELP_MMMC DCB 0xA,0xD
DCB " MOUNT_MMC - Mount a MMC/SD card for file transfer use.",0xD,0xA,0xA
DCB " This command mounts a MMC or SD card to allow file transfers to take place.",0xD,0xA
DCB " If the device is sucesully mounted, BBU will report the FAT type (FAT12/",0xD,0xA
DCB " FAT16/FAT32) and the total number of bytes available on the device.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** I_CODEC ***** INIT THE DA9034 AUDIO CODEC FOR USE
;
380 cmp r2, #38 ; Help for I_CODEC command?
bne %F390 ; Nope
ldr r0, =BBU_HELP_CODE ; Message address
b %F9000 ; Print it
BBU_HELP_CODE DCB 0xA,0xD
DCB " I_CODEC - Initializes the audio codec for use.",0xD,0xA,0xA
DCB " I_CODEC [/P]",0xD,0xA,0xA
DCB " This commands sets up the clocks for the HIFI input (I2S bus) to the audio",0xD,0xA
DCB " codec and generally prepares the codec for use. See the TONE and SPKR commands",0xD,0xA
DCB " to generate tones that may be played through the platform's speaker.",0xD,0xA,0xA
DCB " If the /P option is specified, the voice input (PCM bus) is initalized in",0xD,0xA
DCB " place of the HIFI input.",0xD,0xA,0xA,0
ALIGN 4
;
; ******************
; ** **
; ** LITERAL POOL ** LOCAL DATA STORAGE
; ** **
; ******************
;
LTORG
;
; ***** TONE ***** SEND TONE(S) TO THE AUDIO CODEC
;
390 cmp r2, #39 ; Help for TONE command?
bne %F400 ; Nope
ldr r0, =BBU_HELP_TONE ; Message address
b %F9000 ; Print it
BBU_HELP_TONE DCB 0xA,0xD
DCB " TONE - Sends digital tone data to the audio codec.",0xD,0xA,0xA
DCB " TONE [/x=z],[/y=z]",0xD,0xA,0xA
DCB " Where /x may be any of the following options:",0xD,0xA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -